Class DefaultAsnDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.warehousing.asn.dao.impl.DefaultAsnDao
-
public class DefaultAsnDao extends AbstractItemDao implements AsnDao
Default implementation ofAsnDao
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringASN_FOR_INTERNALIDprotected static java.lang.StringASNENTRIES_QUERY_PARAMprotected static java.lang.StringSTOCKLEVEL_FOR_ASNENTRY_QUERY-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultAsnDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdvancedShippingNoticeModelgetAsnForInternalId(java.lang.String internalId)ReturnsAdvancedShippingNoticeModelfor givenAdvancedShippingNoticeModel.INTERNALIDjava.util.List<StockLevelModel>getStockLevelsForAsn(AdvancedShippingNoticeModel asn)Returns list ofStockLevelModel(s) for the givenAdvancedShippingNoticeModel-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Field Detail
-
ASNENTRIES_QUERY_PARAM
protected static final java.lang.String ASNENTRIES_QUERY_PARAM
- See Also:
- Constant Field Values
-
STOCKLEVEL_FOR_ASNENTRY_QUERY
protected static final java.lang.String STOCKLEVEL_FOR_ASNENTRY_QUERY
- See Also:
- Constant Field Values
-
ASN_FOR_INTERNALID
protected static final java.lang.String ASN_FOR_INTERNALID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStockLevelsForAsn
public java.util.List<StockLevelModel> getStockLevelsForAsn(AdvancedShippingNoticeModel asn)
Description copied from interface:AsnDaoReturns list ofStockLevelModel(s) for the givenAdvancedShippingNoticeModel- Specified by:
getStockLevelsForAsnin interfaceAsnDao- Parameters:
asn- theAdvancedShippingNoticeModel- Returns:
- the list of corresponding
StockLevelModel
-
getAsnForInternalId
public AdvancedShippingNoticeModel getAsnForInternalId(java.lang.String internalId)
Description copied from interface:AsnDaoReturnsAdvancedShippingNoticeModelfor givenAdvancedShippingNoticeModel.INTERNALID- Specified by:
getAsnForInternalIdin interfaceAsnDao- Parameters:
internalId- the givenAdvancedShippingNoticeModel.INTERNALID- Returns:
- the
AdvancedShippingNoticeModel
-
-