public class WsAssignAttributesResults extends java.lang.Object implements WsResponseBean, ResultMetadataHolder
results for assigning attributes call. result code: code of the result for this attribute assignment overall SUCCESS: means everything ok INSUFFICIENT_PRIVILEGES: problem with some input where privileges are not sufficient INVALID_QUERY: bad inputs EXCEPTION: something bad happened
Modifier and Type | Class and Description |
---|---|
static class |
WsAssignAttributesResults.WsAssignAttributesResultsCode
result code of a request.
|
Constructor and Description |
---|
WsAssignAttributesResults() |
Modifier and Type | Method and Description |
---|---|
void |
assignResult(java.util.List<WsAssignAttributeResult> attributeAssignResults,
java.lang.String[] theSubjectAttributeNames)
assign results
|
void |
assignResultCode(WsAssignAttributesResults.WsAssignAttributesResultsCode getAttributeAssignmentsResultCode)
assign the code from the enum
|
void |
assignResultCodeException(WsAssignAttributesResults.WsAssignAttributesResultsCode wsGetAttributeAssignmentsResultsCodeOverride,
java.lang.String theError,
java.lang.Exception e)
prcess an exception, log, etc
|
void |
fillInAttributeDefNames(java.util.Set<java.lang.String> attributeDefNameIds)
pass in the attribute def name ids that were found by inputs, and add the attribute
def name ids found by the attribute assign results
|
void |
fillInAttributeDefs(java.util.Set<java.lang.String> attributeDefIds)
pass in the attribute def ids that were found by inputs, and add the attribute
def ids found by the attribute assign results
|
void |
fillInGroups(java.util.Set<java.lang.String> groupIds,
boolean includeGroupDetail)
pass in the group ids that were found by inputs, and add the group id
found by the attribute assign results
|
void |
fillInMemberships(java.util.Set<java.lang.String> membershipIds)
pass in the stem ids that were found by inputs, and add the stem id
found by the attribute assign results
|
void |
fillInStems(java.util.Set<java.lang.String> stemIds)
pass in the stem ids that were found by inputs, and add the stem id
found by the attribute assign results
|
void |
fillInSubjects(WsSubjectLookup[] subjectLookups,
java.util.Set<java.lang.String> extraMemberIds,
boolean includeSubjectDetail,
java.lang.String[] theSubjectAttributeNames)
pass in the subject lookups that were found by inputs, and add the subject ids
found by the attribute assign results
|
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
|
WsAssignAttributeResult[] |
getWsAttributeAssignResults()
the assignment results being queried
|
WsAttributeDefName[] |
getWsAttributeDefNames()
attribute def names referenced in the assignments or inputs (and able to read)
|
WsAttributeDef[] |
getWsAttributeDefs()
attribute def references in the assignments or inputs (and able to be read)
|
WsGroup[] |
getWsGroups() |
WsMembership[] |
getWsMemberships()
results for each assignment sent in
|
WsStem[] |
getWsStems()
stems that are in the results
|
WsSubject[] |
getWsSubjects()
subjects that are in the results
|
void |
setResponseMetadata(WsResponseMeta responseMetadata1) |
void |
setResultMetadata(WsResultMeta resultMetadata1) |
void |
setSubjectAttributeNames(java.lang.String[] attributeNamesa)
attributes of subjects returned, in same order as the data
|
void |
setWsAttributeAssignResults(WsAssignAttributeResult[] wsAttributeAssignResults1)
the assignment results being queried
|
void |
setWsAttributeDefNames(WsAttributeDefName[] wsAttributeDefNames1)
attribute def names referenced in the assignments or inputs (and able to read)
|
void |
setWsAttributeDefs(WsAttributeDef[] wsAttributeDefs1)
attribute def references in the assignments or inputs (and able to be read)
|
void |
setWsGroups(WsGroup[] wsGroup1) |
void |
setWsMemberships(WsMembership[] results1)
results for each assignment sent in
|
void |
setWsStems(WsStem[] wsStems1)
stems that are in the results
|
void |
setWsSubjects(WsSubject[] wsSubjects1)
subjects that are in the results
|
void |
sortResults()
sort the results by assignment
|
public WsAttributeDef[] getWsAttributeDefs()
public void setWsAttributeDefs(WsAttributeDef[] wsAttributeDefs1)
wsAttributeDefs1
- public WsAttributeDefName[] getWsAttributeDefNames()
public void setWsAttributeDefNames(WsAttributeDefName[] wsAttributeDefNames1)
wsAttributeDefNames1
- public WsAssignAttributeResult[] getWsAttributeAssignResults()
public void setWsAttributeAssignResults(WsAssignAttributeResult[] wsAttributeAssignResults1)
wsAttributeAssignResults1
- public void assignResultCode(WsAssignAttributesResults.WsAssignAttributesResultsCode getAttributeAssignmentsResultCode)
getAttributeAssignmentsResultCode
- public void assignResultCodeException(WsAssignAttributesResults.WsAssignAttributesResultsCode wsGetAttributeAssignmentsResultsCodeOverride, java.lang.String theError, java.lang.Exception e)
wsGetAttributeAssignmentsResultsCodeOverride
- theError
- e
- public java.lang.String[] getSubjectAttributeNames()
public void setSubjectAttributeNames(java.lang.String[] attributeNamesa)
attributeNamesa
- the attributeNames to setpublic WsResultMeta getResultMetadata()
WsResponseBean
getResultMetadata
in interface WsResponseBean
getResultMetadata
in interface ResultMetadataHolder
public WsStem[] getWsStems()
public void setWsStems(WsStem[] wsStems1)
wsStems1
- public WsResponseMeta getResponseMetadata()
WsResponseBean
getResponseMetadata
in interface WsResponseBean
WsResponseBean.getResponseMetadata()
public void setResultMetadata(WsResultMeta resultMetadata1)
resultMetadata1
- the resultMetadata to setpublic void setResponseMetadata(WsResponseMeta responseMetadata1)
responseMetadata1
- the responseMetadata to setpublic WsGroup[] getWsGroups()
public WsMembership[] getWsMemberships()
public WsSubject[] getWsSubjects()
public void setWsGroups(WsGroup[] wsGroup1)
wsGroup1
- the wsGroups to setpublic void setWsMemberships(WsMembership[] results1)
results1
- the results to setpublic void setWsSubjects(WsSubject[] wsSubjects1)
wsSubjects1
- public void assignResult(java.util.List<WsAssignAttributeResult> attributeAssignResults, java.lang.String[] theSubjectAttributeNames)
attributeAssignResults
- theSubjectAttributeNames
- public void sortResults()
public void fillInAttributeDefs(java.util.Set<java.lang.String> attributeDefIds)
attributeDefIds
- public void fillInGroups(java.util.Set<java.lang.String> groupIds, boolean includeGroupDetail)
groupIds
- includeGroupDetail
- public void fillInStems(java.util.Set<java.lang.String> stemIds)
stemIds
- public void fillInMemberships(java.util.Set<java.lang.String> membershipIds)
membershipIds
- public void fillInSubjects(WsSubjectLookup[] subjectLookups, java.util.Set<java.lang.String> extraMemberIds, boolean includeSubjectDetail, java.lang.String[] theSubjectAttributeNames)
subjectLookups
- extraMemberIds
- includeSubjectDetail
- theSubjectAttributeNames
- public void fillInAttributeDefNames(java.util.Set<java.lang.String> attributeDefNameIds)
attributeDefNameIds
-