MailManagerSubsctitutes class
Implements subsctitute concepts
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 set 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
|
|