|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouperClient.ws.beans.WsResultMeta
public class WsResultMeta
result metadata (if success, result code, etc) for one result (each ws call can have one or many result metadatas)
Constructor Summary | |
---|---|
WsResultMeta()
|
Method Summary | |
---|---|
void |
assignHttpStatusCode(int statusCode1)
status code for http lite / rest . |
void |
assignResultCode(String resultCode1)
code of the result for this subject SUCCESS: means everything ok SUBJECT_NOT_FOUND: cant find the subject SUBJECT_DUPLICATE: found multiple subjects |
void |
assignSuccess(String success1)
T or F as to whether it was a successful assignment |
WsParam[] |
getParams()
|
String |
getResultCode()
code of the result for this subject SUCCESS: means everything ok SUBJECT_NOT_FOUND: cant find the subject SUBJECT_DUPLICATE: found multiple subjects |
String |
getResultCode2()
reserved for future purpose |
String |
getResultMessage()
error message if there is an error |
String |
getSuccess()
T or F as to whether it was a successful assignment |
int |
retrieveHttpStatusCode()
status code for http lite / rest . |
void |
setParams(WsParam[] params1)
|
void |
setResultCode(String resultCode1)
|
void |
setResultCode2(String resultCode1)
|
void |
setResultMessage(String errorMessage)
error message if there is an error |
void |
setSuccess(String theSuccess)
T or F as to whether it was a successful assignment |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WsResultMeta()
Method Detail |
---|
public String getResultCode()
code of the result for this subject SUCCESS: means everything ok SUBJECT_NOT_FOUND: cant find the subject SUBJECT_DUPLICATE: found multiple subjects
public String getResultCode2()
reserved for future purpose
public String getResultMessage()
public String getSuccess()
public void setResultCode(String resultCode1)
resultCode1
- the resultCode to setpublic void setResultCode2(String resultCode1)
resultCode1
- the resultCode2 to setpublic void setSuccess(String theSuccess)
theSuccess
- T | Fpublic void assignResultCode(String resultCode1)
code of the result for this subject SUCCESS: means everything ok SUBJECT_NOT_FOUND: cant find the subject SUBJECT_DUPLICATE: found multiple subjects
resultCode1
- the resultCode to setpublic void setResultMessage(String errorMessage)
errorMessage
- the errorMessage to setpublic void assignSuccess(String success1)
success1
- the success to setpublic int retrieveHttpStatusCode()
public void assignHttpStatusCode(int statusCode1)
statusCode1
- the status code e.g. 200, if 500, then not inittedpublic WsParam[] getParams()
public void setParams(WsParam[] params1)
params1
- the params to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |