public class WsAssignAttributesBatchResults 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 |
WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode
result code of a request.
|
Constructor and Description |
---|
WsAssignAttributesBatchResults() |
Modifier and Type | Method and Description |
---|---|
void |
addResult(WsAssignAttributesResults wsAssignAttributesResults,
java.lang.String theError,
java.lang.Exception e,
int index)
add a result to the list of results, and keep track of all the related objects
|
void |
assignResult(java.util.List<WsAssignAttributeBatchResult> attributeAssignBatchResults,
java.lang.String[] theSubjectAttributeNames)
assign results
|
void |
assignResultCode(WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode getAttributeAssignmentsResultCode)
assign the code from the enum
|
void |
assignResultCodeException(WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode wsAssignAttributesBatchResultsCode,
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
|
WsAssignAttributeBatchResult[] |
getWsAssignAttributeBatchResultArray()
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 |
setWsAssignAttributeBatchResultArray(WsAssignAttributeBatchResult[] 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
|
boolean |
tallyResults(GrouperTransactionType grouperTransactionType,
java.lang.String theSummary)
make sure if there is an error, to record that as an error
|
public boolean tallyResults(GrouperTransactionType grouperTransactionType, java.lang.String theSummary)
grouperTransactionType
- for requesttheSummary
- public void assignResultCodeException(WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode wsAssignAttributesBatchResultsCode, java.lang.String theError, java.lang.Exception e)
wsAssignAttributesBatchResultsCode
- theError
- e
- public WsAttributeDef[] getWsAttributeDefs()
public void setWsAttributeDefs(WsAttributeDef[] wsAttributeDefs1)
wsAttributeDefs1
- public WsAttributeDefName[] getWsAttributeDefNames()
public void setWsAttributeDefNames(WsAttributeDefName[] wsAttributeDefNames1)
wsAttributeDefNames1
- public WsAssignAttributeBatchResult[] getWsAssignAttributeBatchResultArray()
public void setWsAssignAttributeBatchResultArray(WsAssignAttributeBatchResult[] wsAttributeAssignResults1)
wsAttributeAssignResults1
- public void assignResultCode(WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode getAttributeAssignmentsResultCode)
getAttributeAssignmentsResultCode
- 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<WsAssignAttributeBatchResult> attributeAssignBatchResults, java.lang.String[] theSubjectAttributeNames)
attributeAssignBatchResults
- theSubjectAttributeNames
- public void sortResults()
public void addResult(WsAssignAttributesResults wsAssignAttributesResults, java.lang.String theError, java.lang.Exception e, int index)
wsAssignAttributesResults
- theError
- e
- index
-