Package de.hybris.platform.hmc.model
Class SavedValuesModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.hmc.model.SavedValuesModel
- All Implemented Interfaces:
Serializable
Generated model class for type SavedValues first defined at extension core.
- 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 relation code constant for relationItemSavedValuesRelationdefining source attributemodifiedItemin extensioncore.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSavedValues.changedAttributesattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.modificationTypeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.modifiedItemattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.modifiedItemPOSattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.modifiedItemTypeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.numberOfChangedAttributesattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.savedValuesEntriesattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.timestampattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedValues.userattribute defined at extensioncore.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.SavedValuesModel(SavedValueEntryType _modificationType, ItemModel _modifiedItem, String _modifiedItemDisplayString, ComposedTypeModel _modifiedItemType, ItemModel _owner, Date _timestamp, UserModel _user) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSavedValuesModel(SavedValueEntryType _modificationType, String _modifiedItemDisplayString, ComposedTypeModel _modifiedItemType, Date _timestamp, UserModel _user) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSavedValuesModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theSavedValues.changedAttributesattribute defined at extensioncore.Generated method - Getter of theSavedValues.modificationTypeattribute defined at extensioncore.Generated method - Getter of theSavedValues.modifiedItemattribute defined at extensioncore.Generated method - Getter of theSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.Generated method - Getter of theSavedValues.modifiedItemTypeattribute defined at extensioncore.Generated method - Getter of theSavedValues.numberOfChangedAttributesattribute defined at extensioncore.Generated method - Getter of theSavedValues.savedValuesEntriesattribute defined at extensioncore.Generated method - Getter of theSavedValues.timestampattribute defined at extensioncore.getUser()Generated method - Getter of theSavedValues.userattribute defined at extensioncore.voidGenerated method - Setter ofSavedValues.modificationTypeattribute defined at extensioncore.voidsetModifiedItem(ItemModel value) Generated method - Initial setter ofSavedValues.modifiedItemattribute defined at extensioncore.voidGenerated method - Setter ofSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.voidGenerated method - Setter ofSavedValues.modifiedItemTypeattribute defined at extensioncore.voidsetTimestamp(Date value) Generated method - Setter ofSavedValues.timestampattribute defined at extensioncore.voidGenerated method - Setter ofSavedValues.userattribute defined at extensioncore.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:
-
_ITEMSAVEDVALUESRELATION
Generated relation code constant for relationItemSavedValuesRelationdefining source attributemodifiedItemin extensioncore.- See Also:
-
MODIFIEDITEMTYPE
Generated constant - Attribute key ofSavedValues.modifiedItemTypeattribute defined at extensioncore.- See Also:
-
MODIFIEDITEMDISPLAYSTRING
Generated constant - Attribute key ofSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.- See Also:
-
TIMESTAMP
Generated constant - Attribute key ofSavedValues.timestampattribute defined at extensioncore.- See Also:
-
USER
Generated constant - Attribute key ofSavedValues.userattribute defined at extensioncore.- See Also:
-
CHANGEDATTRIBUTES
Generated constant - Attribute key ofSavedValues.changedAttributesattribute defined at extensioncore.- See Also:
-
NUMBEROFCHANGEDATTRIBUTES
Generated constant - Attribute key ofSavedValues.numberOfChangedAttributesattribute defined at extensioncore.- See Also:
-
MODIFICATIONTYPE
Generated constant - Attribute key ofSavedValues.modificationTypeattribute defined at extensioncore.- See Also:
-
SAVEDVALUESENTRIES
Generated constant - Attribute key ofSavedValues.savedValuesEntriesattribute defined at extensioncore.- See Also:
-
MODIFIEDITEMPOS
Generated constant - Attribute key ofSavedValues.modifiedItemPOSattribute defined at extensioncore.- See Also:
-
MODIFIEDITEM
Generated constant - Attribute key ofSavedValues.modifiedItemattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
SavedValuesModel
public SavedValuesModel()Generated constructor - Default constructor for generic creation. -
SavedValuesModel
public SavedValuesModel(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
-
SavedValuesModel
@Deprecated(since="4.1.1", forRemoval=true) public SavedValuesModel(SavedValueEntryType _modificationType, String _modifiedItemDisplayString, ComposedTypeModel _modifiedItemType, Date _timestamp, UserModel _user) 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:
_modificationType- initial attribute declared by typeSavedValuesat extensioncore_modifiedItemDisplayString- initial attribute declared by typeSavedValuesat extensioncore_modifiedItemType- initial attribute declared by typeSavedValuesat extensioncore_timestamp- initial attribute declared by typeSavedValuesat extensioncore_user- initial attribute declared by typeSavedValuesat extensioncore
-
SavedValuesModel
@Deprecated(since="4.1.1", forRemoval=true) public SavedValuesModel(SavedValueEntryType _modificationType, ItemModel _modifiedItem, String _modifiedItemDisplayString, ComposedTypeModel _modifiedItemType, ItemModel _owner, Date _timestamp, UserModel _user) 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:
_modificationType- initial attribute declared by typeSavedValuesat extensioncore_modifiedItem- initial attribute declared by typeSavedValuesat extensioncore_modifiedItemDisplayString- initial attribute declared by typeSavedValuesat extensioncore_modifiedItemType- initial attribute declared by typeSavedValuesat extensioncore_owner- initial attribute declared by typeItemat extensioncore_timestamp- initial attribute declared by typeSavedValuesat extensioncore_user- initial attribute declared by typeSavedValuesat extensioncore
-
-
Method Details
-
getChangedAttributes
Generated method - Getter of theSavedValues.changedAttributesattribute defined at extensioncore.- Returns:
- the changedAttributes - jalo generated string of changes attributes
-
getModificationType
@Accessor(qualifier="modificationType", type=GETTER) public SavedValueEntryType getModificationType()Generated method - Getter of theSavedValues.modificationTypeattribute defined at extensioncore.- Returns:
- the modificationType - the type of the 'modification' action (save,create,remove). @since 2.10
-
getModifiedItem
Generated method - Getter of theSavedValues.modifiedItemattribute defined at extensioncore.- Returns:
- the modifiedItem
-
getModifiedItemDisplayString
@Accessor(qualifier="modifiedItemDisplayString", type=GETTER) public String getModifiedItemDisplayString()Generated method - Getter of theSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.- Returns:
- the modifiedItemDisplayString - Display String. @since 2.10
-
getModifiedItemType
Generated method - Getter of theSavedValues.modifiedItemTypeattribute defined at extensioncore.- Returns:
- the modifiedItemType - Type
-
getNumberOfChangedAttributes
@Accessor(qualifier="numberOfChangedAttributes", type=GETTER) public Integer getNumberOfChangedAttributes()Generated method - Getter of theSavedValues.numberOfChangedAttributesattribute defined at extensioncore.- Returns:
- the numberOfChangedAttributes - jalo generated string of changes attributes
-
getSavedValuesEntries
@Accessor(qualifier="savedValuesEntries", type=GETTER) public Set<SavedValueEntryModel> getSavedValuesEntries()Generated method - Getter of theSavedValues.savedValuesEntriesattribute defined at extensioncore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the savedValuesEntries
-
getTimestamp
Generated method - Getter of theSavedValues.timestampattribute defined at extensioncore.- Returns:
- the timestamp - the timestamp of the last modification
-
getUser
Generated method - Getter of theSavedValues.userattribute defined at extensioncore.- Returns:
- the user - the user, who has modified/saved/create this item
-
setModificationType
@Accessor(qualifier="modificationType", type=SETTER) public void setModificationType(SavedValueEntryType value) Generated method - Setter ofSavedValues.modificationTypeattribute defined at extensioncore.- Parameters:
value- the modificationType - the type of the 'modification' action (save,create,remove). @since 2.10
-
setModifiedItem
Generated method - Initial setter ofSavedValues.modifiedItemattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the modifiedItem
-
setModifiedItemDisplayString
@Accessor(qualifier="modifiedItemDisplayString", type=SETTER) public void setModifiedItemDisplayString(String value) Generated method - Setter ofSavedValues.modifiedItemDisplayStringattribute defined at extensioncore.- Parameters:
value- the modifiedItemDisplayString - Display String. @since 2.10
-
setModifiedItemType
@Accessor(qualifier="modifiedItemType", type=SETTER) public void setModifiedItemType(ComposedTypeModel value) Generated method - Setter ofSavedValues.modifiedItemTypeattribute defined at extensioncore.- Parameters:
value- the modifiedItemType - Type
-
setTimestamp
Generated method - Setter ofSavedValues.timestampattribute defined at extensioncore.- Parameters:
value- the timestamp - the timestamp of the last modification
-
setUser
Generated method - Setter ofSavedValues.userattribute defined at extensioncore.- Parameters:
value- the user - the user, who has modified/saved/create this item
-