|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibspan.ecap.merchant.shopdecisions.dataadministration.DataAdministrationModule
public class DataAdministrationModule
A module responsible for staging and administering the data in the data warehouse. Singleton.
Method Summary | |
---|---|
static DataAdministrationModule |
getInstance()
Gets the single instance of DataAdministrationModule. |
void |
initDateDimension(java.util.Date startDate,
int days)
|
void |
recordBuyerRegistrations(BuyerRegistrationInfo info)
Records buyer registrations. |
void |
recordDemandData(DemandData data)
Records demand data. |
void |
recordFinishedTransactionDetails(TransactionLog log)
Records finished transaction details in the database. |
void |
recordForecastData(ForecastDescription forecast)
|
void |
recordNegotiationDetails(NegotiationLog log)
Records negotiation details in the database. |
void |
recordWarehouseDeliveryDetails(DeliveryLog log)
Records warehouse delivery details. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DataAdministrationModule getInstance()
public void initDateDimension(java.util.Date startDate, int days)
public void recordNegotiationDetails(NegotiationLog log) throws DataAccessException
log
- the information about the negotiation
DataAccessException
- exception is thrown if an error during accessing the database occurs thus causing the operation to fail.public void recordFinishedTransactionDetails(TransactionLog log) throws DataAccessException, InvalidOperationException
log
- the information about the finished transaction
DataAccessException
- exception is thrown if an error during accessing the database occurs thus causing the operation to fail.
InvalidOperationException
- exception is thrown if the negotiation corresponding to the specified transaction hadn't been recorded before.public void recordWarehouseDeliveryDetails(DeliveryLog log) throws DataAccessException
log
- the information about a product delivery to the warehouse.
DataAccessException
- exception is thrown if an error during accessing the database occurs thus causing the operation to fail.public void recordDemandData(DemandData data) throws DataAccessException
data
- the demand data
DataAccessException
- exception is thrown if an error during accessing the database occurs thus causing the operation to fail.public void recordBuyerRegistrations(BuyerRegistrationInfo info) throws DataAccessException
info
- the info
DataAccessException
- the data access exceptionpublic void recordForecastData(ForecastDescription forecast) throws DataAccessException
DataAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |