Class CxSegmentModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.personalizationservices.model.CxSegmentModel
- All Implemented Interfaces:
Serializable
Generated model class for type CxSegment first defined at extension personalizationservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCxSegmentToExpressionTriggerdefining source attributeexpressionTriggersin extensionpersonalizationservices.static final StringGenerated relation code constant for relationCxSegmentToTriggerdefining source attributetriggersin extensionpersonalizationservices.static final StringGenerated relation code constant for relationPreviewDataToCxSegmentdefining source attributepreviewsin extensionpersonalizationcms.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxSegment.codeattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxSegment.descriptionattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxSegment.previewsattribute defined at extensionpersonalizationcms.static final StringGenerated constant - Attribute key ofCxSegment.providersattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxSegment.triggersattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.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.Generated constructor - Default constructor for creation with existing contextCxSegmentModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCxSegmentModel(String _code, ItemModel _owner) 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 theCxSegment.codeattribute defined at extensionpersonalizationservices.Generated method - Getter of theCxSegment.descriptionattribute defined at extensionpersonalizationservices.Generated method - Getter of theCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.Generated method - Getter of theCxSegment.previewsattribute defined at extensionpersonalizationcms.Generated method - Getter of theCxSegment.providersattribute defined at extensionpersonalizationservices.Generated method - Getter of theCxSegment.triggersattribute defined at extensionpersonalizationservices.Generated method - Getter of theCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.booleanGenerated method - Getter of theCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.voidsetAutoCreated(boolean value) Generated method - Setter ofCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.voidGenerated method - Initial setter ofCxSegment.codeattribute defined at extensionpersonalizationservices.voidsetDescription(String value) Generated method - Setter ofCxSegment.descriptionattribute defined at extensionpersonalizationservices.voidGenerated method - Setter ofCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.voidsetPreviews(Collection<PreviewDataModel> value) Generated method - Setter ofCxSegment.previewsattribute defined at extensionpersonalizationcms.voidsetProviders(Set<String> value) Generated method - Setter ofCxSegment.providersattribute defined at extensionpersonalizationservices.voidGenerated method - Setter ofCxSegment.triggersattribute defined at extensionpersonalizationservices.voidGenerated method - Setter ofCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.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:
-
_CXSEGMENTTOTRIGGER
Generated relation code constant for relationCxSegmentToTriggerdefining source attributetriggersin extensionpersonalizationservices.- See Also:
-
_CXSEGMENTTOEXPRESSIONTRIGGER
Generated relation code constant for relationCxSegmentToExpressionTriggerdefining source attributeexpressionTriggersin extensionpersonalizationservices.- See Also:
-
_PREVIEWDATATOCXSEGMENT
Generated relation code constant for relationPreviewDataToCxSegmentdefining source attributepreviewsin extensionpersonalizationcms.- See Also:
-
CODE
Generated constant - Attribute key ofCxSegment.codeattribute defined at extensionpersonalizationservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofCxSegment.descriptionattribute defined at extensionpersonalizationservices.- See Also:
-
AUTOCREATED
Generated constant - Attribute key ofCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.- See Also:
-
PROVIDERS
Generated constant - Attribute key ofCxSegment.providersattribute defined at extensionpersonalizationservices.- See Also:
-
TRIGGERS
Generated constant - Attribute key ofCxSegment.triggersattribute defined at extensionpersonalizationservices.- See Also:
-
EXPRESSIONTRIGGERS
Generated constant - Attribute key ofCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.- See Also:
-
USERTOSEGMENTS
Generated constant - Attribute key ofCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.- See Also:
-
PREVIEWS
Generated constant - Attribute key ofCxSegment.previewsattribute defined at extensionpersonalizationcms.- See Also:
-
-
Constructor Details
-
CxSegmentModel
public CxSegmentModel()Generated constructor - Default constructor for generic creation. -
CxSegmentModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CxSegmentModel
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 typeCxSegmentat extensionpersonalizationservices
-
CxSegmentModel
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 typeCxSegmentat extensionpersonalizationservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theCxSegment.codeattribute defined at extensionpersonalizationservices.- Returns:
- the code - Unique code of the segment
-
getDescription
Generated method - Getter of theCxSegment.descriptionattribute defined at extensionpersonalizationservices.- Returns:
- the description - Description of segment
-
getExpressionTriggers
@Accessor(qualifier="expressionTriggers", type=GETTER) public Collection<CxExpressionTriggerModel> getExpressionTriggers()Generated method - Getter of theCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the expressionTriggers
-
getPreviews
Generated method - Getter of theCxSegment.previewsattribute defined at extensionpersonalizationcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the previews
-
getProviders
Generated method - Getter of theCxSegment.providersattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the providers - Providers that contains segment
-
getTriggers
Generated method - Getter of theCxSegment.triggersattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the triggers
-
getUserToSegments
@Accessor(qualifier="userToSegments", type=GETTER) public Collection<CxUserToSegmentModel> getUserToSegments()Generated method - Getter of theCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the userToSegments
-
isAutoCreated
Generated method - Getter of theCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.- Returns:
- the autoCreated - Indicates if segment has been created automatically
-
setAutoCreated
Generated method - Setter ofCxSegment.autoCreatedattribute defined at extensionpersonalizationservices.- Parameters:
value- the autoCreated - Indicates if segment has been created automatically
-
setCode
Generated method - Initial setter ofCxSegment.codeattribute defined at extensionpersonalizationservices. Can only be used at creation of model - before first save.- Parameters:
value- the code - Unique code of the segment
-
setDescription
Generated method - Setter ofCxSegment.descriptionattribute defined at extensionpersonalizationservices.- Parameters:
value- the description - Description of segment
-
setExpressionTriggers
@Accessor(qualifier="expressionTriggers", type=SETTER) public void setExpressionTriggers(Collection<CxExpressionTriggerModel> value) Generated method - Setter ofCxSegment.expressionTriggersattribute defined at extensionpersonalizationservices.- Parameters:
value- the expressionTriggers
-
setPreviews
@Accessor(qualifier="previews", type=SETTER) public void setPreviews(Collection<PreviewDataModel> value) Generated method - Setter ofCxSegment.previewsattribute defined at extensionpersonalizationcms.- Parameters:
value- the previews
-
setProviders
Generated method - Setter ofCxSegment.providersattribute defined at extensionpersonalizationservices.- Parameters:
value- the providers - Providers that contains segment
-
setTriggers
@Accessor(qualifier="triggers", type=SETTER) public void setTriggers(Collection<CxSegmentTriggerModel> value) Generated method - Setter ofCxSegment.triggersattribute defined at extensionpersonalizationservices.- Parameters:
value- the triggers
-
setUserToSegments
@Accessor(qualifier="userToSegments", type=SETTER) public void setUserToSegments(Collection<CxUserToSegmentModel> value) Generated method - Setter ofCxSegment.userToSegmentsattribute defined at extensionpersonalizationservices.- Parameters:
value- the userToSegments
-