public class WsAssignAttributesBatchResults extends 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,
String theError,
Exception e,
int index)
add a result to the list of results, and keep track of all the related objects
|
void |
assignResult(List<WsAssignAttributeBatchResult> attributeAssignBatchResults,
String[] theSubjectAttributeNames)
assign results
|
void |
assignResultCode(WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode getAttributeAssignmentsResultCode)
assign the code from the enum
|
void |
assignResultCodeException(WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode wsAssignAttributesBatchResultsCode,
String theError,
Exception e)
process an exception, log, etc
|
WsResponseMeta |
getResponseMetadata()
get the response metadata
|
WsResultMeta |
getResultMetadata()
get the result metadata
|
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(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(edu.internet2.middleware.grouper.hibernate.GrouperTransactionType grouperTransactionType,
String theSummary)
make sure if there is an error, to record that as an error
|
public boolean tallyResults(edu.internet2.middleware.grouper.hibernate.GrouperTransactionType grouperTransactionType,
String theSummary)
grouperTransactionType - for requesttheSummary - public void assignResultCodeException(WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode wsAssignAttributesBatchResultsCode, String theError, 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 String[] getSubjectAttributeNames()
public void setSubjectAttributeNames(String[] attributeNamesa)
attributeNamesa - the attributeNames to setpublic WsResultMeta getResultMetadata()
WsResponseBeangetResultMetadata in interface WsResponseBeangetResultMetadata in interface ResultMetadataHolderpublic WsStem[] getWsStems()
public void setWsStems(WsStem[] wsStems1)
wsStems1 - public WsResponseMeta getResponseMetadata()
WsResponseBeangetResponseMetadata in interface WsResponseBeanWsResponseBean.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(List<WsAssignAttributeBatchResult> attributeAssignBatchResults, String[] theSubjectAttributeNames)
attributeAssignBatchResults - theSubjectAttributeNames - public void sortResults()
public void addResult(WsAssignAttributesResults wsAssignAttributesResults, String theError, Exception e, int index)
wsAssignAttributesResults - theError - e - index - Copyright © 2016 Internet2. All rights reserved.