Class EJBPropertyCache
java.lang.Object
de.hybris.platform.persistence.property.AbstractPropertyAccess
de.hybris.platform.persistence.property.EJBPropertyCache
- All Implemented Interfaces:
LocalizedPropertyAccess,PropertyAccess,Cloneable
public final class EJBPropertyCache
extends AbstractPropertyAccess
implements LocalizedPropertyAccess, Cloneable
-
Field Summary
Fields inherited from interface de.hybris.platform.persistence.property.PropertyAccess
BASE_QUALIFIER -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()voidstatic EJBPropertyCachecreate(long timestamp) getAllProperties(PK langPK) getProperty(String name) getProperty(String name, PK langPK) getPropertyNames(PK langPK) getPropertyValues(PK langPK) booleanstatic EJBPropertyCacheload(long timestamp, Collection<EJBProperty> allProps) booleanremoveProperty(String name) removeProperty(String name, PK langPK) voidvoidsetAllProperties(EJBPropertyContainer container) setProperty(String name, PK langPK, Object value) setProperty(String name, Object value) voidMethods inherited from class de.hybris.platform.persistence.property.AbstractPropertyAccess
dispose, firePropertyDataChanged, getOwner, getVersion, registerOwner, setVersionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.persistence.property.PropertyAccess
dispose, registerOwner
-
Method Details
-
create
-
load
- Parameters:
allProps- containsEJBPropertys
-
needsUpdate
public boolean needsUpdate() -
getUpdateableProperties
-
getEJBProperties
-
wroteChanges
public void wroteChanges() -
setAllProperties
-
getAllProperties
- Specified by:
getAllPropertiesin interfacePropertyAccess
-
setProperty
- Specified by:
setPropertyin interfacePropertyAccess
-
getProperty
- Specified by:
getPropertyin interfacePropertyAccess
-
removeProperty
- Specified by:
removePropertyin interfacePropertyAccess
-
getPropertyNames
- Specified by:
getPropertyNamesin interfacePropertyAccess
-
hasModifiedProperties
public boolean hasModifiedProperties()- Specified by:
hasModifiedPropertiesin interfacePropertyAccess
-
commitProperties
public void commitProperties()- Specified by:
commitPropertiesin interfacePropertyAccess
-
rollbackProperties
public void rollbackProperties()- Specified by:
rollbackPropertiesin interfacePropertyAccess
-
getAllProperties
- Specified by:
getAllPropertiesin interfaceLocalizedPropertyAccess
-
setProperty
- Specified by:
setPropertyin interfaceLocalizedPropertyAccess
-
getProperty
- Specified by:
getPropertyin interfaceLocalizedPropertyAccess
-
removeProperty
- Specified by:
removePropertyin interfaceLocalizedPropertyAccess
-
getPropertyNames
- Specified by:
getPropertyNamesin interfaceLocalizedPropertyAccess
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getPropertyValues
- Returns:
- a map containing property names (String) -> property values (Serializable)
-