Class AbstractActionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.servicelayer.model.action.AbstractActionModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SimpleActionModel
Generated model class for type AbstractAction first defined at extension processing.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractAction.codeattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofAbstractAction.targetattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofAbstractAction.typeattribute defined at extensionprocessing.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.AbstractActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextAbstractActionModel(String _code, ItemModel _owner, String _target, ActionType _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAbstractActionModel(String _code, String _target, ActionType _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theAbstractAction.codeattribute defined at extensionprocessing.Generated method - Getter of theAbstractAction.targetattribute defined at extensionprocessing.getType()Generated method - Getter of theAbstractAction.typeattribute defined at extensionprocessing.voidGenerated method - Initial setter ofAbstractAction.codeattribute defined at extensionprocessing.voidGenerated method - Initial setter ofAbstractAction.targetattribute defined at extensionprocessing.voidsetType(ActionType value) Generated method - Initial setter ofAbstractAction.typeattribute defined at extensionprocessing.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CODE
Generated constant - Attribute key ofAbstractAction.codeattribute defined at extensionprocessing.- See Also:
-
TYPE
Generated constant - Attribute key ofAbstractAction.typeattribute defined at extensionprocessing.- See Also:
-
TARGET
Generated constant - Attribute key ofAbstractAction.targetattribute defined at extensionprocessing.- See Also:
-
-
Constructor Details
-
AbstractActionModel
public AbstractActionModel()Generated constructor - Default constructor for generic creation. -
AbstractActionModel
public AbstractActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractActionModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractActionModel(String _code, String _target, ActionType _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeAbstractActionat extensionprocessing_target- initial attribute declared by typeAbstractActionat extensionprocessing_type- initial attribute declared by typeAbstractActionat extensionprocessing
-
AbstractActionModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractActionModel(String _code, ItemModel _owner, String _target, ActionType _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeAbstractActionat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore_target- initial attribute declared by typeAbstractActionat extensionprocessing_type- initial attribute declared by typeAbstractActionat extensionprocessing
-
-
Method Details
-
getCode
Generated method - Getter of theAbstractAction.codeattribute defined at extensionprocessing.- Returns:
- the code
-
getTarget
Generated method - Getter of theAbstractAction.targetattribute defined at extensionprocessing.- Returns:
- the target
-
getType
Generated method - Getter of theAbstractAction.typeattribute defined at extensionprocessing.- Returns:
- the type
-
setCode
Generated method - Initial setter ofAbstractAction.codeattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the code
-
setTarget
Generated method - Initial setter ofAbstractAction.targetattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the target
-
setType
Generated method - Initial setter ofAbstractAction.typeattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the type
-