SalesPoint Framework v3.1

data.stdforms.twotableformsheet
Class MoveStrategy

java.lang.Object
  extended bysale.stdforms.FormSheetStrategy
      extended bydata.stdforms.twotableformsheet.MoveStrategy
All Implemented Interfaces:
ProcessErrorCodes, Serializable
Direct Known Subclasses:
CCSStrategy, CCStrategy, CDBStrategy, CSCSStrategy, CSDBStrategy, CSSStrategy, DBCSStrategy, DBCStrategy, DBSSStrategy, SSDBStrategy, SSSSStrategy

public abstract class MoveStrategy
extends FormSheetStrategy

Abstract super class for all strategies that can be used with TwoTableFormSheets.

There will be one subclass for each combination of source and destination.

Since:
v2.0
Author:
Steffen Zschaler
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class sale.stdforms.FormSheetStrategy
FormSheetStrategy.ErrorHandler
 
Field Summary
 
Fields inherited from class sale.stdforms.FormSheetStrategy
DEFAULT_ERROR_HANDLER, m_ehErrHandler, MSG_POPUP_ERROR_HANDLER
 
Fields inherited from interface sale.ProcessErrorCodes
DATABASKET_CONFLICT_ERROR, DUPLICATE_KEY_EXCEPTION, ERR_INTERNAL, ERR_LOWERBOUND, ERR_NOERROR, ERR_UPPERBOUND, NOT_ENOUGH_ELEMENTS_ERROR, REMOVE_VETO_EXCEPTION
 
Constructor Summary
MoveStrategy()
           
 
Method Summary
 boolean canMoveToDest()
          If true, a button for moving items from source to destination will be included.
 boolean canMoveToSource()
          If true, a button for moving items from destination to source will be included.
 
Methods inherited from class sale.stdforms.FormSheetStrategy
error, setErrorHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveStrategy

public MoveStrategy()
Method Detail

canMoveToDest

public boolean canMoveToDest()
If true, a button for moving items from source to destination will be included.

Override:
Sometimes The default implementation returns true.

canMoveToSource

public boolean canMoveToSource()
If true, a button for moving items from destination to source will be included.

Override:
Sometimes The default implementation returns true.

SalesPoint Framework v3.1