Class EnumerationValueEJB
java.lang.Object
de.hybris.platform.persistence.ItemEJB
de.hybris.platform.persistence.ExtensibleItemEJB
de.hybris.platform.persistence.c2l.LocalizableItemEJB
de.hybris.platform.persistence.enumeration.EnumerationValueEJB
- All Implemented Interfaces:
LocalizableItemRemote,EnumerationValueHome,EnumerationValueRemote,ExtensibleItemRemote,EntityInstance,EntityProxy,HomeProxy,ItemHome,ItemPermissionFacade,ItemRemote
- Direct Known Subclasses:
EnumerationValue_HJMPWrapper
public abstract class EnumerationValueEJB
extends LocalizableItemEJB
implements EnumerationValueRemote, EnumerationValueHome
-
Field Summary
Fields inherited from class de.hybris.platform.persistence.ItemEJB
entityContext, READ, WRITE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidejbCreate(PK pkBase, ComposedTypeRemote enumerationType, String code, int number) voidejbPostCreate(PK pkBase, ComposedTypeRemote enumerationType, String code, int number) getCode()abstract Stringabstract Stringabstract booleanabstract intbooleanvoidsetCode(ComposedTypeRemote enumerationType, String newCode) voidabstract voidsetCodeInternal(String codeInternal) abstract voidsetCodeLowerCase(String codeLower) abstract voidsetEditableFlag(boolean editable) abstract voidsetSequenceNumber(int sequenceNumber) protected inttypeCode()Methods inherited from class de.hybris.platform.persistence.c2l.LocalizableItemEJB
copyLocalizablePropertiesFrom, createFromTemplate, getAllLocalizedProperties, getAllLocalizedProperties, getLocalizedProperty, getLocalizedPropertyNames, getLocPropertyAccess, hintPropertyCache, postCreateFromTemplate, removeLocalizedProperty, setAllLocalizedProperties, setLocalizedProperty, setLocPropertiesFromContainerMethods inherited from class de.hybris.platform.persistence.ExtensibleItemEJB
clearEntityCaches, copyPropertiesFrom, decryptIfNecessaryWithFallback, decryptValueWithFallback, doCreateInternal, ejbHomeGetPropertyTableName, ejbRemove, getAllLanguagePKs, getAllProperties, getAllPropertyAccesses, getModifiedUnlocalizedPropertyCache, getProperty, getPropertyAccess, getPropertyAccess, getPropertyAccessInternal, getPropertyNames, getPropertyRaw, getPropertyTableNameImpl, getPropertyTimestamp, getPropertyTimestampInternal, getTypeInfoMap, hasModifiedCaches, preLoadUnlocalizedProperties, removeProperty, removePropertyData, setAllProperties, setPropertiesFromContainer, setProperty, setPropertyTimestampInternal, typeChanged, updatePropertyVersion, warnOnDecryptionError, writePropertyCachesMethods inherited from class de.hybris.platform.persistence.ItemEJB
checkItemPermission, checkOwnGlobalPermission, copyComposedTypeFromTemplate, doCreateInternal, doPostCreateInternal, ejbHomeGetItemTableName, ejbHomeGetOwnJNDIName, ejbHomeLoadItemData, ejbLoad, ejbStore, getACLTimestampInternal, getCachedValueForModification, getCachedValueForReading, getCachedValueForReadingIfAvailable, getCachedValuesStartingWith, getCacheKey, getCacheKeyMap, getComposedType, getCreationTime, getCreationTimestampInternal, getDefaultType, getEntityContext, getGlobalPermissionPKs, getHJMPTS, getItemTableNameImpl, getModifiedTime, getModifiedTimestampInternal, getOrAddCacheKey, getOwner, getOwnerPkString, getOwnJNDIName, getPermissionPKs, getPK, getPkString, getPrincipalToBooleanListMap, getRestrictedPrincipalPKs, getTypeKey, getTypePkString, hasJNDIName, isBeforeCreate, loadItemData, logACLCacheChange, needsStoring, quoteSQLStringLiteralForQuery, remove, removeACLEntries, removeGlobalPermission, removeGlobalPermissions, removePermission, removePermissions, setACLTimestampInternal, setComposedType, setCreationTime, setCreationTimestampInternal, setEntityContext, setGlobalPermission, setGlobalPermissions, setModifiedTime, setModifiedTimestamp, setModifiedTimestampInternal, setNeedsStoring, setOwner, setOwnerPkString, setOwnerRef, setPermission, setPermissions, setPkString, setPrincipalToBooleanListMap, setTypePkString, skipRemovePermission, skipSetPermission, storeCaches, wasModifiedSince, writeACLEntriesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.persistence.framework.EntityInstance
ejbFindByPrimaryKeyMethods inherited from interface de.hybris.platform.persistence.framework.EntityProxy
getPKMethods inherited from interface de.hybris.platform.persistence.enumeration.EnumerationValueHome
create, findByTypeAndCode, findByTypeAndCodeIgnoreCase, findSortedValuesMethods inherited from interface de.hybris.platform.persistence.ExtensibleItemRemote
copyPropertiesFrom, getAllProperties, getProperty, getPropertyNames, getPropertyRaw, getPropertyTimestamp, getTypeInfoMap, removeProperty, setAllProperties, setPropertyMethods inherited from interface de.hybris.platform.persistence.ItemHome
findAll, findByPKList, findByType, findChangedAfter, getOwnJNDIName, loadItemDataMethods inherited from interface de.hybris.platform.persistence.ItemRemote
getComposedType, getCreationTime, getHJMPTS, getModifiedTime, getOwner, getPkString, getTypeKey, hasJNDIName, remove, setComposedType, setCreationTime, setModifiedTime, setOwner, setOwnerRef, wasModifiedSinceMethods inherited from interface de.hybris.platform.persistence.c2l.LocalizableItemRemote
copyLocalizablePropertiesFrom, getAllLocalizedProperties, getAllLocalizedProperties, getLocalizedProperty, getLocalizedPropertyNames, hintPropertyCache, removeLocalizedProperty, setAllLocalizedProperties, setLocalizedProperty
-
Constructor Details
-
EnumerationValueEJB
public EnumerationValueEJB()
-
-
Method Details
-
getCodeInternal
-
setCodeInternal
-
getCodeLowerCase
-
setCodeLowerCase
-
getSequenceNumber
public abstract int getSequenceNumber()Description copied from interface:EnumerationValueRemoteinternal; useEnumerationManagerEJB.getEnumerationValues(de.hybris.platform.persistence.type.ComposedTypeRemote)- Specified by:
getSequenceNumberin interfaceEnumerationValueRemote
-
setSequenceNumber
public abstract void setSequenceNumber(int sequenceNumber) Description copied from interface:EnumerationValueRemote- Specified by:
setSequenceNumberin interfaceEnumerationValueRemote
-
getEditableFlag
public abstract boolean getEditableFlag() -
setEditableFlag
public abstract void setEditableFlag(boolean editable) -
ejbCreate
public PK ejbCreate(PK pkBase, ComposedTypeRemote enumerationType, String code, int number) throws ConsistencyCheckException, EJBInvalidParameterException -
ejbPostCreate
-
typeCode
protected int typeCode() -
getCode
- Specified by:
getCodein interfaceEnumerationValueRemote
-
setCode
- Specified by:
setCodein interfaceEnumerationValueRemote- Throws:
ConsistencyCheckException- if code is not unique or enumeration value is not editable
-
setCode
public void setCode(ComposedTypeRemote enumerationType, String newCode) throws ConsistencyCheckException, EJBInvalidParameterException - Specified by:
setCodein interfaceEnumerationValueRemote- Throws:
ConsistencyCheckException- if code is not unique or enumeration value is not editableEJBInvalidParameterException
-
isEditable
public boolean isEditable()- Specified by:
isEditablein interfaceEnumerationValueRemote
-
disableEditing
public void disableEditing()- Specified by:
disableEditingin interfaceEnumerationValueRemote
-