public class Group extends AbstractSCIMObject
attributeList, schemaList| Constructor and Description |
|---|
Group() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
get the display name of the group
|
List<String> |
getMemberIdsOfType(String searchType)
Returns the ID list of all members of specified type
|
List<Object> |
getMembers()
get the members of the group
|
List<String> |
getMembersWithDisplayName()
get the members of the group with their display names
|
List<String> |
getSubGroupIds()
Returns the ID list of all members of type Group
|
List<String> |
getUserIds()
Returns the ID list of all members of type User
|
void |
replaceDisplayName(String displayname)
deletes the current value of displayname and exchanges it with the given value
|
void |
setDisplayName(String displayName)
set the display name of the group
|
void |
setMember(String value,
String display)
Deprecated.
use
setMember(User user) instead. |
void |
setMember(String value,
String display,
String ref,
String type) |
void |
setMember(User user)
Set a member to the group, where member will have three default attributes such as name, value and $ref.
|
void |
setRole(Role role)
Set the associated roles of the group.
|
void |
setSchemas()
set the schemas for scim object -group
|
createMetaAttribute, deleteAttribute, deleteSubAttribute, deleteSubSubAttribute, deleteSubValuesSubAttribute, deleteValuesSubAttribute, getAttribute, getAttributeList, getCreatedDate, getLastModified, getMetaAttribute, getResource, getSchemaList, isAttributeExist, isMetaAttributeExist, isSchemaExists, setAttribute, setAttribute, setCreatedDate, setCreatedInstant, setExternalId, setId, setLastModified, setLastModifiedInstant, setLocation, setResourceType, setSchema, toStringaddMultivaluedComplexAtribute, attributeMetaEquals, attributesEquals, complexAttributeEquals, equals, getComplexAttribute, getCreatedDateTime, getCreatedInstant, getCreatedLong, getExternalId, getId, getLastModifiedDateTime, getLastModifiedInstant, getLastModifiedLong, getLocation, getMultiValuedAttribute, getMultivaluedComplexType, getOrCrateComplexAttribute, getResourceType, getSetSubAttributeConsumer, getSimpleAttribute, getSimpleAttribute, getSimpleAttributeValue, hashCode, isBlank, isNotBlank, multiValuedAttributeEquals, replaceCreated, replaceCreated, replaceCreated, replaceExternalId, replaceId, replaceLastModified, replaceLastModified, replaceLastModified, replaceLocation, replaceResourceType, replaceSimpleAttribute, simpleAttributeEquals, stripToNullpublic String getDisplayName()
CharonExceptionpublic void setDisplayName(String displayName) throws CharonException, BadRequestException
displayName - CharonExceptionBadRequestExceptionpublic void replaceDisplayName(String displayname)
public List<String> getMembersWithDisplayName()
@Deprecated public void setMember(String value, String display) throws BadRequestException, CharonException
setMember(User user) instead.BadRequestExceptionCharonExceptionpublic void setMember(String value, String display, String ref, String type) throws BadRequestException, CharonException
BadRequestExceptionCharonExceptionpublic void setMember(User user) throws BadRequestException, CharonException
user - BadRequestExceptionCharonExceptionpublic void setSchemas()
public List<String> getSubGroupIds()
public List<String> getMemberIdsOfType(String searchType)
public void setRole(Role role) throws CharonException, BadRequestException
role - Role object.CharonException - CharonException.BadRequestException - BadRequestException.Copyright © 2021 WSO2. All rights reserved.