com.elasticpath.cmweb.reportservice.impl
Class PromotionReportServiceImpl

java.lang.Object
  extended by com.elasticpath.service.impl.AbstractEpServiceImpl
      extended by com.elasticpath.cmweb.reportservice.impl.PromotionReportServiceImpl
All Implemented Interfaces:
PromotionReportService, EpService

public class PromotionReportServiceImpl
extends AbstractEpServiceImpl
implements PromotionReportService

Service for promotion based reports.


Constructor Summary
PromotionReportServiceImpl()
           
 
Method Summary
 int getActivePromotionCount()
          Get the active promotion count.
 java.lang.Object getObject(long uid)
          Please don't call this method.
 PersistenceEngine getPersistenceEngine()
          Returns the persistence engine.
 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

PromotionReportServiceImpl

public PromotionReportServiceImpl()
Method Detail

getActivePromotionCount

public int getActivePromotionCount()
Get the active promotion count.

Specified by:
getActivePromotionCount in interface PromotionReportService
Returns:
the number of active promotion rules.

getObject

public java.lang.Object getObject(long uid)
                           throws EpServiceException
Please don't call this method. Doesn't really make sense to have a get method, however, had to implement abstract method.

Parameters:
uid - uid.
Returns:
nothing.
Throws:
EpServiceException - unimplemented.

getPersistenceEngine

public PersistenceEngine getPersistenceEngine()
Returns the persistence engine.

Returns:
the persistence engine.

setPersistenceEngine

public void setPersistenceEngine(PersistenceEngine persistenceEngine)
Sets the persistence engine.

Parameters:
persistenceEngine - the persistence engine to set.