Home | Trees | Index | Help |
|
---|
Package AccessGrid :: Package Security :: Module Action :: Class Action |
|
MethodAction
Method Summary | |
---|---|
Return the return of this is an Action object. | |
The __str__ method provides a way to print this object as a string. | |
The repr method produces an XML representation of the action object. | |
This method adds a role to the action. | |
This method searchs for a Role object (by name) in this action. | |
Simple accessor for the name attribute. | |
This method retrieves the list of roles assocatied with this action. | |
Returns the list of roles as strings. | |
This method checks to see if the specified role is found in the action. | |
Remove a role from the action. | |
This is the accessor that sets the name of the action. | |
This method sets the action's role list, it overwrites the previous value. | |
The ToXML converts this objects to a DOM subtree of the specified DOM Document. |
Class Variable Summary | |
---|---|
string This class provides all the common action functionality. |
TYPE : The type of the action object, currently this is an opaque string. |
Method Details |
---|
__init__(self,
name,
roles=None)
|
__str__(self)
The __str__ method provides a way to print this object as a
string.
|
_repr_(self)The repr method produces an XML representation of the action object. |
AddRole(self, role)This method adds a role to the action.
|
FindRole(self, roleName)This method searchs for a Role object (by name) in this action. If it is found it is returned, otherwise None is returned.
|
GetName(self)Simple accessor for the name attribute.
|
GetRoles(self)This method retrieves the list of roles assocatied with this action.
|
GetRolesAsStrings(self)Returns the list of roles as strings. |
HasRole(self, role)This method checks to see if the specified role is found in the action.
|
RemoveRole(self, role)Remove a role from the action.
|
SetName(self, name)This is the accessor that sets the name of the action.
|
SetRoles(self, roles)This method sets the action's role list, it overwrites the previous value.
|
ToXML(self, doc, ref=0)The ToXML converts this objects to a DOM subtree of the specified DOM Document.
|
Class Variable Details |
---|
TYPEThe type of the action object, currently this is an opaque string.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 14 16:39:26 2005 | http://epydoc.sf.net |