org.apache.slide.store
Interface Store

All Superinterfaces:
ContentStore, LockStore, NodeStore, RevisionDescriptorsStore, RevisionDescriptorStore, SecurityStore, Service, javax.transaction.xa.XAResource
All Known Implementing Classes:
AbstractStore

public interface Store
extends ContentStore, LockStore, NodeStore, RevisionDescriptorStore, RevisionDescriptorsStore, SecurityStore

Represents a store which is used by the Slide API to access data.

Version:
$Revision: 1.4 $
Author:
Remy Maucherat

Fields inherited from interface javax.transaction.xa.XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
 
Method Summary
 java.lang.String getName()
          Return the name of the store as specified in domain.xml.
 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 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.
 
Methods inherited from interface org.apache.slide.store.ContentStore
createRevisionContent, removeRevisionContent, retrieveRevisionContent, storeRevisionContent
 
Methods inherited from interface org.apache.slide.common.Service
cacheResults, connect, 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
 

Method Detail

setScope

public void setScope(Scope scope)
Set the scope of the store as specified in domain.xml.
Specified by:
setScope in interface Service

setName

public void setName(java.lang.String name)
Set the name of the store as specified in domain.xml.

getName

public java.lang.String getName()
Return the name of the store as specified in domain.xml.

setNodeStore

public void setNodeStore(NodeStore nodeStore)
Set the node store associated with this store.

setSecurityStore

public void setSecurityStore(SecurityStore securityStore)
Set the security store associated with this store.

setLockStore

public void setLockStore(LockStore lockStore)
Set the lock store associated with this store.

setRevisionDescriptorsStore

public void setRevisionDescriptorsStore(RevisionDescriptorsStore revisionDescriptorsStore)
Set the revision descriptors store associated with this store.

setRevisionDescriptorStore

public void setRevisionDescriptorStore(RevisionDescriptorStore revisionDescriptorStore)
Set the revision descriptor store associated with this store.

setContentStore

public void setContentStore(ContentStore contentStore)
Set the content store associated with this store.