gluu
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.gluu.oxtrust.model.scim2.group.GroupResource クラス
org.gluu.oxtrust.model.scim2.group.GroupResource の継承関係図
Inheritance graph
org.gluu.oxtrust.model.scim2.group.GroupResource 連携図
Collaboration graph

公開メンバ関数

String getDisplayName ()
 
void setDisplayName (String displayName)
 
Set< MembergetMembers ()
 
void setMembers (Set< Member > members)
 
void addCustomAttributes (String uri, Map< String, Object > map)
 
void addCustomAttributes (CustomAttributes customAttributes)
 
Map< String, Object > getCustomAttributes ()
 
CustomAttributes getCustomAttributes (String uri)
 
String getId ()
 
void setId (String id)
 
String getExternalId ()
 
void setExternalId (String externalId)
 
Meta getMeta ()
 
void setMeta (Meta meta)
 
Set< String > getSchemas ()
 
void setSchemas (Set< String > schemas)
 

非公開変数類

String displayName
 
Set< Membermembers
 

詳解

Group SCIM resource. See section 4.2 in RFC 7643.

関数詳解

◆ addCustomAttributes() [1/2]

void org.gluu.oxtrust.model.scim2.BaseScimResource.addCustomAttributes ( String  uri,
Map< String, Object >  map 
)
inlineinherited

Replaces the custom attributes belonging to the resource extension identified by the uri passed as parameter with the attribute/value pairs supplied in the Map. Developers are highly encouraged not to use this method but addCustomAttributes(CustomAttributes) instead which adds type-safety.

Note that this method does not apply any sort of validation. Whether the uri and attributes are recognized or the values are consistent with data types registered in Gluu Server, is something that is performed only when the resource is passed in a service method invocation.

引数
uriA string with URI that identifies an extension
mapA Map holding attribute names (Strings) and values (Objects).
79  {
80  //This is a workaround to support incoming malformed custom attributes sent by SCIM-Client version 3.1.2 and earlier
82  extendedAttrs.put(uri, map);
83  }
Map< String, Object > reshapeMalformedCustAttrs(Map< String, Object > map)
Definition: BaseScimResource.java:163
Map< String, Object > extendedAttrs
Definition: BaseScimResource.java:66

◆ addCustomAttributes() [2/2]

void org.gluu.oxtrust.model.scim2.BaseScimResource.addCustomAttributes ( CustomAttributes  customAttributes)
inlineinherited

Adds the custom attributes contained in the CustomAttributes instance passed to this method. All previously added attributes are replaced if they are linked to the same uri that customAttributes parameter is associated to.

Note that this method does not apply any sort of validation. Whether the uri and attributes are recognized or the values are consistent with data types registered in Gluu Server, is something that is performed only when the resource is passed in a service method invocation.

引数
customAttributesAn object that comprised of attribute/value pairs
94  {
95  addCustomAttributes(customAttributes.getUri(), customAttributes.getAttributeMap());
96  }
void addCustomAttributes(String uri, Map< String, Object > map)
Definition: BaseScimResource.java:79

◆ getCustomAttributes() [1/2]

Map<String, Object> org.gluu.oxtrust.model.scim2.BaseScimResource.getCustomAttributes ( )
inlineinherited

Retrieves all custom attributes found in this resource object. The attributes are structured hierarchically in a Map where they can be looked up using the uri to which the attributes belong to.

Developers are highly encouraged not to use this method but getCustomAttributes(String) instead which adds type-safety.

戻り値
A Map with all custom attributes
106  {
107  return extendedAttrs;
108  }
Map< String, Object > extendedAttrs
Definition: BaseScimResource.java:66

◆ getCustomAttributes() [2/2]

CustomAttributes org.gluu.oxtrust.model.scim2.BaseScimResource.getCustomAttributes ( String  uri)
inlineinherited

Retrieves the custom attributes found in this resource object associated to the uri supplied.

引数
uriA String value representing a URI
戻り値
A CustomAttributes instance that allows developers to inspect attributes and values in a type-safe manner.
115  {
116  if (extendedAttrs.get(uri)==null)
117  return null;
118  return new CustomAttributes(uri, IntrospectUtil.strObjMap(extendedAttrs.get(uri)));
119  }
Map< String, Object > extendedAttrs
Definition: BaseScimResource.java:66

◆ getDisplayName()

String org.gluu.oxtrust.model.scim2.group.GroupResource.getDisplayName ( )
inline
40  {
41  return displayName;
42  }
String displayName
Definition: GroupResource.java:32

◆ getExternalId()

String org.gluu.oxtrust.model.scim2.BaseScimResource.getExternalId ( )
inlineinherited
139  {
140  return externalId;
141  }
String externalId
Definition: BaseScimResource.java:59

◆ getId()

String org.gluu.oxtrust.model.scim2.BaseScimResource.getId ( )
inlineinherited
131  {
132  return id;
133  }
String id
Definition: BaseScimResource.java:54

◆ getMembers()

Set<Member> org.gluu.oxtrust.model.scim2.group.GroupResource.getMembers ( )
inline
48  {
49  return members;
50  }
Set< Member > members
Definition: GroupResource.java:38

◆ getMeta()

Meta org.gluu.oxtrust.model.scim2.BaseScimResource.getMeta ( )
inlineinherited
147  {
148  return meta;
149  }
Meta meta
Definition: BaseScimResource.java:64

◆ getSchemas()

Set<String> org.gluu.oxtrust.model.scim2.BaseScimResource.getSchemas ( )
inlineinherited
155  {
156  return schemas;
157  }
Set< String > schemas
Definition: BaseScimResource.java:44

◆ setDisplayName()

void org.gluu.oxtrust.model.scim2.group.GroupResource.setDisplayName ( String  displayName)
inline
44  {
45  this.displayName = displayName;
46  }
String displayName
Definition: GroupResource.java:32

◆ setExternalId()

void org.gluu.oxtrust.model.scim2.BaseScimResource.setExternalId ( String  externalId)
inlineinherited
143  {
144  this.externalId = externalId;
145  }
String externalId
Definition: BaseScimResource.java:59

◆ setId()

void org.gluu.oxtrust.model.scim2.BaseScimResource.setId ( String  id)
inlineinherited
135  {
136  this.id = id;
137  }
String id
Definition: BaseScimResource.java:54

◆ setMembers()

void org.gluu.oxtrust.model.scim2.group.GroupResource.setMembers ( Set< Member members)
inline
52  {
53  this.members = members;
54  }
Set< Member > members
Definition: GroupResource.java:38

◆ setMeta()

void org.gluu.oxtrust.model.scim2.BaseScimResource.setMeta ( Meta  meta)
inlineinherited
151  {
152  this.meta = meta;
153  }
Meta meta
Definition: BaseScimResource.java:64

◆ setSchemas()

void org.gluu.oxtrust.model.scim2.BaseScimResource.setSchemas ( Set< String >  schemas)
inlineinherited
159  {
160  this.schemas = schemas;
161  }
Set< String > schemas
Definition: BaseScimResource.java:44

メンバ詳解

◆ displayName

String org.gluu.oxtrust.model.scim2.group.GroupResource.displayName
private

◆ members

Set<Member> org.gluu.oxtrust.model.scim2.group.GroupResource.members
private

このクラス詳解は次のファイルから抽出されました: