public interface IOperatorRole extends IRole, ILocalizationScope
ITask
objects.Modifier and Type | Method and Description |
---|---|
void |
addGroup(IGroup group)
Adds a group
IGroup . |
void |
addGroups(Collection<? extends IGroup> groups)
Adds groups as a collection of
IGroup objects. |
void |
addMember(IUser user)
Sets a user as member of a group.
|
void |
addMembers(Collection<? extends IUser> members)
Adds members as a collection of
IUser objects. |
Collection<? extends IUser> |
getAllMembers()
Gets all the members of the roles recursively.
|
ICatalog |
getCatalog()
The catalog of the role.
|
String |
getDescription() |
Collection<? extends IGroup> |
getGroups()
Gets the groups of the role.
|
String |
getLabel()
Gets the label of the operator role.
|
Collection<? extends IUser> |
getMembers()
Gets the members of the role.
|
String |
getName()
Gets the name of the role.
|
addChild, addChildren
getId, getModule, getNativeObject, getPath, save
getProtocolURI, getProtocolURI
String getName()
String getLabel()
String getDescription()
getDescription
in interface IRole
ICatalog getCatalog()
getCatalog
in interface IRole
Collection<? extends IGroup> getGroups()
Collection<? extends IUser> getMembers()
getMembers
in interface IRole
IUser
objects.Collection<? extends IUser> getAllMembers()
getAllMembers
in interface IRole
IUser
objects.void addMember(IUser user)
void addMembers(Collection<? extends IUser> members)
IUser
objects.addMembers
in interface IRole
members
- The users to add.void addGroups(Collection<? extends IGroup> groups)
IGroup
objects.Copyright © 2022 Visiativ. All rights reserved.