org.salespointframework.web.transferstrategies
Class CatalogToCatalogTransferStrategy<T extends CatalogItem>

java.lang.Object
  extended by org.salespointframework.desktop.strategies.FormSheetStrategy
      extended by org.salespointframework.desktop.strategies.dataexchangeformsheet.MoveStrategy
          extended by org.salespointframework.desktop.strategies.dataexchangeformsheet.CCStrategy
              extended by org.salespointframework.web.transferstrategies.CatalogToCatalogTransferStrategy<T>
All Implemented Interfaces:
ProcessErrorCodes, ITransferStrategy<T>

public class CatalogToCatalogTransferStrategy<T extends CatalogItem>
extends CCStrategy
implements ITransferStrategy<T>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.salespointframework.desktop.strategies.FormSheetStrategy
FormSheetStrategy.ErrorHandler
 
Field Summary
 
Fields inherited from class org.salespointframework.desktop.strategies.FormSheetStrategy
DEFAULT_ERROR_HANDLER, m_ehErrHandler, MSG_POPUP_ERROR_HANDLER
 
Fields inherited from interface org.salespointframework.core.exceptions.ProcessErrorCodes
DATABASKET_CONFLICT_ERROR, DUPLICATE_KEY_EXCEPTION, ERR_FORCED_SHUTDOWN, ERR_INTERNAL, ERR_LOWERBOUND, ERR_NOERROR, ERR_UPPERBOUND, NOT_ENOUGH_ELEMENTS_ERROR, REMOVE_VETO_EXCEPTION
 
Constructor Summary
CatalogToCatalogTransferStrategy()
           
 
Method Summary
 boolean areItemsInList()
           
 void moveToDestination()
           
 void moveToSource()
           
 void setDataBasket(DataBasket dataBasket)
           
 void setDestinationCatalog(Catalog<T> destinationCatalog)
           
 void setItems(java.util.List<T> itemList)
           
 void setSourceCatalog(Catalog<T> sourceCatalog)
           
 
Methods inherited from class org.salespointframework.desktop.strategies.dataexchangeformsheet.CCStrategy
checkMove, getCheckMoveGate, getCheckMoveToDestGate, getCheckMoveToSourceGate, getMoveToDestProcess, getMoveToSourceProcess, moveImpl
 
Methods inherited from class org.salespointframework.desktop.strategies.dataexchangeformsheet.MoveStrategy
canMoveToDest, canMoveToSource
 
Methods inherited from class org.salespointframework.desktop.strategies.FormSheetStrategy
error, setErrorHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogToCatalogTransferStrategy

public CatalogToCatalogTransferStrategy()
Method Detail

areItemsInList

public boolean areItemsInList()
Specified by:
areItemsInList in interface ITransferStrategy<T extends CatalogItem>

moveToDestination

public void moveToDestination()
Specified by:
moveToDestination in interface ITransferStrategy<T extends CatalogItem>

moveToSource

public void moveToSource()
Specified by:
moveToSource in interface ITransferStrategy<T extends CatalogItem>

setItems

public void setItems(java.util.List<T> itemList)
Specified by:
setItems in interface ITransferStrategy<T extends CatalogItem>

setSourceCatalog

public void setSourceCatalog(Catalog<T> sourceCatalog)

setDestinationCatalog

public void setDestinationCatalog(Catalog<T> destinationCatalog)

setDataBasket

public void setDataBasket(DataBasket dataBasket)