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 Summary
Modifier 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.IElement
getId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURIMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IRole
addChild, addChildren
-
Method Details
-
getName
String getName()Gets the name of the role. -
getLabel
String getLabel()Gets the label of the operator role. -
getLabel
Gets the label of the operator role. -
getDescription
String getDescription()- Specified by:
getDescriptionin interfaceIRole- Returns:
- The description of the operator role
-
getCatalog
ICatalog getCatalog()The catalog of the role.- Specified by:
getCatalogin interfaceIRole
-
getGroups
Collection<? extends IGroup> getGroups()Gets the groups of the role. -
getMembers
Collection<? extends IUser> getMembers()Gets the members of the role.- Specified by:
getMembersin interfaceIRole- Returns:
- A collection of
IUserobjects.
-
getAllMembers
Collection<? extends IUser> getAllMembers()Gets all the members of the roles recursively.- Specified by:
getAllMembersin interfaceIRole- Returns:
- A collection of
IUserobjects.
-
addMember
Sets a user as member of a group. -
addGroup
Adds a groupIGroup. -
addMembers
Adds members as a collection ofIUserobjects.- Specified by:
addMembersin interfaceIRole- Parameters:
members- The users to add.
-
addGroups
Adds groups as a collection ofIGroupobjects.
-