Class EnumerationManager
java.lang.Object
de.hybris.platform.jalo.Manager
de.hybris.platform.jalo.enumeration.EnumerationManager
- All Implemented Interfaces:
ItemLifecycleListener,Serializable
Deprecated.
since ages - please use {see de.hybris.platform.enumeration.EnumerationService} instead
manager for
EnumerationValues.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDeprecated.Nested classes/interfaces inherited from class de.hybris.platform.jalo.Manager
Manager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckBeforeItemRemoval(SessionContext ctx, Item item) Deprecated.Superclass method overridden to avoid call to EJB layer unless the item is aEnumerationValueinstance.createDefaultEnumerationType(PK pk, String code) Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} insteadDeprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService#create(String)} insteadcreateEnumerationType(PK pkBase, String code, ComposedType valueType) Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} insteadcreateEnumerationType(String code, ComposedType valueType) Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} insteadcreateEnumerationValue(PK pkBase, EnumerationType enumerationType, String valueCode) Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} insteadcreateEnumerationValue(EnumerationType enumerationType, String valueCode) Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} insteadcreateEnumerationValue(String enumerationTypeCode, String valueCode) Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} insteadDeprecated.since ages - please use {see de.hybris.platform.servicelayer.search.FlexibleSearchService} insteadDeprecated.since ages - please use {see de.hybris.platform.servicelayer.type.TypeService#getEnumerationType(String)} insteadgetEnumerationType(String code) Deprecated.since ages - please use {see de.hybris.platform.servicelayer.type.TypeService#getEnumerationType(String)} insteadgetEnumerationValue(EnumerationType enumerationType, String valueCode) Deprecated.since ages - please use {see de.hybris.platform.enumeration.EnumerationService#getEnumerationValue(String, String)} insteadgetEnumerationValue(String enumerationTypeCode, String valueCode) Deprecated.since ages - please use {see de.hybris.platform.enumeration.EnumerationService#getEnumerationValue(String, String)} insteadgetEnumerationValues(EnumerationType enumerationType) Deprecated.since ages - please use {see de.hybris.platform.enumeration.EnumerationService#getEnumerationValues(String)} insteadstatic EnumerationManagerDeprecated.protected intDeprecated.Deprecated.voidinit()Deprecated.called once for each tenant, so this method fits best to perform some initialization stuffprotected voidnotifyItemRemoval(SessionContext ctx, Item item) Deprecated.Superclass method overridden to avoid call to EJB layer.Deprecated.Methods inherited from class de.hybris.platform.jalo.Manager
afterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemote, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, setAttribute, setTenant, setTransientObject, wrap
-
Field Details
-
BEAN_NAME
Deprecated.- See Also:
-
ENUM_META_TYPE_CODE
Deprecated.- See Also:
-
-
Constructor Details
-
EnumerationManager
public EnumerationManager()Deprecated.
-
-
Method Details
-
init
public void init()Deprecated.Description copied from class:Managercalled once for each tenant, so this method fits best to perform some initialization stuff -
getRemoteManagerClass
Deprecated.- Overrides:
getRemoteManagerClassin classManager
-
getInstance
Deprecated.- Returns:
- instance of this manager
-
checkBeforeItemRemoval
protected void checkBeforeItemRemoval(SessionContext ctx, Item item) throws ConsistencyCheckException Deprecated.Superclass method overridden to avoid call to EJB layer unless the item is aEnumerationValueinstance.- Overrides:
checkBeforeItemRemovalin classManager- Parameters:
ctx- the current session contextitem- the item which should be removed- Throws:
ConsistencyCheckException- thrown to abort removal due to consistency errors- Since:
- 2.10
-
notifyItemRemoval
Deprecated.Superclass method overridden to avoid call to EJB layer.- Overrides:
notifyItemRemovalin classManager- Parameters:
ctx- the currency session contextitem- the item which is going to be removed- Since:
- 2.10
-
createDefaultEnumerationType
@Deprecated(since="ages", forRemoval=false) public EnumerationType createDefaultEnumerationType(String code) throws JaloDuplicateCodeException Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService#create(String)} instead- Throws:
JaloDuplicateCodeException
-
createDefaultEnumerationType
@Deprecated(since="ages", forRemoval=false) public EnumerationType createDefaultEnumerationType(PK pk, String code) throws JaloDuplicateCodeException Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} instead- Throws:
JaloDuplicateCodeException
-
createEnumerationType
@Deprecated(since="ages", forRemoval=false) public EnumerationType createEnumerationType(String code, ComposedType valueType) throws JaloDuplicateCodeException Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} instead- Throws:
JaloDuplicateCodeException
-
createEnumerationType
@Deprecated(since="ages", forRemoval=false) public EnumerationType createEnumerationType(PK pkBase, String code, ComposedType valueType) throws JaloDuplicateCodeException Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} instead- Throws:
JaloDuplicateCodeException
-
getEnumerationType
@Deprecated(since="ages", forRemoval=false) public EnumerationType getEnumerationType(String code) throws JaloItemNotFoundException Deprecated.since ages - please use {see de.hybris.platform.servicelayer.type.TypeService#getEnumerationType(String)} instead- Throws:
JaloItemNotFoundException
-
createEnumerationValue
@Deprecated(since="ages", forRemoval=false) public EnumerationValue createEnumerationValue(EnumerationType enumerationType, String valueCode) throws JaloInvalidParameterException, ConsistencyCheckException Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} instead -
createEnumerationValue
@Deprecated(since="ages", forRemoval=false) public EnumerationValue createEnumerationValue(String enumerationTypeCode, String valueCode) throws JaloInvalidParameterException, ConsistencyCheckException Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} instead -
createEnumerationValue
@Deprecated(since="ages", forRemoval=false) public EnumerationValue createEnumerationValue(PK pkBase, EnumerationType enumerationType, String valueCode) throws JaloInvalidParameterException, ConsistencyCheckException Deprecated.since ages - please use {see de.hybris.platform.servicelayer.model.ModelService} instead -
getNextSequenceNumber
Deprecated. -
getEnumerationValue
@Deprecated(since="ages", forRemoval=false) public EnumerationValue getEnumerationValue(EnumerationType enumerationType, String valueCode) throws JaloInvalidParameterException, JaloItemNotFoundException Deprecated.since ages - please use {see de.hybris.platform.enumeration.EnumerationService#getEnumerationValue(String, String)} instead -
getEnumerationValue
@Deprecated(since="ages", forRemoval=false) public EnumerationValue getEnumerationValue(String enumerationTypeCode, String valueCode) throws JaloInvalidParameterException, JaloItemNotFoundException Deprecated.since ages - please use {see de.hybris.platform.enumeration.EnumerationService#getEnumerationValue(String, String)} instead -
getEnumerationValues
@Deprecated(since="ages", forRemoval=false) public List getEnumerationValues(EnumerationType enumerationType) throws JaloInvalidParameterException Deprecated.since ages - please use {see de.hybris.platform.enumeration.EnumerationService#getEnumerationValues(String)} instead- Throws:
JaloInvalidParameterException
-
getEnumerationMetaType
Deprecated.since ages - please use {see de.hybris.platform.servicelayer.type.TypeService#getEnumerationType(String)} instead -
getAllEnumerationTypes
Deprecated.since ages - please use {see de.hybris.platform.servicelayer.search.FlexibleSearchService} instead -
writeReplace
Deprecated.- Specified by:
writeReplacein classManager- Throws:
ObjectStreamException
-