|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.service.impl.AbstractEpServiceImpl
com.elasticpath.cmweb.reportservice.impl.OrderReportServiceImpl
public class OrderReportServiceImpl
Service for order based reports.
| Constructor Summary | |
|---|---|
OrderReportServiceImpl()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getObject(long uid)
Please don't call this method. |
int |
getOrderCountByStatus(int orderStatusCode)
Get the order count by status. |
PersistenceEngine |
getPersistenceEngine()
Returns the persistence engine. |
java.util.List |
orderSummaryReport(java.util.Date startDate,
java.util.Date endDate,
java.lang.Boolean cancelled)
List order summary based on create date and whether the order is cancelled. |
java.util.List |
orderTotalStatsReport(java.util.Date startDate,
java.util.Date endDate,
java.lang.String currencyCode,
boolean cancelled)
List order total stats based on create date, currency and whether the order is cancelled. |
void |
setIndexSearchService(IndexSearchService indexSearchService)
Set the indexSearchService instance. |
void |
setOrderStatusFactory(OrderStatusFactory orderStatusFactory)
Sets the OrderStatusFactory instance. |
void |
setPersistenceEngine(PersistenceEngine persistenceEngine)
Sets the persistence engine. |
| Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.service.EpService |
|---|
getElasticPath, setElasticPath |
| Constructor Detail |
|---|
public OrderReportServiceImpl()
| Method Detail |
|---|
public java.lang.Object getObject(long uid)
throws EpServiceException
uid - uid.
EpServiceException - unimplemented.public int getOrderCountByStatus(int orderStatusCode)
getOrderCountByStatus in interface OrderReportServiceorderStatusCode - the order status code
public PersistenceEngine getPersistenceEngine()
public java.util.List orderSummaryReport(java.util.Date startDate,
java.util.Date endDate,
java.lang.Boolean cancelled)
orderSummaryReport in interface OrderReportServicestartDate - the start date of the report.endDate - the end date of the report.cancelled - include cancelled orders.
public java.util.List orderTotalStatsReport(java.util.Date startDate,
java.util.Date endDate,
java.lang.String currencyCode,
boolean cancelled)
orderTotalStatsReport in interface OrderReportServicestartDate - the start date of the report.endDate - the end date of the report.currencyCode - ISO-4217 currency codecancelled - include cancelled orders.
public void setIndexSearchService(IndexSearchService indexSearchService)
indexSearchService - the indexSearchService instance.public void setOrderStatusFactory(OrderStatusFactory orderStatusFactory)
OrderStatusFactory instance.
orderStatusFactory - the OrderStatusFactory instance.public void setPersistenceEngine(PersistenceEngine persistenceEngine)
persistenceEngine - the persistence engine to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||