public abstract static class EntityLookupCache.EntityLookupCallbackDAOAdaptor extends java.lang.Object implements EntityLookupCache.EntityLookupCallbackDAO
UnsupportedOperationException.| Constructor and Description |
|---|
EntityLookupCache.EntityLookupCallbackDAOAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
int |
deleteByKey(java.io.Serializable key)
Disallows the operation.
|
int |
deleteByValue(java.lang.Object value)
Disallows the operation.
|
org.alfresco.util.Pair |
findByValue(java.lang.Object value)
This implementation never finds a value and is backed by
EntityLookupCache.EntityLookupCallbackDAOAdaptor.getValueKey(Object) returning nothing. |
java.io.Serializable |
getValueKey(java.lang.Object value)
This implementation does not find by value and is backed by
EntityLookupCache.EntityLookupCallbackDAOAdaptor.findByValue(Object) returning nothing. |
int |
updateValue(java.io.Serializable key,
java.lang.Object value)
Disallows the operation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateValue, findByKeypublic EntityLookupCache.EntityLookupCallbackDAOAdaptor()
public org.alfresco.util.Pair findByValue(java.lang.Object value)
EntityLookupCache.EntityLookupCallbackDAOAdaptor.getValueKey(Object) returning nothing.findByValue in interface EntityLookupCache.EntityLookupCallbackDAOvalue - the value (business object) used to identify the entity (null allowed).public java.io.Serializable getValueKey(java.lang.Object value)
EntityLookupCache.EntityLookupCallbackDAOAdaptor.findByValue(Object) returning nothing.getValueKey in interface EntityLookupCache.EntityLookupCallbackDAOvalue - the full value being keyed (never null)public int updateValue(java.io.Serializable key,
java.lang.Object value)
updateValue in interface EntityLookupCache.EntityLookupCallbackDAOkey - the existing key (ID) used to identify the entity (never null)value - the new valuejava.lang.UnsupportedOperationException - alwayspublic int deleteByKey(java.io.Serializable key)
deleteByKey in interface EntityLookupCache.EntityLookupCallbackDAOkey - the key (ID) used to identify the entity (never null)java.lang.UnsupportedOperationException - alwayspublic int deleteByValue(java.lang.Object value)
deleteByValue in interface EntityLookupCache.EntityLookupCallbackDAOvalue - the value (business object) used to identify the enitity (null allowed)java.lang.UnsupportedOperationException - alwaysCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.