69 'by_transition', |
69 'by_transition', |
70 )) |
70 )) |
71 SYSTEM_RTYPES = set(('in_group', 'require_group', |
71 SYSTEM_RTYPES = set(('in_group', 'require_group', |
72 # cwproperty |
72 # cwproperty |
73 'for_user', |
73 'for_user', |
74 'cw_schema', 'cw_import_of', 'cw_for_source', |
74 'cw_import_of', |
75 'cw_host_config_of', |
75 'cw_host_config_of', |
76 )) | WORKFLOW_RTYPES |
76 )) | WORKFLOW_RTYPES |
77 NO_I18NCONTEXT = META_RTYPES | WORKFLOW_RTYPES |
77 NO_I18NCONTEXT = META_RTYPES | WORKFLOW_RTYPES |
78 |
78 |
79 SKIP_COMPOSITE_RELS = [('cw_source', 'subject')] |
79 SKIP_COMPOSITE_RELS = [('cw_source', 'subject')] |
94 WORKFLOW_TYPES = set(('Transition', 'State', 'TrInfo', 'Workflow', |
94 WORKFLOW_TYPES = set(('Transition', 'State', 'TrInfo', 'Workflow', |
95 'WorkflowTransition', 'BaseTransition', |
95 'WorkflowTransition', 'BaseTransition', |
96 'SubWorkflowExitPoint')) |
96 'SubWorkflowExitPoint')) |
97 |
97 |
98 INTERNAL_TYPES = set(('CWProperty', 'CWCache', 'ExternalUri', 'CWDataImport', |
98 INTERNAL_TYPES = set(('CWProperty', 'CWCache', 'ExternalUri', 'CWDataImport', |
99 'CWSource', 'CWSourceHostConfig', 'CWSourceSchemaConfig', |
99 'CWSource', 'CWSourceHostConfig', 'CWSession')) |
100 'CWSession')) |
|
101 |
100 |
102 UNIQUE_CONSTRAINTS = ('SizeConstraint', 'FormatConstraint', |
101 UNIQUE_CONSTRAINTS = ('SizeConstraint', 'FormatConstraint', |
103 'StaticVocabularyConstraint', |
102 'StaticVocabularyConstraint', |
104 'RQLVocabularyConstraint') |
103 'RQLVocabularyConstraint') |
105 |
104 |