|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Store for Node objects.
| Field Summary |
| Fields inherited from interface javax.transaction.xa.XAResource |
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
| Method Summary | |
void |
createObject(Uri uri,
ObjectNode object)
Create a new object. |
void |
removeObject(Uri uri,
ObjectNode object)
Remove an object. |
ObjectNode |
retrieveObject(Uri uri)
Retrive an object. |
void |
storeObject(Uri uri,
ObjectNode object)
Update an object. |
| Methods inherited from interface org.apache.slide.common.Service |
cacheResults, connect, connect, connectIfNeeded, connectIfNeeded, disconnect, getLogger, initialize, isConnected, reset, setNamespace, setParameters, setScope |
| Methods inherited from interface javax.transaction.xa.XAResource |
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start |
| Method Detail |
public ObjectNode retrieveObject(Uri uri)
throws ServiceAccessException,
ObjectNotFoundException
uri - Uri of the object we want to retrieve
ServiceAccessException - Error accessing the Data Source
ObjectNotFoundException - The object to retrieve was not found
public void storeObject(Uri uri,
ObjectNode object)
throws ServiceAccessException,
ObjectNotFoundException
object - Object to update
ServiceAccessException - Error accessing the Data Source
ObjectNotFoundException - The object to update was not found
public void createObject(Uri uri,
ObjectNode object)
throws ServiceAccessException,
ObjectAlreadyExistsException
object - ObjectNodeuri - Uri of the object we want to create
ServiceAccessException - Error accessing the Data Source
ObjectAlreadyExistsException - An object already exists
at this Uri
public void removeObject(Uri uri,
ObjectNode object)
throws ServiceAccessException,
ObjectNotFoundException
object - Object to remove
ServiceAccessException - Error accessing the Data Source
ObjectNotFoundException - The object to remove was not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||