gluu
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.gluu.oxtrust.model.scim2.SearchRequest クラス
org.gluu.oxtrust.model.scim2.SearchRequest 連携図
Collaboration graph

公開メンバ関数

 SearchRequest ()
 
List< String > getSchemas ()
 
void setSchemas (List< String > schemas)
 
List< String > getAttributes ()
 
void setAttributes (List< String > attributes)
 
void setAttributes (String commaSeparatedString)
 
List< String > getExcludedAttributes ()
 
void setExcludedAttributes (List< String > excludedAttributes)
 
void setExcludedAttributes (String commaSeparatedString)
 
String getFilter ()
 
void setFilter (String filter)
 
String getSortBy ()
 
void setSortBy (String sortBy)
 
String getSortOrder ()
 
void setSortOrder (String sortOrder)
 
Integer getStartIndex ()
 
void setStartIndex (Integer startIndex)
 
Integer getCount ()
 
void setCount (Integer count)
 
String getAttributesStr ()
 
String getExcludedAttributesStr ()
 

非公開変数類

List< String > schemas
 
List< String > attributes
 
List< String > excludedAttributes
 
String filter
 
String sortBy
 
String sortOrder
 
Integer startIndex
 
Integer count
 
String attributesStr
 
String excludedAttributesStr
 

詳解

This class represents the components of a search request that is employed when doing searches via POST. See section 3.4.3 RFC 7644.

著者
Val Pecaoco

構築子と解体子

◆ SearchRequest()

org.gluu.oxtrust.model.scim2.SearchRequest.SearchRequest ( )
inline

Default no args constructor. It creates an instance of SearchRequest initializing schemas properly.

50  {
51  schemas=Collections.singletonList(SEARCH_REQUEST_SCHEMA_ID);
52  }
List< String > schemas
Definition: SearchRequest.java:31

関数詳解

◆ getAttributes()

List<String> org.gluu.oxtrust.model.scim2.SearchRequest.getAttributes ( )
inline
66  {
67  return attributes;
68  }
List< String > attributes
Definition: SearchRequest.java:32

◆ getAttributesStr()

String org.gluu.oxtrust.model.scim2.SearchRequest.getAttributesStr ( )
inline
173  {
174  return attributes==null ? null : Joiner.on(",").join(attributes.toArray());
175  }
List< String > attributes
Definition: SearchRequest.java:32

◆ getCount()

Integer org.gluu.oxtrust.model.scim2.SearchRequest.getCount ( )
inline
161  {
162  return count;
163  }
Integer count
Definition: SearchRequest.java:38

◆ getExcludedAttributes()

List<String> org.gluu.oxtrust.model.scim2.SearchRequest.getExcludedAttributes ( )
inline
89  {
90  return excludedAttributes;
91  }
List< String > excludedAttributes
Definition: SearchRequest.java:33

◆ getExcludedAttributesStr()

String org.gluu.oxtrust.model.scim2.SearchRequest.getExcludedAttributesStr ( )
inline
177  {
178  return excludedAttributes==null ? null : Joiner.on(",").join(excludedAttributes.toArray());
179  }
List< String > excludedAttributes
Definition: SearchRequest.java:33

◆ getFilter()

String org.gluu.oxtrust.model.scim2.SearchRequest.getFilter ( )
inline
111  {
112  return filter;
113  }
String filter
Definition: SearchRequest.java:34

◆ getSchemas()

List<String> org.gluu.oxtrust.model.scim2.SearchRequest.getSchemas ( )
inline
54  {
55  return schemas;
56  }
List< String > schemas
Definition: SearchRequest.java:31

◆ getSortBy()

String org.gluu.oxtrust.model.scim2.SearchRequest.getSortBy ( )
inline
124  {
125  return sortBy;
126  }
String sortBy
Definition: SearchRequest.java:35

◆ getSortOrder()

String org.gluu.oxtrust.model.scim2.SearchRequest.getSortOrder ( )
inline
136  {
137  return sortOrder;
138  }
String sortOrder
Definition: SearchRequest.java:36

◆ getStartIndex()

Integer org.gluu.oxtrust.model.scim2.SearchRequest.getStartIndex ( )
inline
149  {
150  return startIndex;
151  }
Integer startIndex
Definition: SearchRequest.java:37

◆ setAttributes() [1/2]

void org.gluu.oxtrust.model.scim2.SearchRequest.setAttributes ( List< String >  attributes)
inline

Specifies a list of strings indicating the names of the resource attributes to return in response to a search, overriding the set of attributes that would be returned by default.

引数
attributesA List of Strings
76  {
77  this.attributes = attributes;
78  }
List< String > attributes
Definition: SearchRequest.java:32

◆ setAttributes() [2/2]

void org.gluu.oxtrust.model.scim2.SearchRequest.setAttributes ( String  commaSeparatedString)
inline

Specifies the names of the resource attributes to return in the response to a search, overriding the set of attributes that would be returned by default.

引数
commaSeparatedStringThe attribute names in a comma-separated String
85  {
86  setAttributes(commaSeparatedString==null ? null : Arrays.asList(commaSeparatedString.split(",")));
87  }
void setAttributes(List< String > attributes)
Definition: SearchRequest.java:76

◆ setCount()

void org.gluu.oxtrust.model.scim2.SearchRequest.setCount ( Integer  count)
inline

Specifies the desired maximum number of query results per page the response must include.

引数
countAn Integer object
169  {
170  this.count = count;
171  }
Integer count
Definition: SearchRequest.java:38

◆ setExcludedAttributes() [1/2]

void org.gluu.oxtrust.model.scim2.SearchRequest.setExcludedAttributes ( List< String >  excludedAttributes)
inline

Specifies a list of strings indicating the names of the resource attributes to be removed from the default set of attributes to return.

引数
excludedAttributesA List of Strings
99  {
101  }
List< String > excludedAttributes
Definition: SearchRequest.java:33

◆ setExcludedAttributes() [2/2]

void org.gluu.oxtrust.model.scim2.SearchRequest.setExcludedAttributes ( String  commaSeparatedString)
inline

Specifies the names of the resource attributes to be removed from the default set of attributes to return.

引数
commaSeparatedStringThe attribute names in a comma-separated String
107  {
108  setExcludedAttributes(commaSeparatedString==null ? null : Arrays.asList(commaSeparatedString.split(",")));
109  }
void setExcludedAttributes(List< String > excludedAttributes)
Definition: SearchRequest.java:99

◆ setFilter()

void org.gluu.oxtrust.model.scim2.SearchRequest.setFilter ( String  filter)
inline

A filter expression so that the search will return only those resources matching the expression. To learn more about SCIM filter expressions and operators, see section 3.4.2.2 of RFC 7644.

引数
filterA valid filter
120  {
121  this.filter = filter;
122  }
String filter
Definition: SearchRequest.java:34

◆ setSchemas()

void org.gluu.oxtrust.model.scim2.SearchRequest.setSchemas ( List< String >  schemas)
inline
58  {
59  //TODO: Delete this IF lines in the future - added for backwards compatibility with SCIM-Client <= 3.1.2.
60  if (schemas.remove("urn:ietf:params:scim:schemas:core:2.0:SearchRequest"))
61  schemas.add(SEARCH_REQUEST_SCHEMA_ID);
62 
63  this.schemas = schemas;
64  }
List< String > schemas
Definition: SearchRequest.java:31

◆ setSortBy()

void org.gluu.oxtrust.model.scim2.SearchRequest.setSortBy ( String  sortBy)
inline

Specifies the attribute whose value will be used to order the returned responses.

引数
sortByAttribute name path. Examples are: userName, name.givenName, emails.value.
132  {
133  this.sortBy = sortBy;
134  }
String sortBy
Definition: SearchRequest.java:35

◆ setSortOrder()

void org.gluu.oxtrust.model.scim2.SearchRequest.setSortOrder ( String  sortOrder)
inline

The order in which the sortBy parameter is applied. Allowed values are "ascending" and "descending", being "ascending" the default if unspecified.

引数
sortOrderA string value
145  {
146  this.sortOrder = sortOrder;
147  }
String sortOrder
Definition: SearchRequest.java:36

◆ setStartIndex()

void org.gluu.oxtrust.model.scim2.SearchRequest.setStartIndex ( Integer  startIndex)
inline

Sets the 1-based index of the first query result.

引数
startIndexSpecifies "where" the result set will start when the search is performed
157  {
158  this.startIndex = startIndex;
159  }
Integer startIndex
Definition: SearchRequest.java:37

メンバ詳解

◆ attributes

List<String> org.gluu.oxtrust.model.scim2.SearchRequest.attributes
private

◆ attributesStr

String org.gluu.oxtrust.model.scim2.SearchRequest.attributesStr
private

◆ count

Integer org.gluu.oxtrust.model.scim2.SearchRequest.count
private

◆ excludedAttributes

List<String> org.gluu.oxtrust.model.scim2.SearchRequest.excludedAttributes
private

◆ excludedAttributesStr

String org.gluu.oxtrust.model.scim2.SearchRequest.excludedAttributesStr
private

◆ filter

String org.gluu.oxtrust.model.scim2.SearchRequest.filter
private

◆ schemas

List<String> org.gluu.oxtrust.model.scim2.SearchRequest.schemas
private

◆ sortBy

String org.gluu.oxtrust.model.scim2.SearchRequest.sortBy
private

◆ sortOrder

String org.gluu.oxtrust.model.scim2.SearchRequest.sortOrder
private

◆ startIndex

Integer org.gluu.oxtrust.model.scim2.SearchRequest.startIndex
private

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