public class JCRGroup extends Object implements org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGroup
| Modifier and Type | Field and Description |
|---|---|
Group |
group |
String |
name |
static String |
url |
static String |
USERS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(String user) |
boolean |
addMembers(List<String> users) |
List<String> |
getMembers() |
String |
getName() |
boolean |
isMember(String member) |
boolean |
removeMember(String user) |
boolean |
removeMembers(List<String> usersList) |
void |
updateGroup(List<String> members,
List<String> membersToDelete) |
public static final String USERS
public static String url
public String name
public Group group
public JCRGroup(String name) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic String getName()
getName in interface org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGrouppublic boolean removeMembers(List<String> usersList) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
removeMembers in interface org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGrouporg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean addMembers(List<String> users) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
addMembers in interface org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGrouporg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean addMember(String user) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
addMember in interface org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGrouporg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean removeMember(String user) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
removeMember in interface org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGrouporg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean isMember(String member)
isMember in interface org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGrouppublic List<String> getMembers() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getMembers in interface org.gcube.common.homelibrary.home.workspace.usermanager.GCubeGrouporg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionCopyright © 2014. All Rights Reserved.