public class WsGetSubjectsResults extends java.lang.Object implements WsResponseBean, ResultMetadataHolder
results for the get memberships call, or the get memberships lite call result code: code of the result for this group overall SUCCESS: means everything ok GROUP_NOT_FOUND: cant find the group INVALID_QUERY: bad inputs EXCEPTION: something bad happened
Modifier and Type | Class and Description |
---|---|
static class |
WsGetSubjectsResults.WsGetSubjectsResultsCode
result code of a request
|
Constructor and Description |
---|
WsGetSubjectsResults() |
Modifier and Type | Method and Description |
---|---|
void |
assignResult(java.util.Set<Subject> subjectSet,
boolean includeGroupDetail,
boolean includeSubjectDetail,
java.lang.String[] theSubjectAttributeNames,
java.util.Set<WsSubjectLookup> wsSubjectLookups)
convert members to subject results
|
void |
assignResultCode(WsGetSubjectsResults.WsGetSubjectsResultsCode getMembersResultCode)
assign the code from the enum
|
void |
assignResultCodeException(WsGetSubjectsResults.WsGetSubjectsResultsCode wsGetMembershipsResultsCodeOverride,
java.lang.String theError,
java.lang.Exception e)
process an exception, log, etc
|
WsResponseMeta |
getResponseMetadata()
get the response metadata
|
WsResultMeta |
getResultMetadata()
get the result metadata
|
java.lang.String[] |
getSubjectAttributeNames()
attributes of subjects returned, in same order as the data
|
WsGroup |
getWsGroup() |
WsSubject[] |
getWsSubjects()
subjects that are in the results
|
void |
setResponseMetadata(WsResponseMeta responseMetadata1) |
void |
setResultMetadata(WsResultMeta resultMetadata1)
result metadata
|
void |
setSubjectAttributeNames(java.lang.String[] attributeNamesa)
attributes of subjects returned, in same order as the data
|
void |
setWsGroup(WsGroup wsGroup1) |
void |
setWsSubjects(WsSubject[] wsSubjects1)
subjects that are in the results
|
public void setResultMetadata(WsResultMeta resultMetadata1)
resultMetadata1
- public void assignResultCode(WsGetSubjectsResults.WsGetSubjectsResultsCode getMembersResultCode)
getMembersResultCode
- public WsSubject[] getWsSubjects()
public void setWsSubjects(WsSubject[] wsSubjects1)
wsSubjects1
- public java.lang.String[] getSubjectAttributeNames()
public void setSubjectAttributeNames(java.lang.String[] attributeNamesa)
attributeNamesa
- the attributeNames to setpublic void assignResult(java.util.Set<Subject> subjectSet, boolean includeGroupDetail, boolean includeSubjectDetail, java.lang.String[] theSubjectAttributeNames, java.util.Set<WsSubjectLookup> wsSubjectLookups)
subjectSet
- includeGroupDetail
- includeSubjectDetail
- theSubjectAttributeNames
- wsSubjectLookups
- public void assignResultCodeException(WsGetSubjectsResults.WsGetSubjectsResultsCode wsGetMembershipsResultsCodeOverride, java.lang.String theError, java.lang.Exception e)
wsGetMembershipsResultsCodeOverride
- theError
- e
- public WsResultMeta getResultMetadata()
WsResponseBean
getResultMetadata
in interface WsResponseBean
getResultMetadata
in interface ResultMetadataHolder
public WsResponseMeta getResponseMetadata()
WsResponseBean
getResponseMetadata
in interface WsResponseBean
WsResponseBean.getResponseMetadata()
public void setResponseMetadata(WsResponseMeta responseMetadata1)
responseMetadata1
- the responseMetadata to setpublic WsGroup getWsGroup()
public void setWsGroup(WsGroup wsGroup1)
wsGroup1
- the wsGroups to set