Package AccessGrid :: Package Security :: Module Action :: Class MethodAction
[show private | hide private]
[frames | no frames]

Class MethodAction

Action --+
         |
        MethodAction


The Method Action class.

Method actions are created for all methods on objects that expose them via SOAP. This provides a way to authorize per-method access on the objects.
Method Summary
    Inherited from Action
  __init__(self, name, roles)
Return the return of this is an Action object.
  __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.
  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)
The ToXML converts this objects to a DOM subtree of the specified DOM Document.

Class Variable Summary
string TYPE: The type of the action object, currently this is an opaque string.

Class Variable Details

TYPE

The type of the action object, currently this is an opaque string.
Type:
string
Value:
'Method'                                                               

Generated by Epydoc 2.1 on Thu Apr 14 16:39:29 2005 http://epydoc.sf.net