Class B2BPermissionResultModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2b.model.B2BPermissionResultModel
All Implemented Interfaces:
Serializable

public class B2BPermissionResultModel extends ItemModel
Generated model class for type B2BPermissionResult first defined at extension b2bapprovalprocess.
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation AbstractOrder2B2BPermissionResults defining source attribute Order in extension b2bapprovalprocess.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
    static final String
    Generated constant - Attribute key of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
    static final String
    Generated constant - Attribute key of B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
    static final String
    Generated constant - Attribute key of B2BPermissionResult.OrderPOS attribute defined at extension b2bapprovalprocess.
    static final String
    Generated constant - Attribute key of B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
    static final String
    Generated constant - Attribute key of B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
    static final String
    Generated constant - Attribute key of B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.
    static final String
    Generated constant - Attribute key of B2BPermissionResult.statusDisplay attribute defined at extension b2bapprovalprocess.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
    Generated method - Getter of the B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
    Generated method - Getter of the B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
    Generated method - Getter of the B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
    Generated method - Getter of the B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
    Generated method - Getter of the B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
    Generated method - Getter of the B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.
    Generated method - Getter of the B2BPermissionResult.statusDisplay dynamic attribute defined at extension b2bapprovalprocess.
    void
    Generated method - Setter of B2BPermissionResult.approver attribute defined at extension b2bapprovalprocess.
    void
    setNote(String value)
    Generated method - Setter of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
    void
    setNote(String value, Locale loc)
    Generated method - Setter of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
    void
    Generated method - Setter of B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
    void
    Generated method - Setter of B2BPermissionResult.permission attribute defined at extension b2bapprovalprocess.
    void
    Generated method - Setter of B2BPermissionResult.permissionTypeCode attribute defined at extension b2bapprovalprocess.
    void
    Generated method - Setter of B2BPermissionResult.status attribute defined at extension b2bapprovalprocess.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    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 Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _ABSTRACTORDER2B2BPERMISSIONRESULTS

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

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

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

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

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

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

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

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

      public static final String ORDER
      Generated constant - Attribute key of B2BPermissionResult.Order attribute defined at extension b2bapprovalprocess.
      See Also:
  • Constructor Details

    • 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 Details

    • 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 String getNote()
      Generated method - Getter of the B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
      Returns:
      the note
    • getNote

      @Accessor(qualifier="note", type=GETTER) public String getNote(Locale loc)
      Generated method - Getter of the B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
      Parameters:
      loc - the value localization key
      Returns:
      the note
      Throws:
      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 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 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(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(String value, Locale loc)
      Generated method - Setter of B2BPermissionResult.note attribute defined at extension b2bapprovalprocess.
      Parameters:
      value - the note
      loc - the value localization key
      Throws:
      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(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