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

公開メンバ関数

 ListResponse ()
 
 ListResponse (int sindex, int ippage, int total)
 
void addResource (BaseScimResource resource)
 
int getTotalResults ()
 
int getStartIndex ()
 
int getItemsPerPage ()
 
List< BaseScimResourcegetResources ()
 
void setResources (List< BaseScimResource > resources)
 
List< String > getSchemas ()
 
void setSchemas (List< String > schemas)
 

非公開メンバ関数

void initSchemas ()
 

非公開変数類

List< String > schemas
 
int totalResults
 
int startIndex
 
int itemsPerPage
 
List< BaseScimResourceresources
 

詳解

This class models the contents of a search response. See section 3.4.2 RFC 7644.

著者
Rahat Ali Date: 05.08.2015

構築子と解体子

◆ ListResponse() [1/2]

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

Default no arg constructor. It creates a instance of ListResponse with the schemas properly initialized.

36  {
37  initSchemas();
38  }
void initSchemas()
Definition: ListResponse.java:54

◆ ListResponse() [2/2]

org.gluu.oxtrust.model.scim2.ListResponse.ListResponse ( int  sindex,
int  ippage,
int  total 
)
inline

Constructs a list response with the arguments supplied, and schemas initialized properly.

引数
sindexSpecifies a start index
ippageSpecifies a number of items per page
totalSpecifies a total number of results
46  {
47  initSchemas();
48  totalResults=total;
49  startIndex=sindex;
50  itemsPerPage=ippage;
51  resources =new ArrayList<BaseScimResource>();
52  }
void initSchemas()
Definition: ListResponse.java:54
int totalResults
Definition: ListResponse.java:25
int itemsPerPage
Definition: ListResponse.java:27
List< BaseScimResource > resources
Definition: ListResponse.java:30
int startIndex
Definition: ListResponse.java:26

関数詳解

◆ addResource()

void org.gluu.oxtrust.model.scim2.ListResponse.addResource ( BaseScimResource  resource)
inline

Adds the resource to the list of results of this ListResponse.

引数
resourceA SCIM resource
63  {
64  resources.add(resource);
65  }
List< BaseScimResource > resources
Definition: ListResponse.java:30

◆ getItemsPerPage()

int org.gluu.oxtrust.model.scim2.ListResponse.getItemsPerPage ( )
inline
75  {
76  return itemsPerPage;
77  }
int itemsPerPage
Definition: ListResponse.java:27

◆ getResources()

List<BaseScimResource> org.gluu.oxtrust.model.scim2.ListResponse.getResources ( )
inline

Retrieves a list with all resources contained in this ListResponse.

戻り値
A List of BaseScimResource objects
83  {
84  return resources;
85  }
List< BaseScimResource > resources
Definition: ListResponse.java:30

◆ getSchemas()

List<String> org.gluu.oxtrust.model.scim2.ListResponse.getSchemas ( )
inline
91  {
92  return schemas;
93  }
List< String > schemas
Definition: ListResponse.java:24

◆ getStartIndex()

int org.gluu.oxtrust.model.scim2.ListResponse.getStartIndex ( )
inline
71  {
72  return startIndex;
73  }
int startIndex
Definition: ListResponse.java:26

◆ getTotalResults()

int org.gluu.oxtrust.model.scim2.ListResponse.getTotalResults ( )
inline
67  {
68  return totalResults;
69  }
int totalResults
Definition: ListResponse.java:25

◆ initSchemas()

void org.gluu.oxtrust.model.scim2.ListResponse.initSchemas ( )
inlineprivate
54  {
55  schemas=new ArrayList<String>();
56  schemas.add(LIST_RESPONSE_SCHEMA_ID);
57  }
List< String > schemas
Definition: ListResponse.java:24

◆ setResources()

void org.gluu.oxtrust.model.scim2.ListResponse.setResources ( List< BaseScimResource resources)
inline
87  {
88  this.resources = resources;
89  }
List< BaseScimResource > resources
Definition: ListResponse.java:30

◆ setSchemas()

void org.gluu.oxtrust.model.scim2.ListResponse.setSchemas ( List< String >  schemas)
inline
95  {
96  this.schemas = schemas;
97  }
List< String > schemas
Definition: ListResponse.java:24

メンバ詳解

◆ itemsPerPage

int org.gluu.oxtrust.model.scim2.ListResponse.itemsPerPage
private

◆ resources

List<BaseScimResource> org.gluu.oxtrust.model.scim2.ListResponse.resources
private

◆ schemas

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

◆ startIndex

int org.gluu.oxtrust.model.scim2.ListResponse.startIndex
private

◆ totalResults

int org.gluu.oxtrust.model.scim2.ListResponse.totalResults
private

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