Bases: elixir.entity.Entity
The Address to be given to a Party (a Person or an Organization)
Fields :
- city : refers to City
- street1 : VARCHAR(128), required
- street2 : VARCHAR(128), not required
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.admin.entity_admin.EntityAdmin
Admin with only the Address information and not the Party information
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.model.authentication.GeographicBoundary
Fields :
- country : refers to Country
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Fields :
- party_contact_mechanisms : refers to PartyContactMechanism
- mechanism : VARCHAR(256), required
- party_address : refers to PartyAddress
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.model.authentication.GeographicBoundary
Fields :
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.model.authentication.PartyRelationship
Relation from a directed organization to a director
Bases: camelot.model.authentication.Admin
Bases: camelot.model.authentication.Admin
Bases: camelot.model.authentication.Admin
Bases: camelot.model.authentication.PartyRelationship
Relation from employer to employee
Bases: camelot.model.authentication.Admin
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
The base class for Country and City
Bases: camelot.model.authentication.Party
Fields :
- name : VARCHAR(50), required
- employees : refers to EmployerEmployee
- shareholders : refers to SharedShareholder
- directors : refers to DirectedDirector
- customers : refers to SupplierCustomer
- tax_id : VARCHAR(20), not required
- logo : VARCHAR(100), not required
- suppliers : refers to SupplierCustomer
Bases: camelot.model.authentication.Admin
Bases: elixir.entity.Entity
Base class for persons and organizations. Use this base class to refer to either persons or organisations in building authentication systems, contact management or CRM
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Function to be used to do messaging
Parameters: | virtual_address_type – a virtual address type, such as ‘phone’ or ‘email’ |
---|---|
Returns: | a generator that yields strings of contact mechanisms, egg 'info@example.com‘ |
Bases: elixir.entity.Entity
alias of PartyContactMechanismAdmin
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.model.authentication.PartyContactMechanismAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.model.authentication.Party
Person represents natural persons
Fields :
- comment : TEXT, not required
- picture : VARCHAR(100), not required
- last_name : VARCHAR(40), required
- suffix : VARCHAR(3), not required
- first_name : VARCHAR(40), required
- sex : VARCHAR(1), not required
- is_staff : <class ‘sqlalchemy.types.Boolean’>, not required
- social_security_number : VARCHAR(12), not required
- employers : refers to EmployerEmployee
- middle_name : VARCHAR(40), not required
- passport_number : VARCHAR(20), not required
- birthdate : DATE, not required
- is_superuser : <class ‘sqlalchemy.types.Boolean’>, not required
- passport_expiry_date : DATE, not required
- personal_title : VARCHAR(10), not required
- martial_status : VARCHAR(1), not required
Bases: camelot.model.authentication.Admin
Bases: elixir.entity.Entity
Relation from a representing party to the person representing the party
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.model.authentication.PartyRelationship
Relation from a shared organization to a shareholder
Bases: camelot.model.authentication.Admin
Bases: camelot.model.authentication.Admin
Bases: camelot.model.authentication.Admin
Bases: camelot.model.authentication.PartyRelationship
Relation from supplier to customer
Bases: camelot.model.authentication.Admin
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.model.authentication.AuthenticationMechanism
Bases: camelot.admin.entity_admin.EntityAdmin
Most applications need to perform some scheduled jobs to process information. Users need to be able to monitor the functioning of those scheduled jobs.
These classes provide the means to store the result of batch jobs to enable the user to review or plan them.
Bases: elixir.entity.Entity
Information the batch job that is planned, running or has run
Fields :
- status : INTEGER, required
- host : VARCHAR(256), required
- date : <class ‘sqlalchemy.types.DateTime’>, required
- message : TEXT, not required
- type : refers to BatchJobType
Bases: camelot.admin.entity_admin.EntityAdmin
If an exception occurs in a batch job, this method can be used to add the stack trace of the exception to the message
Parameters: | strings – a list or generator of strings |
---|
Verifies if this Batch Job is canceled. Returns True if it is. This verification is done without using the ORM, so the verification has no impact on the current session or the objects itself. This method is thus suited to call inside a running batch job to verifiy if another user has canceled the running job.
Returns: | True or False |
---|
Bases: elixir.entity.Entity
Fields :
- name : VARCHAR(256), required
- parent : refers to BatchJobType
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Keep track of static data loaded into the database
Find a registered fixture, return None if no fixture is found
Find the fixture key for an object of type entity with primary key :return: fixture_key
Find the fixture key and class of an object @param obj: the object we are looking for @return: (fixture_key, fixture_class) if the object is a registered fixture, (None, None) otherwise
Load all fixture keys of a certain entity in batch :param entity: the model class for which the fixtures should be found :return: a dictionary mapping the primary key of a on object of type entity to its (fixture key, fixture class)
Remove a fixture from the database
Bases: elixir.entity.Entity
Keep track of the version the fixtures have in the current database, the subversion revision number is a good candidate to be used as a fixture version.
Returns: | an integer representing the current version, 0 if no version found |
---|
Get the current version of the fixtures in the database for a certain fixture class.
Parameters: | fixture_class – the fixture class for which to get the version |
---|
Set the current version of the fixtures in the database for a certain fixture class.
Parameters: |
|
---|
Bases: camelot.admin.action.base.Action
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Translate source to language, return None if no translation is found
Translate source to language, if no translation is found, register the source as to be translated and return the source
Bases: camelot.model.memento.Memento
The state of the object before it is deleted
Bases: camelot.model.memento.Admin
Bases: camelot.model.memento.Memento
The state of the object before an update took place
Bases: camelot.model.memento.Admin
Bases: camelot.model.memento.Memento
Marks the creation of an object
Bases: camelot.model.memento.Admin
Bases: elixir.entity.Entity
Keeps information on the previous state of objects, to keep track of changes and enable restore to that previous state
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Most users have the need to do some basic task tracking across various parts of the data model.
These classes provide basic task tracking with configurable statuses, categories and roles. They are presented to the user as “Todo’s”
Bases: elixir.entity.Entity, camelot.model.type_and_status.Type3StatusMixin
Fields :
- status : refers to Task_status
- due_date : <class ‘sqlalchemy.types.Date’>, not required
- description : VARCHAR(255), required
- described_by : refers to TaskType
- creation_date : <class ‘sqlalchemy.types.Date’>, required
- categories : refers to PartyCategory
- documents : refers to TaskDocument
- roles : refers to TaskRole
- notes : refers to TaskNote
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: camelot.model.type_and_status.Admin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Bases: elixir.entity.Entity
Bases: camelot.admin.entity_admin.EntityAdmin
Created on Sep 25, 2009
@author: Erik De Rijcke
Create a class that can be subclassed to provide a class that has a type 3 status with methods to manipulate and review its status :param status_attribute: the name of the type 3 status attribute
Creates a new type related to the given entity. .. typeable_entity:: A string referring to an entity.
Parameters: | cls_name – an Entity class name |
---|---|
Returns: | the status class used for this entity |
Parameters: | cls_name – an Entity class name |
---|---|
Returns: | the status type class used for this entity |
Creates a new type 3 status related to the given entity :statusable_entity: A string referring to an entity. :enumeration: if this parameter is used, no status type Entity is created, but the status type is described by the enumeration.