Class AbstractPromotionActionModel

    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _PROMOTIONRESULT2PROMOTIONACTIONSRELATION
      Generated relation code constant for relation PromotionResult2PromotionActionsRelation defining source attribute promotionResult in extension promotions.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String GUID
      Generated constant - Attribute key of AbstractPromotionAction.guid attribute defined at extension promotions.
      static java.lang.String MARKEDAPPLIED
      Generated constant - Attribute key of AbstractPromotionAction.markedApplied attribute defined at extension promotions.
      static java.lang.String PROMOTIONRESULT
      Generated constant - Attribute key of AbstractPromotionAction.promotionResult attribute defined at extension promotions.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractPromotionActionModel()
      Generated constructor - Default constructor for generic creation.
      AbstractPromotionActionModel​(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
      AbstractPromotionActionModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGuid()
      Generated method - Getter of the AbstractPromotionAction.guid attribute defined at extension promotions.
      java.lang.Boolean getMarkedApplied()
      Generated method - Getter of the AbstractPromotionAction.markedApplied attribute defined at extension promotions.
      PromotionResultModel getPromotionResult()
      Generated method - Getter of the AbstractPromotionAction.promotionResult attribute defined at extension promotions.
      void setGuid​(java.lang.String value)
      Generated method - Setter of AbstractPromotionAction.guid attribute defined at extension promotions.
      void setMarkedApplied​(java.lang.Boolean value)
      Generated method - Setter of AbstractPromotionAction.markedApplied attribute defined at extension promotions.
      void setPromotionResult​(PromotionResultModel value)
      Generated method - Setter of AbstractPromotionAction.promotionResult attribute defined at extension promotions.
      • Methods 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _PROMOTIONRESULT2PROMOTIONACTIONSRELATION

        public static final java.lang.String _PROMOTIONRESULT2PROMOTIONACTIONSRELATION
        Generated relation code constant for relation PromotionResult2PromotionActionsRelation defining source attribute promotionResult in extension promotions.
        See Also:
        Constant Field Values
      • MARKEDAPPLIED

        public static final java.lang.String MARKEDAPPLIED
        Generated constant - Attribute key of AbstractPromotionAction.markedApplied attribute defined at extension promotions.
        See Also:
        Constant Field Values
      • GUID

        public static final java.lang.String GUID
        Generated constant - Attribute key of AbstractPromotionAction.guid attribute defined at extension promotions.
        See Also:
        Constant Field Values
      • PROMOTIONRESULT

        public static final java.lang.String PROMOTIONRESULT
        Generated constant - Attribute key of AbstractPromotionAction.promotionResult attribute defined at extension promotions.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractPromotionActionModel

        public AbstractPromotionActionModel()
        Generated constructor - Default constructor for generic creation.
      • AbstractPromotionActionModel

        public AbstractPromotionActionModel​(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
      • AbstractPromotionActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractPromotionActionModel​(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
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getGuid

        @Accessor(qualifier="guid",
                  type=GETTER)
        public java.lang.String getGuid()
        Generated method - Getter of the AbstractPromotionAction.guid attribute defined at extension promotions.
        Returns:
        the guid - The unique identifier for this action.
      • getMarkedApplied

        @Accessor(qualifier="markedApplied",
                  type=GETTER)
        public java.lang.Boolean getMarkedApplied()
        Generated method - Getter of the AbstractPromotionAction.markedApplied attribute defined at extension promotions.
        Returns:
        the markedApplied - Flag to indicate that this promotion is applied.
      • getPromotionResult

        @Accessor(qualifier="promotionResult",
                  type=GETTER)
        public PromotionResultModel getPromotionResult()
        Generated method - Getter of the AbstractPromotionAction.promotionResult attribute defined at extension promotions.
        Returns:
        the promotionResult
      • setGuid

        @Accessor(qualifier="guid",
                  type=SETTER)
        public void setGuid​(java.lang.String value)
        Generated method - Setter of AbstractPromotionAction.guid attribute defined at extension promotions.
        Parameters:
        value - the guid - The unique identifier for this action.
      • setMarkedApplied

        @Accessor(qualifier="markedApplied",
                  type=SETTER)
        public void setMarkedApplied​(java.lang.Boolean value)
        Generated method - Setter of AbstractPromotionAction.markedApplied attribute defined at extension promotions.
        Parameters:
        value - the markedApplied - Flag to indicate that this promotion is applied.
      • setPromotionResult

        @Accessor(qualifier="promotionResult",
                  type=SETTER)
        public void setPromotionResult​(PromotionResultModel value)
        Generated method - Setter of AbstractPromotionAction.promotionResult attribute defined at extension promotions.
        Parameters:
        value - the promotionResult