|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a store which is used by the Slide API to access data.
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 |
exclusiveTransientLock(java.lang.String uri)
Acquires an exclusive access lock to a resource. |
java.lang.String |
getName()
Return the name of the store as specified in domain.xml. |
java.lang.Object |
getParameter(java.lang.Object key)
Get parameter value for specified key |
void |
setContentIndexer(IndexStore contentStore)
Set the contentIndex store associated with this store. |
void |
setContentStore(ContentStore contentStore)
Set the content store associated with this store. |
void |
setLockStore(LockStore lockStore)
Set the lock store associated with this store. |
void |
setName(java.lang.String name)
Set the name of the store as specified in domain.xml. |
void |
setNodeStore(NodeStore nodeStore)
Set the node store associated with this store. |
void |
setPropertiesIndexer(IndexStore contentStore)
Set the descriptorIndex store associated with this store. |
void |
setRevisionDescriptorsStore(RevisionDescriptorsStore revisionDescriptorsStore)
Set the revision descriptors store associated with this store. |
void |
setRevisionDescriptorStore(RevisionDescriptorStore revisionDescriptorStore)
Set the revision descriptor store associated with this store. |
void |
setScope(Scope scope)
Set the scope of the store as specified in domain.xml. |
void |
setSecurityStore(SecurityStore securityStore)
Set the security store associated with this store. |
void |
setSequenceStore(SequenceStore sequenceStore)
Sets the sequence store associated with this store. |
boolean |
useBinding()
Returns true if binding is supported an enabled for this store |
Methods inherited from interface org.apache.slide.store.ContentStore |
createRevisionContent, removeRevisionContent, retrieveRevisionContent, storeRevisionContent |
Methods inherited from interface org.apache.slide.common.Service |
cacheResults, connect, connect, connectIfNeeded, connectIfNeeded, disconnect, getLogger, initialize, isConnected, reset, setNamespace, setParameters |
Methods inherited from interface javax.transaction.xa.XAResource |
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start |
Methods inherited from interface org.apache.slide.store.LockStore |
enumerateLocks, killLock, putLock, removeLock, renewLock |
Methods inherited from interface org.apache.slide.store.NodeStore |
createObject, removeObject, retrieveObject, storeObject |
Methods inherited from interface org.apache.slide.store.RevisionDescriptorStore |
createRevisionDescriptor, removeRevisionDescriptor, retrieveRevisionDescriptor, storeRevisionDescriptor |
Methods inherited from interface org.apache.slide.store.RevisionDescriptorsStore |
createRevisionDescriptors, removeRevisionDescriptors, retrieveRevisionDescriptors, storeRevisionDescriptors |
Methods inherited from interface org.apache.slide.store.SecurityStore |
enumeratePermissions, grantPermission, revokePermission, revokePermissions |
Methods inherited from interface org.apache.slide.store.SequenceStore |
createSequence, isSequenceSupported, nextSequenceValue, sequenceExists |
Method Detail |
public void setScope(Scope scope)
setScope
in interface Service
public void setName(java.lang.String name)
public java.lang.String getName()
public java.lang.Object getParameter(java.lang.Object key)
key
- an Object
public void setNodeStore(NodeStore nodeStore)
public void setSecurityStore(SecurityStore securityStore)
public void setLockStore(LockStore lockStore)
public void setRevisionDescriptorsStore(RevisionDescriptorsStore revisionDescriptorsStore)
public void setRevisionDescriptorStore(RevisionDescriptorStore revisionDescriptorStore)
public void setContentStore(ContentStore contentStore)
public void setPropertiesIndexer(IndexStore contentStore)
public void setContentIndexer(IndexStore contentStore)
public void setSequenceStore(SequenceStore sequenceStore)
public boolean useBinding()
public void exclusiveTransientLock(java.lang.String uri) throws ServiceAccessException
uri
- the URI of the resource you want to have exclusive access to
ServiceAccessException
- thrown if anything goes wrong, including the lock can not be acquired
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |