Back to index

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

List of all members.

Public Member Functions

def __init__
def __copy__
def getKey
def getObjectId
def getStatus
def getContextType
def getButton
def getActionType
def getActionArg
def getAction
def __str__

Public Attributes

 key
 action_type
 action_arg
 action

Static Public Attributes

tuple security = ClassSecurityInfo()

Detailed Description

Definition at line 74 of file FormAction.py.


Constructor & Destructor Documentation

def CMFFormController.FormAction.FormAction.__init__ (   self,
  object_id,
  status,
  context_type,
  button,
  action_type,
  action_arg,
  controller = None 
)

Definition at line 80 of file FormAction.py.

00080 
00081                  action_type, action_arg, controller=None):
00082         from FormController import form_action_types
00083 
00084         self.key = FormActionKey(object_id, status, context_type, button,
00085                                  controller)
00086         self.action_type = action_type
00087         self.action_arg = action_arg
00088 
00089         if not form_action_types.has_key(action_type):
00090             raise ValueError, 'Illegal action type %s for %s' % (action_type, object_id)
00091         if action_arg is not None:
00092             action_arg = action_arg.strip()
00093         self.action = form_action_types[action_type].getFactory()(action_arg)


Member Function Documentation

Definition at line 94 of file FormAction.py.

00094 
00095     def __copy__(self):
00096         return FormAction(self.getObjectId(), self.getStatus(), self.getContextType(),
00097             self.getButton(), self.getActionType(), self.getActionArg())

Here is the call graph for this function:

Definition at line 122 of file FormAction.py.

00122 
00123     def __str__(self):
00124         return '%s.%s.%s.%s=%s:%s' % (str(self.getObjectId()), str(self.getStatus()), \
00125             str(self.getContextType()), str(self.getButton()), str(self.getActionType()), \
00126             str(self.getActionArg()))
00127 
00128 InitializeClass(FormAction)
00129 

Here is the call graph for this function:

Definition at line 119 of file FormAction.py.

00119 
00120     def getAction(self):
00121         return self.action

Definition at line 116 of file FormAction.py.

00116 
00117     def getActionArg(self):
00118         return self.action_arg

Here is the caller graph for this function:

Definition at line 113 of file FormAction.py.

00113 
00114     def getActionType(self):
00115         return self.action_type

Here is the caller graph for this function:

Definition at line 110 of file FormAction.py.

00110 
00111     def getButton(self):
00112         return self.key.getButton()

Here is the caller graph for this function:

Definition at line 107 of file FormAction.py.

00107 
00108     def getContextType(self):
00109         return self.key.getContextType()

Here is the caller graph for this function:

Definition at line 98 of file FormAction.py.

00098 
00099     def getKey(self):
00100         return self.key

Definition at line 101 of file FormAction.py.

00101 
00102     def getObjectId(self):
00103         return self.key.getObjectId()

Here is the caller graph for this function:

Definition at line 104 of file FormAction.py.

00104 
00105     def getStatus(self):
00106         return self.key.getStatus()

Here is the caller graph for this function:


Member Data Documentation

Definition at line 92 of file FormAction.py.

Definition at line 86 of file FormAction.py.

Definition at line 85 of file FormAction.py.

Definition at line 83 of file FormAction.py.

tuple CMFFormController.FormAction.FormAction.security = ClassSecurityInfo() [static]

Definition at line 76 of file FormAction.py.


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