|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cocome.tradingsystem.inventory.data.enterprise.impl.EnterpriseQueryImpl
public class EnterpriseQueryImpl
Constructor Summary | |
---|---|
EnterpriseQueryImpl()
|
Method Summary | |
---|---|
long |
getMeanTimeToDelivery(ProductSupplier supplier,
TradingEnterprise enterprise,
PersistenceContext pctx)
|
TradingEnterprise |
queryEnterpriseById(long enterpriseId,
PersistenceContext pctx)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnterpriseQueryImpl()
Method Detail |
---|
public TradingEnterprise queryEnterpriseById(long enterpriseId, PersistenceContext pctx)
queryEnterpriseById
in interface EnterpriseQueryIf
enterpriseId
- The unique identifier of an TradingEnterprise objectpctx
- The persistence context
public long getMeanTimeToDelivery(ProductSupplier supplier, TradingEnterprise enterprise, PersistenceContext pctx)
getMeanTimeToDelivery
in interface EnterpriseQueryIf
supplier
- The supplier which delivers the productsenterprise
- The enterprise for which the products are deliveredpctx
- The persistence context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |