public interface IProfile extends IRole, ILocalizationScope, IDeletionSupport
| 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. |
void |
addProfile(IProfile profile)
Adds a sub-profile in the profile.
|
void |
addProfiles(Collection<? extends IProfile> profiles)
Adds sub-profiles as a collection of
IProfile objects. |
Collection<? extends IUser> |
getAllMembers()
Gets all the members of the profile recursively.
|
ICatalog |
getCatalog()
The catalog of the role.
|
String |
getDescription()
Gets the description of the profile.
|
Collection<? extends IGroup> |
getGroups()
Gets the groups of the profile.
|
String |
getLabel()
Gets the label of the profile.
|
IProtocolSupport |
getLink()
Get the link of the profile
|
Collection<? extends IUser> |
getMembers()
Gets the members of the profile.
|
String |
getName()
Gets the name of the profile.
|
Collection<? extends IProfile> |
getParentProfiles()
Gets the parent profiles of the profile.
|
Collection<? extends IProfile> |
getProfiles()
Gets the sub-profiles of the profile.
|
boolean |
isSystem()
Checks if the profile is system and is not associated with a link.
|
void |
setDescription(String description)
Sets the description of the profile.
|
void |
setLabel(String label)
Sets the label of the profile.
|
addChild, addChildrengetId, getModule, getNativeObject, getPath, savegetProtocolURI, getProtocolURIdeleteString getName()
String getLabel()
void setLabel(String label)
label - The new label to use.String getDescription()
getDescription in interface IRolevoid setDescription(String description)
description - The new description to use.ICatalog getCatalog()
IRolegetCatalog in interface IRoleCollection<? extends IGroup> getGroups()
Collection<? extends IUser> getMembers()
getMembers in interface IRoleIUser objects.Collection<? extends IUser> getAllMembers()
getAllMembers in interface IRoleIUser objects.void addMember(IUser user)
void addMembers(Collection<? extends IUser> members)
IUser objects.addMembers in interface IRolemembers - The users to add.void addGroups(Collection<? extends IGroup> groups)
IGroup objects.Collection<? extends IProfile> getProfiles()
IProfile objects.Collection<? extends IProfile> getParentProfiles()
IProfile objects.void addProfile(IProfile profile)
profile - The sub-profile to add to the profile.void addProfiles(Collection<? extends IProfile> profiles)
IProfile objects.profiles - The sub-profiles to add.boolean isSystem()
IProtocolSupport getLink()
Copyright © 2022 Visiativ. All rights reserved.