ibspan.ecap.merchant.shopdecisions.dataadministration
Class StrategyProcessor

java.lang.Object
  extended by ibspan.ecap.merchant.shopdecisions.dataadministration.StrategyProcessor

public class StrategyProcessor
extends java.lang.Object

A class responsible for handling and staging the strategy dimension.

Author:
Micha³ Drozdowicz

Constructor Summary
StrategyProcessor(DataModificationService svc)
          Instantiates a new strategy processor.
 
Method Summary
 int retrieveStrategyKey(java.lang.String strategyId)
          Retrieve strategy key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrategyProcessor

public StrategyProcessor(DataModificationService svc)
Instantiates a new strategy processor.

Parameters:
svc - the DataModificationService to use to access the database
Method Detail

retrieveStrategyKey

public int retrieveStrategyKey(java.lang.String strategyId)
                        throws java.sql.SQLException
Retrieve strategy key.

Parameters:
strategyId - the id of the strategy, the key of which is to be retrieved.
Returns:
the the key of the strategy
Throws:
java.sql.SQLException - the SQL exception