Package com.axemble.vdoc.sdk.interfaces
Interface IRole
- All Superinterfaces:
IElement
,IProtocolSupport
,ISearchSupport
,Serializable
- All Known Subinterfaces:
IOperatorRole
,IProfile
Deprecated.
: use IOperatorRole or IProfile
This class allows to associate either groups or users to
ITask
objects.- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.use addGroupvoid
addChildren
(Collection<? extends IGroup> children) Deprecated.use addGroupsvoid
Deprecated.Adds a groupIGroup
.void
addGroups
(Collection<? extends IGroup> groups) Deprecated.Adds groups as a collection ofIGroup
objects.void
Deprecated.Sets a user as member of a group.void
addMembers
(Collection<? extends IUser> members) Deprecated.Adds members as a collection ofIUser
objects.Collection
<? extends IUser> Deprecated.Gets all the members of the roles recursively.Deprecated.The catalog of the role.Deprecated.Collection
<? extends IGroup> Deprecated.Gets the groups of the role.getLabel()
Deprecated.Gets the label of the role.Deprecated.Gets the label of the role.Collection
<? extends IUser> Deprecated.Gets the members of the role.getName()
Deprecated.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
-
Method Details
-
getName
String getName()Deprecated.Gets the name of the role.- Returns:
- a String object.
-
getLabel
String getLabel()Deprecated.Gets the label of the role.- Returns:
- a String object.
-
getLabel
Deprecated.Gets the label of the role.- Returns:
- a String object.
-
getDescription
String getDescription()Deprecated.- Returns:
- The description of the role
-
getCatalog
ICatalog getCatalog()Deprecated.The catalog of the role. -
getGroups
Collection<? extends IGroup> getGroups()Deprecated.Gets the groups of the role.- Returns:
- A collection of
IGroup
objects.
-
getMembers
Collection<? extends IUser> getMembers()Deprecated.Gets the members of the role.- Returns:
- A collection of
IUser
objects.
-
getAllMembers
Collection<? extends IUser> getAllMembers()Deprecated.Gets all the members of the roles recursively.- Returns:
- A collection of
IUser
objects.
-
addMember
Deprecated.Sets a user as member of a group.- Parameters:
user
- The user to add to the group.
-
addChild
Deprecated.use addGroupAdds a childIGroup
.- Parameters:
group
- The child group to add.
-
addGroup
Deprecated.Adds a groupIGroup
.- Parameters:
group
- The child group to add.
-
addMembers
Deprecated.Adds members as a collection ofIUser
objects.- Parameters:
members
- The users to add.
-
addChildren
Deprecated.use addGroupsAdds children as a collection ofIGroup
objects.- Parameters:
children
- The children to add.
-
addGroups
Deprecated.Adds groups as a collection ofIGroup
objects.- Parameters:
groups
- The groups to add.
-