public class TransactionalLookupCache extends java.lang.Object implements LookupCache, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
TransactionalLookupCache()
Deprecated.
Make one up.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
org.alfresco.repo.avm.Lookup |
lookup(AVMStore store,
int version,
SimplePath path,
boolean write,
boolean includeDeleted)
Deprecated.
Lookup a path.
|
void |
onDelete(java.lang.String storeName)
Deprecated.
Called when a delete has occurred in a store.
|
void |
onSnapshot(java.lang.String storeName)
Deprecated.
Called when a snapshot occurs in a store.
|
void |
onWrite(java.lang.String storeName)
Deprecated.
Called when a simple write operation occurs.
|
void |
reset()
Deprecated.
Full reset of cache.
|
void |
setAvmNodeDAO(AVMNodeDAO dao)
Deprecated.
Set up the node dao.
|
void |
setAvmStoreDAO(AVMStoreDAO dao)
Deprecated.
Set the store dao.
|
void |
setTransactionalCache(org.alfresco.repo.cache.SimpleCache cache)
Deprecated.
|
public TransactionalLookupCache()
public void setAvmNodeDAO(AVMNodeDAO dao)
dao - The dao to set.public void setAvmStoreDAO(AVMStoreDAO dao)
dao - The dao to set.public void setTransactionalCache(org.alfresco.repo.cache.SimpleCache cache)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic org.alfresco.repo.avm.Lookup lookup(AVMStore store, int version, SimplePath path, boolean write, boolean includeDeleted)
lookup in interface LookupCachestore - The AVMStore.version - The versions.path - The path we are looking up.write - Whether this is a write lookup.includeDeleted - public void onWrite(java.lang.String storeName)
onWrite in interface LookupCachepublic void onDelete(java.lang.String storeName)
onDelete in interface LookupCachepublic void onSnapshot(java.lang.String storeName)
onSnapshot in interface LookupCachepublic void reset()
LookupCachereset in interface LookupCacheCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.