SalesPoint v3.3 API

data.stdforms.twotableformsheet
Class MoveStrategy

java.lang.Object
  extended by sale.stdforms.FormSheetStrategy
      extended by data.stdforms.twotableformsheet.MoveStrategy
All Implemented Interfaces:
Serializable, ProcessErrorCodes
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/interfaces 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 v3.3 API