public abstract class AbstractRemoteDao
extends java.lang.Object
AppmasterScOperations
.Constructor and Description |
---|
AbstractRemoteDao()
Default constructor.
|
AbstractRemoteDao(AppmasterMindScOperations appmasterScOperations)
Constructor which sets the
AppmasterMindScOperations . |
Modifier and Type | Method and Description |
---|---|
protected void |
checkResponseMayThrow(BaseResponseObject responseObject)
Checks status of a response and throws an exception if response status
message is set to 'error'.
|
protected org.springframework.dao.DataAccessException |
convertException(java.lang.Exception e)
Converts given exception to Spring dao exception.
|
AppmasterMindScOperations |
getAppmasterScOperations()
Gets the
AppmasterMindScOperations for this implementation. |
void |
setAppmasterScOperations(AppmasterMindScOperations appmasterScOperations)
Sets the
AppmasterMindScOperations for this implementation. |
public AbstractRemoteDao()
AppmasterMindScOperations
should be
set via setAppmasterScOperations(AppmasterMindScOperations)
method.public AbstractRemoteDao(AppmasterMindScOperations appmasterScOperations)
AppmasterMindScOperations
.appmasterScOperations
- AppmasterMindScOperations
to setpublic AppmasterMindScOperations getAppmasterScOperations()
AppmasterMindScOperations
for this implementation.AppmasterMindScOperations
used for this implementationpublic void setAppmasterScOperations(AppmasterMindScOperations appmasterScOperations)
AppmasterMindScOperations
for this implementation.appmasterScOperations
- the AppmasterMindScOperations
protected void checkResponseMayThrow(BaseResponseObject responseObject) throws java.rmi.RemoteException
responseObject
- the response objectjava.rmi.RemoteException
- if state is set to errorprotected org.springframework.dao.DataAccessException convertException(java.lang.Exception e)
e
- the exception