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 Constructor Description EnumerationValueEJB()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddisableEditing()PKejbCreate(PK pkBase, ComposedTypeRemote enumerationType, java.lang.String code, int number)voidejbPostCreate(PK pkBase, ComposedTypeRemote enumerationType, java.lang.String code, int number)java.lang.StringgetCode()abstract java.lang.StringgetCodeInternal()abstract java.lang.StringgetCodeLowerCase()abstract booleangetEditableFlag()abstract intgetSequenceNumber()booleanisEditable()voidsetCode(ComposedTypeRemote enumerationType, java.lang.String newCode)voidsetCode(java.lang.String newCode)abstract voidsetCodeInternal(java.lang.String codeInternal)abstract voidsetCodeLowerCase(java.lang.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, setLocPropertiesFromContainer
-
Methods 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, writePropertyCaches
-
Methods 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, writeACLEntries
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.persistence.framework.EntityInstance
ejbFindByPrimaryKey
-
Methods inherited from interface de.hybris.platform.persistence.framework.EntityProxy
getPK
-
Methods inherited from interface de.hybris.platform.persistence.enumeration.EnumerationValueHome
create, findByTypeAndCode, findByTypeAndCodeIgnoreCase, findSortedValues
-
Methods inherited from interface de.hybris.platform.persistence.ExtensibleItemRemote
copyPropertiesFrom, getAllProperties, getProperty, getPropertyNames, getPropertyRaw, getPropertyTimestamp, getTypeInfoMap, removeProperty, setAllProperties, setProperty
-
Methods inherited from interface de.hybris.platform.persistence.ItemHome
findAll, findByPKList, findByType, findChangedAfter, getOwnJNDIName, loadItemData
-
Methods inherited from interface de.hybris.platform.persistence.ItemRemote
getComposedType, getCreationTime, getHJMPTS, getModifiedTime, getOwner, getPkString, getTypeKey, hasJNDIName, remove, setComposedType, setCreationTime, setModifiedTime, setOwner, setOwnerRef, wasModifiedSince
-
Methods inherited from interface de.hybris.platform.persistence.c2l.LocalizableItemRemote
copyLocalizablePropertiesFrom, getAllLocalizedProperties, getAllLocalizedProperties, getLocalizedProperty, getLocalizedPropertyNames, hintPropertyCache, removeLocalizedProperty, setAllLocalizedProperties, setLocalizedProperty
-
-
-
-
Method Detail
-
getCodeInternal
public abstract java.lang.String getCodeInternal()
-
setCodeInternal
public abstract void setCodeInternal(java.lang.String codeInternal)
-
getCodeLowerCase
public abstract java.lang.String getCodeLowerCase()
-
setCodeLowerCase
public abstract void setCodeLowerCase(java.lang.String codeLower)
-
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, java.lang.String code, int number) throws ConsistencyCheckException, EJBInvalidParameterException
-
ejbPostCreate
public void ejbPostCreate(PK pkBase, ComposedTypeRemote enumerationType, java.lang.String code, int number)
-
typeCode
protected int typeCode()
-
getCode
public java.lang.String getCode()
- Specified by:
getCodein interfaceEnumerationValueRemote
-
setCode
public void setCode(java.lang.String newCode) throws ConsistencyCheckException- Specified by:
setCodein interfaceEnumerationValueRemote- Throws:
ConsistencyCheckException- if code is not unique or enumeration value is not editable
-
setCode
public void setCode(ComposedTypeRemote enumerationType, java.lang.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
-
-