Package com.axemble.vdoc.sdk.interfaces
Interface IOperatorRole
- All Superinterfaces:
- IElement,- ILocalizationScope,- IProtocolSupport,- IRole,- ISearchSupport,- Serializable
This class allows to associate either groups or users to 
ITask objects.- Since:
- 1.0, 04/04/2011
- Author:
- omenuel
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a groupIGroup.voidaddGroups(Collection<? extends IGroup> groups) Adds groups as a collection ofIGroupobjects.voidSets a user as member of a group.voidaddMembers(Collection<? extends IUser> members) Adds members as a collection ofIUserobjects.Collection<? extends IUser> Gets all the members of the roles recursively.The catalog of the role.Collection<? extends IGroup> Gets the groups of the role.getLabel()Gets the label of the operator role.Gets the label of the operator role.Collection<? extends IUser> Gets the members of the role.getName()Gets the name of the role.Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURIMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IRoleaddChild, addChildren
- 
Method Details- 
getNameString getName()Gets the name of the role.
- 
getLabelString getLabel()Gets the label of the operator role.
- 
getLabelGets the label of the operator role.
- 
getDescriptionString getDescription()- Specified by:
- getDescriptionin interface- IRole
- Returns:
- The description of the operator role
 
- 
getCatalogICatalog getCatalog()The catalog of the role.- Specified by:
- getCatalogin interface- IRole
 
- 
getGroupsCollection<? extends IGroup> getGroups()Gets the groups of the role.
- 
getMembersCollection<? extends IUser> getMembers()Gets the members of the role.- Specified by:
- getMembersin interface- IRole
- Returns:
- A collection of IUserobjects.
 
- 
getAllMembersCollection<? extends IUser> getAllMembers()Gets all the members of the roles recursively.- Specified by:
- getAllMembersin interface- IRole
- Returns:
- A collection of IUserobjects.
 
- 
addMemberSets a user as member of a group.
- 
addGroupAdds a groupIGroup.
- 
addMembersAdds members as a collection ofIUserobjects.- Specified by:
- addMembersin interface- IRole
- Parameters:
- members- The users to add.
 
- 
addGroupsAdds groups as a collection ofIGroupobjects.
 
-