Class B2BPermissionResultModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class B2BPermissionResultModel
    extends ItemModel
    Generated model class for type B2BPermissionResult first defined at extension b2bapprovalprocess.
    See Also:
    Serialized Form
    • 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 _ABSTRACTORDER2B2BPERMISSIONRESULTS
      Generated relation code constant for relation AbstractOrder2B2BPermissionResults defining source attribute Order in extension b2bapprovalprocess.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String APPROVER
      Generated constant - Attribute key of B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
      static java.lang.String NOTE
      Generated constant - Attribute key of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
      static java.lang.String ORDER
      Generated constant - Attribute key of B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
      static java.lang.String ORDERPOS
      Generated constant - Attribute key of B2BPermissionResult.OrderPOS attribute defined at extension b2bapprovalprocess.
      static java.lang.String PERMISSION
      Generated constant - Attribute key of B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
      static java.lang.String PERMISSIONTYPECODE
      Generated constant - Attribute key of B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
      static java.lang.String STATUS
      Generated constant - Attribute key of B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.
      static java.lang.String STATUSDISPLAY
      Generated constant - Attribute key of B2BPermissionResult.statusDisplay attribute defined at extension b2bapprovalprocess.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      B2BPermissionResultModel()
      Generated constructor - Default constructor for generic creation.
      B2BPermissionResultModel​(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
      B2BPermissionResultModel​(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
      B2BCustomerModel getApprover()
      Generated method - Getter of the B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
      java.lang.String getNote()
      Generated method - Getter of the B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
      java.lang.String getNote​(java.util.Locale loc)
      Generated method - Getter of the B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
      AbstractOrderModel getOrder()
      Generated method - Getter of the B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
      B2BPermissionModel getPermission()
      Generated method - Getter of the B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
      java.lang.String getPermissionTypeCode()
      Generated method - Getter of the B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
      PermissionStatus getStatus()
      Generated method - Getter of the B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.
      java.lang.String getStatusDisplay()
      Generated method - Getter of the B2BPermissionResult.statusDisplay dynamic attribute defined at extension b2bapprovalprocess.
      void setApprover​(B2BCustomerModel value)
      Generated method - Setter of B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
      void setNote​(java.lang.String value)
      Generated method - Setter of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
      void setNote​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
      void setOrder​(AbstractOrderModel value)
      Generated method - Setter of B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
      void setPermission​(B2BPermissionModel value)
      Generated method - Setter of B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
      void setPermissionTypeCode​(java.lang.String value)
      Generated method - Setter of B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
      void setStatus​(PermissionStatus value)
      Generated method - Setter of B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.
      • 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
      • _ABSTRACTORDER2B2BPERMISSIONRESULTS

        public static final java.lang.String _ABSTRACTORDER2B2BPERMISSIONRESULTS
        Generated relation code constant for relation AbstractOrder2B2BPermissionResults defining source attribute Order in extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • PERMISSION

        public static final java.lang.String PERMISSION
        Generated constant - Attribute key of B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • PERMISSIONTYPECODE

        public static final java.lang.String PERMISSIONTYPECODE
        Generated constant - Attribute key of B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • STATUS

        public static final java.lang.String STATUS
        Generated constant - Attribute key of B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • APPROVER

        public static final java.lang.String APPROVER
        Generated constant - Attribute key of B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • NOTE

        public static final java.lang.String NOTE
        Generated constant - Attribute key of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • STATUSDISPLAY

        public static final java.lang.String STATUSDISPLAY
        Generated constant - Attribute key of B2BPermissionResult.statusDisplay attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • ORDERPOS

        public static final java.lang.String ORDERPOS
        Generated constant - Attribute key of B2BPermissionResult.OrderPOS attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Generated constant - Attribute key of B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
    • Constructor Detail

      • B2BPermissionResultModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BPermissionResultModel​(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

      • getApprover

        @Accessor(qualifier="approver",
                  type=GETTER)
        public B2BCustomerModel getApprover()
        Generated method - Getter of the B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
        Returns:
        the approver
      • getNote

        @Accessor(qualifier="note",
                  type=GETTER)
        public java.lang.String getNote()
        Generated method - Getter of the B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
        Returns:
        the note
      • getNote

        @Accessor(qualifier="note",
                  type=GETTER)
        public java.lang.String getNote​(java.util.Locale loc)
        Generated method - Getter of the B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
        Parameters:
        loc - the value localization key
        Returns:
        the note
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getOrder

        @Accessor(qualifier="Order",
                  type=GETTER)
        public AbstractOrderModel getOrder()
        Generated method - Getter of the B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
        Returns:
        the Order
      • getPermission

        @Accessor(qualifier="permission",
                  type=GETTER)
        public B2BPermissionModel getPermission()
        Generated method - Getter of the B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
        Returns:
        the permission
      • getPermissionTypeCode

        @Accessor(qualifier="permissionTypeCode",
                  type=GETTER)
        public java.lang.String getPermissionTypeCode()
        Generated method - Getter of the B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
        Returns:
        the permissionTypeCode - the item type code for the permission the result is holding as defined in items.xml
      • getStatus

        @Accessor(qualifier="status",
                  type=GETTER)
        public PermissionStatus getStatus()
        Generated method - Getter of the B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.
        Returns:
        the status
      • getStatusDisplay

        @Accessor(qualifier="statusDisplay",
                  type=GETTER)
        public java.lang.String getStatusDisplay()
        Generated method - Getter of the B2BPermissionResult.statusDisplay dynamic attribute defined at extension b2bapprovalprocess.
        Returns:
        the statusDisplay
      • setApprover

        @Accessor(qualifier="approver",
                  type=SETTER)
        public void setApprover​(B2BCustomerModel value)
        Generated method - Setter of B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the approver
      • setNote

        @Accessor(qualifier="note",
                  type=SETTER)
        public void setNote​(java.lang.String value)
        Generated method - Setter of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the note
      • setNote

        @Accessor(qualifier="note",
                  type=SETTER)
        public void setNote​(java.lang.String value,
                            java.util.Locale loc)
        Generated method - Setter of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the note
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setOrder

        @Accessor(qualifier="Order",
                  type=SETTER)
        public void setOrder​(AbstractOrderModel value)
        Generated method - Setter of B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the Order
      • setPermission

        @Accessor(qualifier="permission",
                  type=SETTER)
        public void setPermission​(B2BPermissionModel value)
        Generated method - Setter of B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the permission
      • setPermissionTypeCode

        @Accessor(qualifier="permissionTypeCode",
                  type=SETTER)
        public void setPermissionTypeCode​(java.lang.String value)
        Generated method - Setter of B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the permissionTypeCode - the item type code for the permission the result is holding as defined in items.xml
      • setStatus

        @Accessor(qualifier="status",
                  type=SETTER)
        public void setStatus​(PermissionStatus value)
        Generated method - Setter of B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the status