Class WarehouseModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.ordersplitting.model.WarehouseModel
- All Implemented Interfaces:
Serializable
Generated model class for type Warehouse first defined at extension basecommerce.
- 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 relationAdvancedShippingNotice2WarehouseRelationdefining source attributeadvancedShippingNoticesin extensionwarehousing.static final StringGenerated relation code constant for relationBaseStore2WarehouseReldefining source attributebaseStoresin extensioncommerceservices.static final StringGenerated relation code constant for relationConsignmentWarehouseRelationdefining source attributeconsignmentsin extensionbasecommerce.static final StringGenerated relation code constant for relationPoS2WarehouseReldefining source attributepointsOfServicein extensioncommerceservices.static final StringGenerated relation code constant for relationStockLevelWarehouseRelationdefining source attributestockLevelsin extensionbasecommerce.static final StringGenerated model type code constant.static final StringGenerated relation code constant for relationVendorWarehouseRelationdefining source attributevendorin extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.advancedShippingNoticesattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofWarehouse.baseStoresattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofWarehouse.codeattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.consignmentsattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.defaultattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.deliveryModesattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofWarehouse.externalattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofWarehouse.isAllowRestockattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofWarehouse.nameattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofWarehouse.priorityattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofWarehouse.scoreattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofWarehouse.sourcingbanattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.vendorattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.vendorPOSattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofWarehouse.warehouseBinsattribute defined at extensionwarehousing.static final StringGenerated constant - Attribute key ofWarehouse.warehouseBinTransferWorkflowNameattribute defined at extensionwarehousing.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 contextWarehouseModel(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 parametersWarehouseModel(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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theWarehouse.advancedShippingNoticesattribute defined at extensionwarehousing.Generated method - Getter of theWarehouse.baseStoresattribute defined at extensioncommerceservices.getCode()Generated method - Getter of theWarehouse.codeattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.consignmentsattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.defaultattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.deliveryModesattribute defined at extensionwarehousing.Generated method - Getter of theWarehouse.isAllowRestockattribute defined at extensionwarehousing.getName()Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.Generated method - Getter of theWarehouse.priorityattribute defined at extensionwarehousing.getScore()Generated method - Getter of theWarehouse.scoreattribute defined at extensionwarehousing.Generated method - Getter of theWarehouse.sourcingbanattribute defined at extensionwarehousing.Generated method - Getter of theWarehouse.stockLevelsattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.vendorattribute defined at extensionbasecommerce.Generated method - Getter of theWarehouse.warehouseBinsattribute defined at extensionwarehousing.Generated method - Getter of theWarehouse.warehouseBinTransferWorkflowNameattribute defined at extensionwarehousing.booleanGenerated method - Getter of theWarehouse.externalattribute defined at extensionwarehousing.voidGenerated method - Setter ofWarehouse.advancedShippingNoticesattribute defined at extensionwarehousing.voidsetBaseStores(Collection<BaseStoreModel> value) Generated method - Setter ofWarehouse.baseStoresattribute defined at extensioncommerceservices.voidGenerated method - Initial setter ofWarehouse.codeattribute defined at extensionbasecommerce.voidsetConsignments(Set<ConsignmentModel> value) Generated method - Setter ofWarehouse.consignmentsattribute defined at extensionbasecommerce.voidsetDefault(Boolean value) Generated method - Initial setter ofWarehouse.defaultattribute defined at extensionbasecommerce.voidsetDeliveryModes(Set<DeliveryModeModel> value) Generated method - Setter ofWarehouse.deliveryModesattribute defined at extensionwarehousing.voidsetExternal(boolean value) Generated method - Setter ofWarehouse.externalattribute defined at extensionwarehousing.voidsetIsAllowRestock(Boolean value) Generated method - Setter ofWarehouse.isAllowRestockattribute defined at extensionwarehousing.voidGenerated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.voidGenerated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.voidGenerated method - Setter ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.voidsetPriority(Integer value) Generated method - Setter ofWarehouse.priorityattribute defined at extensionwarehousing.voidGenerated method - Setter ofWarehouse.scoreattribute defined at extensionwarehousing.voidsetSourcingban(Collection<SourcingBanModel> value) Generated method - Setter ofWarehouse.sourcingbanattribute defined at extensionwarehousing.voidsetStockLevels(Set<StockLevelModel> value) Generated method - Setter ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.voidsetVendor(VendorModel value) Generated method - Initial setter ofWarehouse.vendorattribute defined at extensionbasecommerce.voidsetWarehouseBins(List<WarehouseBinModel> value) Generated method - Setter ofWarehouse.warehouseBinsattribute defined at extensionwarehousing.voidGenerated method - Setter ofWarehouse.warehouseBinTransferWorkflowNameattribute defined at extensionwarehousing.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:
-
_VENDORWAREHOUSERELATION
Generated relation code constant for relationVendorWarehouseRelationdefining source attributevendorin extensionbasecommerce.- See Also:
-
_CONSIGNMENTWAREHOUSERELATION
Generated relation code constant for relationConsignmentWarehouseRelationdefining source attributeconsignmentsin extensionbasecommerce.- See Also:
-
_STOCKLEVELWAREHOUSERELATION
Generated relation code constant for relationStockLevelWarehouseRelationdefining source attributestockLevelsin extensionbasecommerce.- See Also:
-
_POS2WAREHOUSEREL
Generated relation code constant for relationPoS2WarehouseReldefining source attributepointsOfServicein extensioncommerceservices.- See Also:
-
_BASESTORE2WAREHOUSEREL
Generated relation code constant for relationBaseStore2WarehouseReldefining source attributebaseStoresin extensioncommerceservices.- See Also:
-
_ADVANCEDSHIPPINGNOTICE2WAREHOUSERELATION
Generated relation code constant for relationAdvancedShippingNotice2WarehouseRelationdefining source attributeadvancedShippingNoticesin extensionwarehousing.- See Also:
-
CODE
Generated constant - Attribute key ofWarehouse.codeattribute defined at extensionbasecommerce.- See Also:
-
NAME
Generated constant - Attribute key ofWarehouse.nameattribute defined at extensionbasecommerce.- See Also:
-
DEFAULT
Generated constant - Attribute key ofWarehouse.defaultattribute defined at extensionbasecommerce.- See Also:
-
VENDORPOS
Generated constant - Attribute key ofWarehouse.vendorPOSattribute defined at extensionbasecommerce.- See Also:
-
VENDOR
Generated constant - Attribute key ofWarehouse.vendorattribute defined at extensionbasecommerce.- See Also:
-
CONSIGNMENTS
Generated constant - Attribute key ofWarehouse.consignmentsattribute defined at extensionbasecommerce.- See Also:
-
STOCKLEVELS
Generated constant - Attribute key ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.- See Also:
-
POINTSOFSERVICE
Generated constant - Attribute key ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.- See Also:
-
BASESTORES
Generated constant - Attribute key ofWarehouse.baseStoresattribute defined at extensioncommerceservices.- See Also:
-
PRIORITY
Generated constant - Attribute key ofWarehouse.priorityattribute defined at extensionwarehousing.- See Also:
-
SCORE
Generated constant - Attribute key ofWarehouse.scoreattribute defined at extensionwarehousing.- See Also:
-
ISALLOWRESTOCK
Generated constant - Attribute key ofWarehouse.isAllowRestockattribute defined at extensionwarehousing.- See Also:
-
EXTERNAL
Generated constant - Attribute key ofWarehouse.externalattribute defined at extensionwarehousing.- See Also:
-
WAREHOUSEBINTRANSFERWORKFLOWNAME
Generated constant - Attribute key ofWarehouse.warehouseBinTransferWorkflowNameattribute defined at extensionwarehousing.- See Also:
-
DELIVERYMODES
Generated constant - Attribute key ofWarehouse.deliveryModesattribute defined at extensionwarehousing.- See Also:
-
SOURCINGBAN
Generated constant - Attribute key ofWarehouse.sourcingbanattribute defined at extensionwarehousing.- See Also:
-
ADVANCEDSHIPPINGNOTICES
Generated constant - Attribute key ofWarehouse.advancedShippingNoticesattribute defined at extensionwarehousing.- See Also:
-
WAREHOUSEBINS
Generated constant - Attribute key ofWarehouse.warehouseBinsattribute defined at extensionwarehousing.- See Also:
-
-
Constructor Details
-
WarehouseModel
public WarehouseModel()Generated constructor - Default constructor for generic creation. -
WarehouseModel
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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeWarehouseat extensionbasecommerce_vendor- initial attribute declared by typeWarehouseat extensionbasecommerce
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeWarehouseat extensionbasecommerce_owner- initial attribute declared by typeItemat extensioncore_vendor- initial attribute declared by typeWarehouseat extensionbasecommerce
-
-
Method Details
-
getAdvancedShippingNotices
@Accessor(qualifier="advancedShippingNotices", type=GETTER) public Set<AdvancedShippingNoticeModel> getAdvancedShippingNotices()Generated method - Getter of theWarehouse.advancedShippingNoticesattribute defined at extensionwarehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the advancedShippingNotices
-
getBaseStores
Generated method - Getter of theWarehouse.baseStoresattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the baseStores
-
getCode
Generated method - Getter of theWarehouse.codeattribute defined at extensionbasecommerce.- Returns:
- the code
-
getConsignments
Generated method - Getter of theWarehouse.consignmentsattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the consignments
-
getDefault
Generated method - Getter of theWarehouse.defaultattribute defined at extensionbasecommerce.- Returns:
- the default
-
getDeliveryModes
Generated method - Getter of theWarehouse.deliveryModesattribute defined at extensionwarehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the deliveryModes
-
getIsAllowRestock
Generated method - Getter of theWarehouse.isAllowRestockattribute defined at extensionwarehousing.- Returns:
- the isAllowRestock - Flag to indicate if returned inventory allow to be updated in this warehouse
-
getName
Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.- Returns:
- the name
-
getName
Generated method - Getter of theWarehouse.nameattribute defined at extensionbasecommerce.- 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 theWarehouse.pointsOfServiceattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the pointsOfService
-
getPriority
Generated method - Getter of theWarehouse.priorityattribute defined at extensionwarehousing.- Returns:
- the priority
-
getScore
Generated method - Getter of theWarehouse.scoreattribute defined at extensionwarehousing.- 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 theWarehouse.sourcingbanattribute defined at extensionwarehousing. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the sourcingban
-
getStockLevels
Generated method - Getter of theWarehouse.stockLevelsattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the stockLevels
-
getVendor
Generated method - Getter of theWarehouse.vendorattribute defined at extensionbasecommerce.- Returns:
- the vendor
-
getWarehouseBins
Generated method - Getter of theWarehouse.warehouseBinsattribute defined at extensionwarehousing. 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 theWarehouse.warehouseBinTransferWorkflowNameattribute defined at extensionwarehousing.- Returns:
- the warehouseBinTransferWorkflowName
-
isExternal
Generated method - Getter of theWarehouse.externalattribute defined at extensionwarehousing.- 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 ofWarehouse.advancedShippingNoticesattribute defined at extensionwarehousing.- Parameters:
value- the advancedShippingNotices
-
setBaseStores
@Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(Collection<BaseStoreModel> value) Generated method - Setter ofWarehouse.baseStoresattribute defined at extensioncommerceservices.- Parameters:
value- the baseStores
-
setCode
Generated method - Initial setter ofWarehouse.codeattribute defined at extensionbasecommerce. 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 ofWarehouse.consignmentsattribute defined at extensionbasecommerce.- Parameters:
value- the consignments
-
setDefault
Generated method - Initial setter ofWarehouse.defaultattribute defined at extensionbasecommerce. 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 ofWarehouse.deliveryModesattribute defined at extensionwarehousing.- Parameters:
value- the deliveryModes
-
setExternal
Generated method - Setter ofWarehouse.externalattribute defined at extensionwarehousing.- Parameters:
value- the external - Flag to indicate if the warehouse is external or internal
-
setIsAllowRestock
Generated method - Setter ofWarehouse.isAllowRestockattribute defined at extensionwarehousing.- Parameters:
value- the isAllowRestock - Flag to indicate if returned inventory allow to be updated in this warehouse
-
setName
Generated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.- Parameters:
value- the name
-
setName
Generated method - Setter ofWarehouse.nameattribute defined at extensionbasecommerce.- Parameters:
value- the nameloc- 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 ofWarehouse.pointsOfServiceattribute defined at extensioncommerceservices.- Parameters:
value- the pointsOfService
-
setPriority
Generated method - Setter ofWarehouse.priorityattribute defined at extensionwarehousing.- Parameters:
value- the priority
-
setScore
Generated method - Setter ofWarehouse.scoreattribute defined at extensionwarehousing.- 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 ofWarehouse.sourcingbanattribute defined at extensionwarehousing.- Parameters:
value- the sourcingban
-
setStockLevels
@Accessor(qualifier="stockLevels", type=SETTER) public void setStockLevels(Set<StockLevelModel> value) Generated method - Setter ofWarehouse.stockLevelsattribute defined at extensionbasecommerce.- Parameters:
value- the stockLevels
-
setVendor
Generated method - Initial setter ofWarehouse.vendorattribute defined at extensionbasecommerce. 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 ofWarehouse.warehouseBinsattribute defined at extensionwarehousing.- Parameters:
value- the warehouseBins
-
setWarehouseBinTransferWorkflowName
@Accessor(qualifier="warehouseBinTransferWorkflowName", type=SETTER) public void setWarehouseBinTransferWorkflowName(String value) Generated method - Setter ofWarehouse.warehouseBinTransferWorkflowNameattribute defined at extensionwarehousing.- Parameters:
value- the warehouseBinTransferWorkflowName
-