|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.client.ActionStatus
public class ActionStatus
ActionStatus contains information about the results of a batch operation. It has a summary code and summary message as well as a status for each entry acted upon.
Nested Class Summary | |
---|---|
static class |
ActionStatus.SummaryStatusCode
The possible values of action summary status. |
Constructor Summary | |
---|---|
ActionStatus(ActionStatus.SummaryStatusCode summaryStatusCode,
String summaryMessage,
List<ActionStatusEntry> entries,
Map<String,String> messages)
Constructor |
Method Summary | |
---|---|
List<ActionStatusEntry> |
getEntries()
Gets status entries for all files acted upon |
String |
getEntryMessage(String code)
Looks up the descriptive message based on the code provided |
String |
getSummaryMessage()
Gets the summary message describing the outcome of the batch operation. |
ActionStatus.SummaryStatusCode |
getSummaryStatusCode()
Gets the summary status code indicating the most severe outcome (ERROR) encountered during the batch operation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionStatus(ActionStatus.SummaryStatusCode summaryStatusCode, String summaryMessage, List<ActionStatusEntry> entries, Map<String,String> messages)
summaryStatusCode
- Code indicating the most severe outcome (ERROR) encountered of all files acted uponsummaryMessage
- Summary message describing the summary outcome of all files acted upon.entries
- ActionStatusEntry Status of each file acted upon including code and messagemessages
- A map containing messages for the action status entriesMethod Detail |
---|
public List<ActionStatusEntry> getEntries()
public ActionStatus.SummaryStatusCode getSummaryStatusCode()
public String getSummaryMessage()
public String getEntryMessage(String code)
code
- Code to look up message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |