apis_core.apis_entities.models#
Module Contents#
Classes#
Abstract super class which encapsulates common logic between the different entity kinds and provides various methods relating to either all or one specific entity kind. |
Data#
API#
- apis_core.apis_entities.models.NEXT_PREV = 'getattr(...)'#
- apis_core.apis_entities.models.logger = 'getLogger(...)'#
- class apis_core.apis_entities.models.AbstractEntityModelBase#
Bases:
django.db.models.base.ModelBase- __new__(name, bases, attrs)#
- class apis_core.apis_entities.models.AbstractEntity(*args, **kwargs)#
Bases:
apis_core.apis_metainfo.models.RootObjectAbstract super class which encapsulates common logic between the different entity kinds and provides various methods relating to either all or one specific entity kind.
Most of the class methods are designed to be used in the subclass as they are considering contexts which depend on the subclass entity type. So they are to be understood in that dynamic context.
Initialization
- get_prev_id()#
- get_next_id()#
- import_data(data)#
- get_default_uri()#
- classmethod get_facet_label()#
- classmethod get_facets(queryset)#