Class WarehouseModel

All Implemented Interfaces:
Serializable

public class WarehouseModel extends ItemModel
Generated model class for type Warehouse first defined at extension basecommerce.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _VENDORWAREHOUSERELATION
      Generated relation code constant for relation VendorWarehouseRelation defining source attribute vendor in extension basecommerce.
      See Also:
    • _CONSIGNMENTWAREHOUSERELATION

      public static final String _CONSIGNMENTWAREHOUSERELATION
      Generated relation code constant for relation ConsignmentWarehouseRelation defining source attribute consignments in extension basecommerce.
      See Also:
    • _STOCKLEVELWAREHOUSERELATION

      public static final String _STOCKLEVELWAREHOUSERELATION
      Generated relation code constant for relation StockLevelWarehouseRelation defining source attribute stockLevels in extension basecommerce.
      See Also:
    • _POS2WAREHOUSEREL

      public static final String _POS2WAREHOUSEREL
      Generated relation code constant for relation PoS2WarehouseRel defining source attribute pointsOfService in extension commerceservices.
      See Also:
    • _BASESTORE2WAREHOUSEREL

      public static final String _BASESTORE2WAREHOUSEREL
      Generated relation code constant for relation BaseStore2WarehouseRel defining source attribute baseStores in extension commerceservices.
      See Also:
    • _ADVANCEDSHIPPINGNOTICE2WAREHOUSERELATION

      public static final String _ADVANCEDSHIPPINGNOTICE2WAREHOUSERELATION
      Generated relation code constant for relation AdvancedShippingNotice2WarehouseRelation defining source attribute advancedShippingNotices in extension warehousing.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of Warehouse.code attribute defined at extension basecommerce.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of Warehouse.name attribute defined at extension basecommerce.
      See Also:
    • DEFAULT

      public static final String DEFAULT
      Generated constant - Attribute key of Warehouse.default attribute defined at extension basecommerce.
      See Also:
    • VENDORPOS

      public static final String VENDORPOS
      Generated constant - Attribute key of Warehouse.vendorPOS attribute defined at extension basecommerce.
      See Also:
    • VENDOR

      public static final String VENDOR
      Generated constant - Attribute key of Warehouse.vendor attribute defined at extension basecommerce.
      See Also:
    • CONSIGNMENTS

      public static final String CONSIGNMENTS
      Generated constant - Attribute key of Warehouse.consignments attribute defined at extension basecommerce.
      See Also:
    • STOCKLEVELS

      public static final String STOCKLEVELS
      Generated constant - Attribute key of Warehouse.stockLevels attribute defined at extension basecommerce.
      See Also:
    • POINTSOFSERVICE

      public static final String POINTSOFSERVICE
      Generated constant - Attribute key of Warehouse.pointsOfService attribute defined at extension commerceservices.
      See Also:
    • BASESTORES

      public static final String BASESTORES
      Generated constant - Attribute key of Warehouse.baseStores attribute defined at extension commerceservices.
      See Also:
    • PRIORITY

      public static final String PRIORITY
      Generated constant - Attribute key of Warehouse.priority attribute defined at extension warehousing.
      See Also:
    • SCORE

      public static final String SCORE
      Generated constant - Attribute key of Warehouse.score attribute defined at extension warehousing.
      See Also:
    • ISALLOWRESTOCK

      public static final String ISALLOWRESTOCK
      Generated constant - Attribute key of Warehouse.isAllowRestock attribute defined at extension warehousing.
      See Also:
    • EXTERNAL

      public static final String EXTERNAL
      Generated constant - Attribute key of Warehouse.external attribute defined at extension warehousing.
      See Also:
    • WAREHOUSEBINTRANSFERWORKFLOWNAME

      public static final String WAREHOUSEBINTRANSFERWORKFLOWNAME
      Generated constant - Attribute key of Warehouse.warehouseBinTransferWorkflowName attribute defined at extension warehousing.
      See Also:
    • DELIVERYMODES

      public static final String DELIVERYMODES
      Generated constant - Attribute key of Warehouse.deliveryModes attribute defined at extension warehousing.
      See Also:
    • SOURCINGBAN

      public static final String SOURCINGBAN
      Generated constant - Attribute key of Warehouse.sourcingban attribute defined at extension warehousing.
      See Also:
    • ADVANCEDSHIPPINGNOTICES

      public static final String ADVANCEDSHIPPINGNOTICES
      Generated constant - Attribute key of Warehouse.advancedShippingNotices attribute defined at extension warehousing.
      See Also:
    • WAREHOUSEBINS

      public static final String WAREHOUSEBINS
      Generated constant - Attribute key of Warehouse.warehouseBins attribute defined at extension warehousing.
      See Also:
  • Constructor Details

    • WarehouseModel

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

      public WarehouseModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • WarehouseModel

      @Deprecated(since="4.1.1", forRemoval=true) public WarehouseModel(String _code, VendorModel _vendor)
      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 - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type Warehouse at extension basecommerce
      _vendor - initial attribute declared by type Warehouse at extension basecommerce
    • WarehouseModel

      @Deprecated(since="4.1.1", forRemoval=true) public WarehouseModel(String _code, ItemModel _owner, VendorModel _vendor)
      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:
      _code - initial attribute declared by type Warehouse at extension basecommerce
      _owner - initial attribute declared by type Item at extension core
      _vendor - initial attribute declared by type Warehouse at extension basecommerce
  • Method Details

    • getAdvancedShippingNotices

      @Accessor(qualifier="advancedShippingNotices", type=GETTER) public Set<AdvancedShippingNoticeModel> getAdvancedShippingNotices()
      Generated method - Getter of the Warehouse.advancedShippingNotices attribute defined at extension warehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the advancedShippingNotices
    • getBaseStores

      @Accessor(qualifier="baseStores", type=GETTER) public Collection<BaseStoreModel> getBaseStores()
      Generated method - Getter of the Warehouse.baseStores attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the baseStores
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the Warehouse.code attribute defined at extension basecommerce.
      Returns:
      the code
    • getConsignments

      @Accessor(qualifier="consignments", type=GETTER) public Set<ConsignmentModel> getConsignments()
      Generated method - Getter of the Warehouse.consignments attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the consignments
    • getDefault

      @Accessor(qualifier="default", type=GETTER) public Boolean getDefault()
      Generated method - Getter of the Warehouse.default attribute defined at extension basecommerce.
      Returns:
      the default
    • getDeliveryModes

      @Accessor(qualifier="deliveryModes", type=GETTER) public Set<DeliveryModeModel> getDeliveryModes()
      Generated method - Getter of the Warehouse.deliveryModes attribute defined at extension warehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the deliveryModes
    • getIsAllowRestock

      @Accessor(qualifier="isAllowRestock", type=GETTER) public Boolean getIsAllowRestock()
      Generated method - Getter of the Warehouse.isAllowRestock attribute defined at extension warehousing.
      Returns:
      the isAllowRestock - Flag to indicate if returned inventory allow to be updated in this warehouse
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the Warehouse.name attribute defined at extension basecommerce.
      Parameters:
      loc - the value localization key
      Returns:
      the name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getPointsOfService

      @Accessor(qualifier="pointsOfService", type=GETTER) public Collection<PointOfServiceModel> getPointsOfService()
      Generated method - Getter of the Warehouse.pointsOfService attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the pointsOfService
    • getPriority

      @Accessor(qualifier="priority", type=GETTER) public Integer getPriority()
      Generated method - Getter of the Warehouse.priority attribute defined at extension warehousing.
      Returns:
      the priority
    • getScore

      @Accessor(qualifier="score", type=GETTER) public Double getScore()
      Generated method - Getter of the Warehouse.score attribute defined at extension warehousing.
      Returns:
      the score - Score of given Warehouse that should reflect its performance.
    • getSourcingban

      @Accessor(qualifier="sourcingban", type=GETTER) public Collection<SourcingBanModel> getSourcingban()
      Generated method - Getter of the Warehouse.sourcingban attribute defined at extension warehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the sourcingban
    • getStockLevels

      @Accessor(qualifier="stockLevels", type=GETTER) public Set<StockLevelModel> getStockLevels()
      Generated method - Getter of the Warehouse.stockLevels attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the stockLevels
    • getVendor

      @Accessor(qualifier="vendor", type=GETTER) public VendorModel getVendor()
      Generated method - Getter of the Warehouse.vendor attribute defined at extension basecommerce.
      Returns:
      the vendor
    • getWarehouseBins

      @Accessor(qualifier="warehouseBins", type=GETTER) public List<WarehouseBinModel> getWarehouseBins()
      Generated method - Getter of the Warehouse.warehouseBins attribute defined at extension warehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the warehouseBins
    • getWarehouseBinTransferWorkflowName

      @Accessor(qualifier="warehouseBinTransferWorkflowName", type=GETTER) public String getWarehouseBinTransferWorkflowName()
      Generated method - Getter of the Warehouse.warehouseBinTransferWorkflowName attribute defined at extension warehousing.
      Returns:
      the warehouseBinTransferWorkflowName
    • isExternal

      @Accessor(qualifier="external", type=GETTER) public boolean isExternal()
      Generated method - Getter of the Warehouse.external attribute defined at extension warehousing.
      Returns:
      the external - Flag to indicate if the warehouse is external or internal
    • setAdvancedShippingNotices

      @Accessor(qualifier="advancedShippingNotices", type=SETTER) public void setAdvancedShippingNotices(Set<AdvancedShippingNoticeModel> value)
      Generated method - Setter of Warehouse.advancedShippingNotices attribute defined at extension warehousing.
      Parameters:
      value - the advancedShippingNotices
    • setBaseStores

      @Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(Collection<BaseStoreModel> value)
      Generated method - Setter of Warehouse.baseStores attribute defined at extension commerceservices.
      Parameters:
      value - the baseStores
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Initial setter of Warehouse.code attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the code
    • setConsignments

      @Accessor(qualifier="consignments", type=SETTER) public void setConsignments(Set<ConsignmentModel> value)
      Generated method - Setter of Warehouse.consignments attribute defined at extension basecommerce.
      Parameters:
      value - the consignments
    • setDefault

      @Accessor(qualifier="default", type=SETTER) public void setDefault(Boolean value)
      Generated method - Initial setter of Warehouse.default attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the default
    • setDeliveryModes

      @Accessor(qualifier="deliveryModes", type=SETTER) public void setDeliveryModes(Set<DeliveryModeModel> value)
      Generated method - Setter of Warehouse.deliveryModes attribute defined at extension warehousing.
      Parameters:
      value - the deliveryModes
    • setExternal

      @Accessor(qualifier="external", type=SETTER) public void setExternal(boolean value)
      Generated method - Setter of Warehouse.external attribute defined at extension warehousing.
      Parameters:
      value - the external - Flag to indicate if the warehouse is external or internal
    • setIsAllowRestock

      @Accessor(qualifier="isAllowRestock", type=SETTER) public void setIsAllowRestock(Boolean value)
      Generated method - Setter of Warehouse.isAllowRestock attribute defined at extension warehousing.
      Parameters:
      value - the isAllowRestock - Flag to indicate if returned inventory allow to be updated in this warehouse
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of Warehouse.name attribute defined at extension basecommerce.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of Warehouse.name attribute defined at extension basecommerce.
      Parameters:
      value - the name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setPointsOfService

      @Accessor(qualifier="pointsOfService", type=SETTER) public void setPointsOfService(Collection<PointOfServiceModel> value)
      Generated method - Setter of Warehouse.pointsOfService attribute defined at extension commerceservices.
      Parameters:
      value - the pointsOfService
    • setPriority

      @Accessor(qualifier="priority", type=SETTER) public void setPriority(Integer value)
      Generated method - Setter of Warehouse.priority attribute defined at extension warehousing.
      Parameters:
      value - the priority
    • setScore

      @Accessor(qualifier="score", type=SETTER) public void setScore(Double value)
      Generated method - Setter of Warehouse.score attribute defined at extension warehousing.
      Parameters:
      value - the score - Score of given Warehouse that should reflect its performance.
    • setSourcingban

      @Accessor(qualifier="sourcingban", type=SETTER) public void setSourcingban(Collection<SourcingBanModel> value)
      Generated method - Setter of Warehouse.sourcingban attribute defined at extension warehousing.
      Parameters:
      value - the sourcingban
    • setStockLevels

      @Accessor(qualifier="stockLevels", type=SETTER) public void setStockLevels(Set<StockLevelModel> value)
      Generated method - Setter of Warehouse.stockLevels attribute defined at extension basecommerce.
      Parameters:
      value - the stockLevels
    • setVendor

      @Accessor(qualifier="vendor", type=SETTER) public void setVendor(VendorModel value)
      Generated method - Initial setter of Warehouse.vendor attribute defined at extension basecommerce. Can only be used at creation of model - before first save.
      Parameters:
      value - the vendor
    • setWarehouseBins

      @Accessor(qualifier="warehouseBins", type=SETTER) public void setWarehouseBins(List<WarehouseBinModel> value)
      Generated method - Setter of Warehouse.warehouseBins attribute defined at extension warehousing.
      Parameters:
      value - the warehouseBins
    • setWarehouseBinTransferWorkflowName

      @Accessor(qualifier="warehouseBinTransferWorkflowName", type=SETTER) public void setWarehouseBinTransferWorkflowName(String value)
      Generated method - Setter of Warehouse.warehouseBinTransferWorkflowName attribute defined at extension warehousing.
      Parameters:
      value - the warehouseBinTransferWorkflowName