Package com.axemble.vdoc.sdk.interfaces
Interface IProfile
- All Superinterfaces:
- IDeletionSupport,- IElement,- ILocalizationScope,- IProtocolSupport,- IRole,- ISearchSupport,- Serializable
This class allows to manipulate security profile objects.
- Since:
- 1.0, 01/04/2011
- Author:
- omenuel
- See Also:
- 
Method SummaryModifier 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.voidaddProfile(IProfile profile) Adds a sub-profile in the profile.voidaddProfiles(Collection<? extends IProfile> profiles) Adds sub-profiles as a collection ofIProfileobjects.Collection<? extends IUser> Gets all the members of the profile recursively.The catalog of the role.Gets the description of the profile.Collection<? extends IGroup> Gets the groups of the profile.getLabel()Gets the label of the profile.Gets the label of the profile.getLink()Get the link of the profileCollection<? extends IUser> Gets the members of the profile.getName()Gets the name of the profile.Collection<? extends IProfile> Gets the parent profiles of the profile.Collection<? extends IProfile> Gets the sub-profiles of the profile.booleanisSystem()Checks if the profile is system and is not associated with a link.voidsetDescription(String description) Sets the description of the profile.voidSets the label of the profile.Methods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupportdeleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURIMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IRoleaddChild, addChildren
- 
Method Details- 
getNameString getName()Gets the name of the profile.
- 
getLabelString getLabel()Gets the label of the profile.
- 
getLabelGets the label of the profile.
- 
setLabelSets the label of the profile.- Parameters:
- label- The new label to use.
 
- 
getDescriptionString getDescription()Gets the description of the profile.- Specified by:
- getDescriptionin interface- IRole
- Returns:
- The description of the profile
 
- 
setDescriptionSets the description of the profile.- Parameters:
- description- The new description to use.
 
- 
getCatalogICatalog getCatalog()Description copied from interface:IRoleThe catalog of the role.- Specified by:
- getCatalogin interface- IRole
 
- 
getGroupsCollection<? extends IGroup> getGroups()Gets the groups of the profile.
- 
getMembersCollection<? extends IUser> getMembers()Gets the members of the profile.- Specified by:
- getMembersin interface- IRole
- Returns:
- A collection of IUserobjects.
 
- 
getAllMembersCollection<? extends IUser> getAllMembers()Gets all the members of the profile recursively.- Specified by:
- getAllMembersin interface- IRole
- Returns:
- A collection of IUserobjects.
 
- 
addMemberSets a user as member of a group.
- 
addGroupAdds a groupIGroup.
- 
addMembersAdds members as a collection ofIUserobjects.- Specified by:
- addMembersin interface- IRole
- Parameters:
- members- The users to add.
 
- 
addGroupsAdds groups as a collection ofIGroupobjects.
- 
getProfilesCollection<? extends IProfile> getProfiles()Gets the sub-profiles of the profile.- Returns:
- A collection of IProfileobjects.
 
- 
getParentProfilesCollection<? extends IProfile> getParentProfiles()Gets the parent profiles of the profile.- Returns:
- A collection of IProfileobjects.
 
- 
addProfileAdds a sub-profile in the profile.- Parameters:
- profile- The sub-profile to add to the profile.
 
- 
addProfilesAdds sub-profiles as a collection ofIProfileobjects.- Parameters:
- profiles- The sub-profiles to add.
 
- 
isSystemboolean isSystem()Checks if the profile is system and is not associated with a link.- Returns:
- true if the profile is system, false otherwise.
 
- 
getLinkIProtocolSupport getLink()Get the link of the profile- Returns:
- IProtocolSupport
 
 
-