public interface DelegatedGroupManagement
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(String projectPath,
String parentPath,
pl.edu.icm.unity.types.I18nString groupName,
boolean isPublic)
Adds group
|
void |
addMemberToGroup(String projectPath,
String groupPath,
long entityId)
Adds a new member to the group
|
String |
getAttributeDisplayedName(String projectPath,
String attributeName)
Gets attribute displayed name
|
DelegatedGroupContents |
getContents(String projectPath,
String path)
Allows to retrieve group's contents and metadata.
|
List<DelegatedGroupMember> |
getDelegatedGroupMemebers(String projectPath,
String groupPath)
Gets delegated group members
|
Map<String,DelegatedGroupContents> |
getGroupAndSubgroups(String projectPath,
String groupPath) |
List<DelegatedGroup> |
getProjectsForEntity(long entityId) |
void |
removeGroup(String projectPath,
String path)
Removes group
|
void |
removeMemberFromGroup(String projectPath,
String groupPath,
long entityId)
Removes from the group and all subgroups if the user is in any.
|
void |
setGroupAccessMode(String projectPath,
String path,
boolean isPublic)
Updates group access mode
|
void |
setGroupAuthorizationRole(String projectPath,
long entityId,
GroupAuthorizationRole role)
Update value of group authorization role attribute
|
void |
setGroupDisplayedName(String projectPath,
String path,
pl.edu.icm.unity.types.I18nString newName)
Sets group display name
|
void addGroup(String projectPath, String parentPath, pl.edu.icm.unity.types.I18nString groupName, boolean isPublic) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathparentPath - parent group pathgroupName - new group nameisPublic - group access modepl.edu.icm.unity.exceptions.EngineExceptionvoid removeGroup(String projectPath, String path) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathpath - removed group pathpl.edu.icm.unity.exceptions.EngineExceptionDelegatedGroupContents getContents(String projectPath, String path) throws pl.edu.icm.unity.exceptions.EngineException
path - group to be queried.pl.edu.icm.unity.exceptions.EngineExceptionvoid setGroupDisplayedName(String projectPath, String path, pl.edu.icm.unity.types.I18nString newName) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathpath - renamed group pathnewName - pl.edu.icm.unity.exceptions.EngineExceptionvoid setGroupAccessMode(String projectPath, String path, boolean isPublic) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathpath - updated group pathisPublic - indicates is group public or private modepl.edu.icm.unity.exceptions.EngineExceptionMap<String,DelegatedGroupContents> getGroupAndSubgroups(String projectPath, String groupPath) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathgroupPath - group to be queriedpl.edu.icm.unity.exceptions.EngineExceptionString getAttributeDisplayedName(String projectPath, String attributeName) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathattributeName - pl.edu.icm.unity.exceptions.EngineExceptionvoid setGroupAuthorizationRole(String projectPath, long entityId, GroupAuthorizationRole role) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathentityId - attribute ownerrole - value to setpl.edu.icm.unity.exceptions.EngineExceptionList<DelegatedGroup> getProjectsForEntity(long entityId) throws pl.edu.icm.unity.exceptions.EngineException
entityId - project managerpl.edu.icm.unity.exceptions.EngineExceptionvoid addMemberToGroup(String projectPath, String groupPath, long entityId) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathgroupPath - entityId - entity id to addpl.edu.icm.unity.exceptions.EngineExceptionvoid removeMemberFromGroup(String projectPath, String groupPath, long entityId) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathgroupPath - group removing fromentityId - entity id to removepl.edu.icm.unity.exceptions.EngineExceptionList<DelegatedGroupMember> getDelegatedGroupMemebers(String projectPath, String groupPath) throws pl.edu.icm.unity.exceptions.EngineException
projectPath - project group pathgroupPath - pl.edu.icm.unity.exceptions.EngineExceptionCopyright © 2020 Unity. All rights reserved.