Substitutes
It implements the substitute concepts.
It is used within the assignment process with Mailfolders.
The API is in use within the MisillMailManager Class. It is not in us
within the CPSMailManager product right now since CPSDefault doesn't
provide ant substitutes facilities right now.
Methods
|
|
__init__
getSubstitutesFor
isAssociateSubstituteHere
isPilotSubstituteHere
isPrePilotSubstituteHere
isWatcherSubstituteHere
removeSubstitutesFor
setSubstitutesFor
|
|
__init__
|
__init__ ( self )
Constructor
|
|
getSubstitutesFor
|
getSubstitutesFor ( self, member_id )
Return the substitutes for a given Member
It returns a list of member_id/group_id
|
|
isAssociateSubstituteHere
|
isAssociateSubstituteHere (
self,
member_id,
level,
)
Is the given member a substitute at this level ?
If so returns the member for whom he's been set as a substitute
|
|
isPilotSubstituteHere
|
isPilotSubstituteHere (
self,
member_id,
level,
)
Is the given member a substitute at this level ?
If so returns the member for whom he's been set as a substitute
|
|
isPrePilotSubstituteHere
|
isPrePilotSubstituteHere (
self,
member_id,
level,
)
Is the given member a substitute at this level ?
If so returns the member for whom he's been s as a substitute
|
|
isWatcherSubstituteHere
|
isWatcherSubstituteHere (
self,
member_id,
level,
)
Is the given member a substitute at this level ?
If so returns the member for whom he's been set as a substitute
|
|
removeSubstitutesFor
|
removeSubstitutesFor (
self,
id,
level,
role,
context,
)
Remove substitutes in the workflow for a given member/group
at a given level
|
|
setSubstitutesFor
|
setSubstitutesFor (
self,
id,
level,
role,
context,
with_local_roles=1,
)
Set substitutes in the workflow for a given member/group
at a given level Used at intialization time
|
|