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 TypeMethodDescriptionvoid
Adds a groupIGroup
.void
addGroups
(Collection<? extends IGroup> groups) Adds groups as a collection ofIGroup
objects.void
Sets a user as member of a group.void
addMembers
(Collection<? extends IUser> members) Adds members as a collection ofIUser
objects.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, save
Methods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
Methods 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:
getDescription
in interfaceIRole
- Returns:
- The description of the operator role
-
getCatalog
ICatalog getCatalog()The catalog of the role.- Specified by:
getCatalog
in 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:
getMembers
in interfaceIRole
- Returns:
- A collection of
IUser
objects.
-
getAllMembers
Collection<? extends IUser> getAllMembers()Gets all the members of the roles recursively.- Specified by:
getAllMembers
in interfaceIRole
- Returns:
- A collection of
IUser
objects.
-
addMember
Sets a user as member of a group. -
addGroup
Adds a groupIGroup
. -
addMembers
Adds members as a collection ofIUser
objects.- Specified by:
addMembers
in interfaceIRole
- Parameters:
members
- The users to add.
-
addGroups
Adds groups as a collection ofIGroup
objects.
-