|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.dataentry.core.AbstractMessage
pt.moredata.dataentry.core.DefaultResponseMessage
Company MoreData
| Field Summary |
| Fields inherited from interface pt.moredata.dataentry.core.ResponseMessage |
EXEC_CANCEL, EXEC_ERROR, EXEC_SUCESS |
| Constructor Summary | |
DefaultResponseMessage(DataEntry dataEntry)
Cria um novo RequestMessage com a entrada de dados proveniente do RequestManager e uma vista sobre o DAO usado no pedido. |
|
DefaultResponseMessage(int executionCode)
Creates a new instance of SimpleAnswerMessage |
|
DefaultResponseMessage(java.lang.String errorString,
java.lang.Throwable cause)
Creates a new instance of SimpleAnswerMessage |
|
| Method Summary | |
DataEntry |
getDataEntry()
Devolve o DataEntry usado pelo pedido |
java.lang.String |
getErrorString()
Getter for property errorString. |
java.lang.Throwable |
getException()
Getter for property exception. |
int |
getExecutionCode()
Devolve um codigo que indica o resultado da execução da Action. |
void |
setErrorString(java.lang.String errorString)
Setter for property errorString. |
void |
setException(java.lang.Throwable exception)
Setter for property exception. |
| Methods inherited from class pt.moredata.dataentry.core.AbstractMessage |
getParameter, putParameter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface pt.moredata.dataentry.core.Message |
getParameter, putParameter |
| Constructor Detail |
public DefaultResponseMessage(DataEntry dataEntry)
throws NullDataEntryException
dataEntry - Entrada de dados usada no pedido.
NullDataEntryException - Se o dataEntry for nulo.
public DefaultResponseMessage(java.lang.String errorString,
java.lang.Throwable cause)
errorString - Menssagem de erro.cause - Excepcao geradapublic DefaultResponseMessage(int executionCode)
| Method Detail |
public DataEntry getDataEntry()
getDataEntry in interface ResponseMessagepublic java.lang.String getErrorString()
getErrorString in interface ResponseMessagepublic void setErrorString(java.lang.String errorString)
setErrorString in interface ResponseMessageerrorString - New value of property errorString.public java.lang.Throwable getException()
getException in interface ResponseMessagepublic void setException(java.lang.Throwable exception)
setException in interface ResponseMessageexception - New value of property exception.public int getExecutionCode()
getExecutionCode in interface ResponseMessage
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||