|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Store for Node objects.
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, 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 retrieveServiceAccessException
- Error accessing the Data SourceObjectNotFoundException
- The object to retrieve was not foundpublic void storeObject(Uri uri, ObjectNode object) throws ServiceAccessException, ObjectNotFoundException
object
- Object to updateServiceAccessException
- Error accessing the Data SourceObjectNotFoundException
- The object to update was not foundpublic void createObject(Uri uri, ObjectNode object) throws ServiceAccessException, ObjectAlreadyExistsException
object
- ObjectNodeuri
- Uri of the object we want to createServiceAccessException
- Error accessing the Data SourceObjectAlreadyExistsException
- An object already exists
at this Uripublic void removeObject(Uri uri, ObjectNode object) throws ServiceAccessException, ObjectNotFoundException
object
- Object to removeServiceAccessException
- Error accessing the Data SourceObjectNotFoundException
- The object to remove was not found
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |