Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
DCWorkflow.Transitions.Transitions Class Reference
Inheritance diagram for DCWorkflow.Transitions.Transitions:
Inheritance graph
[legend]
Collaboration diagram for DCWorkflow.Transitions.Transitions:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def manage_main
def addTransition
def deleteTransitions

Static Public Attributes

string meta_type = 'Workflow Transitions'
tuple security = ClassSecurityInfo()
tuple all_meta_types

Static Private Attributes

tuple _manage_transitions = DTMLFile('transitions', _dtmldir)

Detailed Description

A container for transition definitions

Definition at line 220 of file Transitions.py.


Member Function Documentation

def DCWorkflow.Transitions.Transitions.addTransition (   self,
  id,
  REQUEST = None 
)

Definition at line 243 of file Transitions.py.

00243 
00244     def addTransition(self, id, REQUEST=None):
00245         '''
00246         '''
00247         tdef = TransitionDefinition(id)
00248         self._setObject(id, tdef)
00249         if REQUEST is not None:
00250             return self.manage_main(REQUEST, 'Transition added.')

Here is the call graph for this function:

def DCWorkflow.Transitions.Transitions.deleteTransitions (   self,
  ids,
  REQUEST = None 
)

Definition at line 251 of file Transitions.py.

00251 
00252     def deleteTransitions(self, ids, REQUEST=None):
00253         '''
00254         '''
00255         for id in ids:
00256             self._delObject(id)
00257         if REQUEST is not None:
00258             return self.manage_main(REQUEST, 'Transition(s) removed.')
00259 
00260 InitializeClass(Transitions)

Here is the call graph for this function:

def DCWorkflow.Transitions.Transitions.manage_main (   self,
  REQUEST,
  manage_tabs_message = None 
)

Definition at line 234 of file Transitions.py.

00234 
00235     def manage_main(self, REQUEST, manage_tabs_message=None):
00236         '''
00237         '''
00238         return self._manage_transitions(
00239             REQUEST,
00240             management_view='Transitions',
00241             manage_tabs_message=manage_tabs_message,
00242             )

Here is the caller graph for this function:


Member Data Documentation

tuple DCWorkflow.Transitions.Transitions._manage_transitions = DTMLFile('transitions', _dtmldir) [static, private]

Definition at line 232 of file Transitions.py.

Initial value:
({'name':TransitionDefinition.meta_type,
                       'action':'addTransition',
                       },)

Definition at line 228 of file Transitions.py.

Definition at line 223 of file Transitions.py.

tuple DCWorkflow.Transitions.Transitions.security = ClassSecurityInfo() [static]

Definition at line 225 of file Transitions.py.


The documentation for this class was generated from the following file: