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 void
disableEditing()
PK
ejbCreate(PK pkBase, ComposedTypeRemote enumerationType, java.lang.String code, int number)
void
ejbPostCreate(PK pkBase, ComposedTypeRemote enumerationType, java.lang.String code, int number)
java.lang.String
getCode()
abstract java.lang.String
getCodeInternal()
abstract java.lang.String
getCodeLowerCase()
abstract boolean
getEditableFlag()
abstract int
getSequenceNumber()
boolean
isEditable()
void
setCode(ComposedTypeRemote enumerationType, java.lang.String newCode)
void
setCode(java.lang.String newCode)
abstract void
setCodeInternal(java.lang.String codeInternal)
abstract void
setCodeLowerCase(java.lang.String codeLower)
abstract void
setEditableFlag(boolean editable)
abstract void
setSequenceNumber(int sequenceNumber)
protected int
typeCode()
-
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:EnumerationValueRemote
internal; useEnumerationManagerEJB.getEnumerationValues(de.hybris.platform.persistence.type.ComposedTypeRemote)
- Specified by:
getSequenceNumber
in interfaceEnumerationValueRemote
-
setSequenceNumber
public abstract void setSequenceNumber(int sequenceNumber)
Description copied from interface:EnumerationValueRemote
- Specified by:
setSequenceNumber
in 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:
getCode
in interfaceEnumerationValueRemote
-
setCode
public void setCode(java.lang.String newCode) throws ConsistencyCheckException
- Specified by:
setCode
in 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:
setCode
in interfaceEnumerationValueRemote
- Throws:
ConsistencyCheckException
- if code is not unique or enumeration value is not editableEJBInvalidParameterException
-
isEditable
public boolean isEditable()
- Specified by:
isEditable
in interfaceEnumerationValueRemote
-
disableEditing
public void disableEditing()
- Specified by:
disableEditing
in interfaceEnumerationValueRemote
-
-