public final class EJBPropertyCache extends AbstractPropertyAccess implements LocalizedPropertyAccess, Cloneable
BASE_QUALIFIER| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
void |
commitProperties() |
static EJBPropertyCache |
create(long timestamp) |
Map<String,Object> |
getAllProperties() |
Map<String,Object> |
getAllProperties(PK langPK) |
Collection<EJBProperty> |
getEJBProperties() |
Object |
getProperty(String name) |
Object |
getProperty(String name,
PK langPK) |
Set<String> |
getPropertyNames() |
Set<String> |
getPropertyNames(PK langPK) |
Map<String,Object> |
getPropertyValues(PK langPK) |
Collection<EJBProperty> |
getUpdateableProperties() |
boolean |
hasModifiedProperties() |
static EJBPropertyCache |
load(long timestamp,
Collection<EJBProperty> allProps) |
boolean |
needsUpdate() |
Object |
removeProperty(String name) |
Object |
removeProperty(String name,
PK langPK) |
void |
rollbackProperties() |
void |
setAllProperties(EJBPropertyContainer container) |
Object |
setProperty(String name,
Object value) |
Object |
setProperty(String name,
PK langPK,
Object value) |
void |
wroteChanges() |
dispose, firePropertyDataChanged, getOwner, getVersion, registerOwner, setVersionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, registerOwnerpublic static EJBPropertyCache create(long timestamp)
public static EJBPropertyCache load(long timestamp, Collection<EJBProperty> allProps)
allProps - contains EJBPropertyspublic boolean needsUpdate()
public Collection<EJBProperty> getUpdateableProperties()
public Collection<EJBProperty> getEJBProperties()
public void wroteChanges()
public void setAllProperties(EJBPropertyContainer container)
public Map<String,Object> getAllProperties()
getAllProperties in interface PropertyAccesspublic Object setProperty(String name, Object value)
setProperty in interface PropertyAccesspublic Object getProperty(String name)
getProperty in interface PropertyAccesspublic Object removeProperty(String name)
removeProperty in interface PropertyAccesspublic Set<String> getPropertyNames()
getPropertyNames in interface PropertyAccesspublic boolean hasModifiedProperties()
hasModifiedProperties in interface PropertyAccesspublic void commitProperties()
commitProperties in interface PropertyAccesspublic void rollbackProperties()
rollbackProperties in interface PropertyAccesspublic Map<String,Object> getAllProperties(PK langPK)
getAllProperties in interface LocalizedPropertyAccesspublic Object setProperty(String name, PK langPK, Object value)
setProperty in interface LocalizedPropertyAccesspublic Object getProperty(String name, PK langPK)
getProperty in interface LocalizedPropertyAccesspublic Object removeProperty(String name, PK langPK)
removeProperty in interface LocalizedPropertyAccesspublic Set<String> getPropertyNames(PK langPK)
getPropertyNames in interface LocalizedPropertyAccessprotected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2017 SAP SE. All Rights Reserved.