Class EJBPropertyRowCache
java.lang.Object
de.hybris.platform.persistence.property.AbstractPropertyAccess
de.hybris.platform.persistence.property.EJBPropertyRowCache
- All Implemented Interfaces:
LocalizedPropertyAccess,PropertyAccess,Cloneable
public final class EJBPropertyRowCache
extends AbstractPropertyAccess
implements LocalizedPropertyAccess, Cloneable
-
Field Summary
Fields inherited from interface de.hybris.platform.persistence.property.PropertyAccess
BASE_QUALIFIER -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeColumns(List<String> newNames) no longer needed columns due to internal implementation issues.protected Objectclone()voidstatic EJBPropertyRowCachecreate new unlocalized cache without values (assuming null)static EJBPropertyRowCachecreateLocalized(PK langPK, long timestamp, List<String> names) create new localized cache without values (assuming null)booleangetAllProperties(PK langPK) intgetName(int index) getProperty(String name) getProperty(String name, PK langPK) getPropertyNames(PK langPK) getValue(int index) booleanbooleanhasChanged(int index) inthashCode()booleanbooleanbooleanstatic EJBPropertyRowCacheloading unlocalized cachestatic EJBPropertyRowCacheloading localized cacheremoveProperty(String name) removeProperty(String name, PK langPK) voidvoidsetProperty(String name, PK langPK, Object value) setProperty(String name, Object value) toString()voidwroteChanges(boolean success) Methods inherited from class de.hybris.platform.persistence.property.AbstractPropertyAccess
dispose, firePropertyDataChanged, getOwner, getVersion, registerOwner, setVersionMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.persistence.property.PropertyAccess
dispose, registerOwner
-
Method Details
-
createLocalized
create new localized cache without values (assuming null) -
create
create new unlocalized cache without values (assuming null) -
loadLocalized
public static EJBPropertyRowCache loadLocalized(PK langPK, long timestamp, List<String> names, List<Object> values) loading localized cache -
load
loading unlocalized cache -
toString
-
equals
-
hashCode
public int hashCode() -
getItemPK
-
setItemPK
-
changeColumns
no longer needed columns due to internal implementation issues. by now this will only add new columns, but never remove -
getColumnCount
public int getColumnCount() -
getName
-
getValue
-
isLocalized
public boolean isLocalized() -
getLangPK
-
hasChanged
public boolean hasChanged() -
isInDatabase
public boolean isInDatabase() -
hasChanged
public boolean hasChanged(int index) -
getChangeSet
-
wroteChanges
public void wroteChanges(boolean success) -
getAllProperties
- Specified by:
getAllPropertiesin interfacePropertyAccess
-
getAllPropertiesInternal
-
setProperty
- Specified by:
setPropertyin interfacePropertyAccess
-
getProperty
- Specified by:
getPropertyin interfacePropertyAccess
-
removeProperty
- Specified by:
removePropertyin interfacePropertyAccess
-
getPropertyNames
- Specified by:
getPropertyNamesin interfacePropertyAccess
-
getPropertyNamesInternal
-
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
-