|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.platform.cache.CacheableObjectKeys
public class CacheableObjectKeys
| Constructor Summary | |
|---|---|
CacheableObjectKeys()
|
|
| Method Summary | |
|---|---|
static String |
getCacheKey(DataModel dataModel)
|
static String |
getCacheKey(DocumentModel docModel)
|
static String |
getCacheKey(DocumentRef docRef)
Constructs a cache key based on the doc reference which in most cases is a document path DocumentRef.reference(). |
static String |
getCacheKey(DocumentRef docRef,
String childName)
Constructs a cache key similar to the case when only docRef is given, but adding as a suffix "/child/[childName]". |
static String |
getCacheKey(DocumentRef docRef,
VersionModel version)
Constructs a cache key similar to the case when only docRef is given, but adding as a suffix "/ver/[version label]". |
static String |
getCacheKey(Object docRef)
|
static String |
getCacheKey(Object docRef,
Object version)
|
static String |
getCacheKey(Object docRef,
String childName)
|
static String |
getCacheKeyForDocPath(String docPath)
This method pertains to ServerCache only... |
static String |
getCacheKeyForDocUUID(String docPath)
This method pertains to ServerCache only... |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheableObjectKeys()
| Method Detail |
|---|
public static String getCacheKey(DataModel dataModel)
dataModel -
DataModel.getSchema()public static String getCacheKey(DocumentModel docModel)
docModel -
DocumentModel.getPathAsString()public static String getCacheKey(DocumentRef docRef)
DocumentRef.reference().
docRef -
public static String getCacheKey(Object docRef)
public static String getCacheKeyForDocPath(String docPath)
public static String getCacheKeyForDocUUID(String docPath)
public static String getCacheKey(DocumentRef docRef,
String childName)
docRef - childName -
public static String getCacheKey(Object docRef,
String childName)
public static String getCacheKey(DocumentRef docRef,
VersionModel version)
docRef - version -
public static String getCacheKey(Object docRef,
Object version)
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||