net.sourceforge.blogentis.slide
Class UserAdapterStore
java.lang.Object
org.apache.slide.common.AbstractServiceBase
org.apache.slide.common.AbstractXAService
net.sourceforge.blogentis.slide.UserAdapterStore
- All Implemented Interfaces:
- org.apache.slide.store.NodeStore, org.apache.slide.common.Service, javax.transaction.xa.XAResource
- public class UserAdapterStore
- extends org.apache.slide.common.AbstractXAService
- implements org.apache.slide.store.NodeStore
- Author:
- abas
Fields inherited from class org.apache.slide.common.AbstractServiceBase |
LOG_CHANNEL, namespace, scope |
Fields inherited from interface javax.transaction.xa.XAResource |
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
Method Summary |
void |
commit(javax.transaction.xa.Xid arg0,
boolean arg1)
|
void |
connect()
|
void |
createObject(org.apache.slide.common.Uri uri,
org.apache.slide.structure.ObjectNode object)
|
void |
disconnect()
|
void |
end(javax.transaction.xa.Xid arg0,
int arg1)
|
void |
forget(javax.transaction.xa.Xid arg0)
|
int |
getTransactionTimeout()
|
boolean |
isConnected()
|
boolean |
isSameRM(javax.transaction.xa.XAResource arg0)
|
int |
prepare(javax.transaction.xa.Xid arg0)
|
javax.transaction.xa.Xid[] |
recover(int arg0)
|
void |
removeObject(org.apache.slide.common.Uri uri,
org.apache.slide.structure.ObjectNode object)
|
void |
reset()
|
org.apache.slide.structure.ObjectNode |
retrieveObject(org.apache.slide.common.Uri uri)
|
void |
rollback(javax.transaction.xa.Xid arg0)
|
void |
setParameters(java.util.Hashtable parameters)
|
boolean |
setTransactionTimeout(int arg0)
|
void |
start(javax.transaction.xa.Xid arg0,
int arg1)
|
void |
storeObject(org.apache.slide.common.Uri uri,
org.apache.slide.structure.ObjectNode object)
|
Methods inherited from class org.apache.slide.common.AbstractServiceBase |
cacheResults, connect, connectIfNeeded, connectIfNeeded, getLogger, initialize, setNamespace, setScope |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.slide.common.Service |
cacheResults, connect, connectIfNeeded, connectIfNeeded, getLogger, initialize, setNamespace, setScope |
UserAdapterStore
public UserAdapterStore()
setParameters
public void setParameters(java.util.Hashtable parameters)
throws org.apache.slide.common.ServiceParameterErrorException,
org.apache.slide.common.ServiceParameterMissingException
- Specified by:
setParameters
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceParameterErrorException
org.apache.slide.common.ServiceParameterMissingException
connect
public void connect()
throws org.apache.slide.common.ServiceConnectionFailedException
- Specified by:
connect
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceConnectionFailedException
disconnect
public void disconnect()
throws org.apache.slide.common.ServiceDisconnectionFailedException
- Specified by:
disconnect
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceDisconnectionFailedException
reset
public void reset()
throws org.apache.slide.common.ServiceResetFailedException
- Specified by:
reset
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceResetFailedException
isConnected
public boolean isConnected()
throws org.apache.slide.common.ServiceAccessException
- Specified by:
isConnected
in interface org.apache.slide.common.Service
- Throws:
org.apache.slide.common.ServiceAccessException
getTransactionTimeout
public int getTransactionTimeout()
throws javax.transaction.xa.XAException
- Specified by:
getTransactionTimeout
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
setTransactionTimeout
public boolean setTransactionTimeout(int arg0)
throws javax.transaction.xa.XAException
- Specified by:
setTransactionTimeout
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
isSameRM
public boolean isSameRM(javax.transaction.xa.XAResource arg0)
throws javax.transaction.xa.XAException
- Specified by:
isSameRM
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
recover
public javax.transaction.xa.Xid[] recover(int arg0)
throws javax.transaction.xa.XAException
- Specified by:
recover
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
prepare
public int prepare(javax.transaction.xa.Xid arg0)
throws javax.transaction.xa.XAException
- Specified by:
prepare
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
forget
public void forget(javax.transaction.xa.Xid arg0)
throws javax.transaction.xa.XAException
- Specified by:
forget
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
rollback
public void rollback(javax.transaction.xa.Xid arg0)
throws javax.transaction.xa.XAException
- Specified by:
rollback
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
end
public void end(javax.transaction.xa.Xid arg0,
int arg1)
throws javax.transaction.xa.XAException
- Specified by:
end
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
start
public void start(javax.transaction.xa.Xid arg0,
int arg1)
throws javax.transaction.xa.XAException
- Specified by:
start
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
commit
public void commit(javax.transaction.xa.Xid arg0,
boolean arg1)
throws javax.transaction.xa.XAException
- Specified by:
commit
in interface javax.transaction.xa.XAResource
- Throws:
javax.transaction.xa.XAException
retrieveObject
public org.apache.slide.structure.ObjectNode retrieveObject(org.apache.slide.common.Uri uri)
throws org.apache.slide.common.ServiceAccessException,
org.apache.slide.structure.ObjectNotFoundException
- Specified by:
retrieveObject
in interface org.apache.slide.store.NodeStore
- Throws:
org.apache.slide.common.ServiceAccessException
org.apache.slide.structure.ObjectNotFoundException
storeObject
public void storeObject(org.apache.slide.common.Uri uri,
org.apache.slide.structure.ObjectNode object)
throws org.apache.slide.common.ServiceAccessException,
org.apache.slide.structure.ObjectNotFoundException
- Specified by:
storeObject
in interface org.apache.slide.store.NodeStore
- Throws:
org.apache.slide.common.ServiceAccessException
org.apache.slide.structure.ObjectNotFoundException
createObject
public void createObject(org.apache.slide.common.Uri uri,
org.apache.slide.structure.ObjectNode object)
throws org.apache.slide.common.ServiceAccessException,
org.apache.slide.structure.ObjectAlreadyExistsException
- Specified by:
createObject
in interface org.apache.slide.store.NodeStore
- Throws:
org.apache.slide.common.ServiceAccessException
org.apache.slide.structure.ObjectAlreadyExistsException
removeObject
public void removeObject(org.apache.slide.common.Uri uri,
org.apache.slide.structure.ObjectNode object)
throws org.apache.slide.common.ServiceAccessException,
org.apache.slide.structure.ObjectNotFoundException
- Specified by:
removeObject
in interface org.apache.slide.store.NodeStore
- Throws:
org.apache.slide.common.ServiceAccessException
org.apache.slide.structure.ObjectNotFoundException
Copyright © 2003-2004 SourceForge.net. All Rights Reserved.