equal
deleted
inserted
replaced
105 VISIBLE_STATES = PUBLISHED_STATES = (PUBLISHED, RETIRING) |
105 VISIBLE_STATES = PUBLISHED_STATES = (PUBLISHED, RETIRING) |
106 |
106 |
107 WAITING_STATES = (PROPOSED, RETIRING, ARCHIVING) |
107 WAITING_STATES = (PROPOSED, RETIRING, ARCHIVING) |
108 |
108 |
109 RETIRED_STATES = (RETIRED, ARCHIVING) |
109 RETIRED_STATES = (RETIRED, ARCHIVING) |
|
110 |
|
111 ARCHIVED_STATES = (ARCHIVED, ) |
110 |
112 |
111 |
113 |
112 # |
114 # |
113 # Workflow conditions |
115 # Workflow conditions |
114 # |
116 # |
641 protected_states=PROTECTED_STATES, |
643 protected_states=PROTECTED_STATES, |
642 manager_states=MANAGER_STATES, |
644 manager_states=MANAGER_STATES, |
643 published_states=VISIBLE_STATES, |
645 published_states=VISIBLE_STATES, |
644 waiting_states=WAITING_STATES, |
646 waiting_states=WAITING_STATES, |
645 retired_states=RETIRED_STATES, |
647 retired_states=RETIRED_STATES, |
|
648 archived_states=ARCHIVED_STATES, |
646 auto_retired_state=RETIRED) |
649 auto_retired_state=RETIRED) |
647 |
650 |
648 |
651 |
649 @utility_config(name='PyAMS default workflow', provides=IWorkflow) |
652 @utility_config(name='PyAMS default workflow', provides=IWorkflow) |
650 class WorkflowUtility(object): |
653 class WorkflowUtility(object): |