doc/book/en/development/datamodel/baseschema.rst
branchtls-sprint
changeset 1714 a721966779be
child 2172 cf8f9180e63e
equal deleted inserted replaced
1499:fd8751c3f3ee 1714:a721966779be
       
     1 
       
     2 Pre-defined schemas in the library
       
     3 ----------------------------------
       
     4 
       
     5 The library defines a set of entity schemas that are required by the system
       
     6 or commonly used in `CubicWeb` applications.
       
     7 
       
     8 
       
     9 Entity types used to store the schema
       
    10 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
    11 * `CWEType`, entity type
       
    12 * `CWRType`, relation type
       
    13 * `CWRelation`, relation definition
       
    14 * `CWAttribute`, attribute relation definition
       
    15 * `CWConstraint`,  `CWConstraintType`, `RQLExpression`
       
    16 
       
    17 Entity types used to manage users and permissions
       
    18 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
    19 * `CWUser`, system users
       
    20 * `CWGroup`, users groups
       
    21 * `CWPermission`, used to configure the security of the application
       
    22 
       
    23 Entity types used to manage workflows
       
    24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       
    25 * `State`, workflow state
       
    26 * `Transition`, workflow transition
       
    27 * `TrInfo`, record of a transition trafic for an entity 
       
    28 
       
    29 Other entity types
       
    30 ~~~~~~~~~~~~~~~~~~
       
    31 * `CWCache`
       
    32 * `CWProperty`, used to configure the application
       
    33 
       
    34 * `EmailAddress`, email address, used by the system to send notifications
       
    35   to the users and also used by others optionnals schemas
       
    36 
       
    37 * `Bookmark`, an entity type used to allow a user to customize his links within
       
    38   the application