|
Großmarkt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--sale.stdforms.FormSheetStrategy
|
+--data.stdforms.twotableformsheet.MoveStrategy
|
+--data.stdforms.twotableformsheet.CCSStrategy
|
+--market.swing.CCSStrategyMarket
Defines the behaviour of the shifting buttons in the manager's Purchase-TwoTableFormSheet
| 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 | |
CCSStrategyMarket()
|
|
| Method Summary | |
protected void |
moveToSource(SaleProcess p,
SalesPoint sp,
Catalog cSource,
CountingStock csDest,
DataBasket db,
CatalogItem ci,
int nCount)
Removes at most as much items as are left in the stock. |
| Methods inherited from class data.stdforms.twotableformsheet.CCSStrategy |
checkMoveToDest, checkMoveToSource, getCheckMoveToDestGate, getCheckMoveToSourceGate, getMoveToDestProcess, getMoveToSourceProcess, moveToDest |
| Methods inherited from class data.stdforms.twotableformsheet.MoveStrategy |
canMoveToDest, canMoveToSource |
| 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 |
public CCSStrategyMarket()
| Method Detail |
protected void moveToSource(SaleProcess p,
SalesPoint sp,
Catalog cSource,
CountingStock csDest,
DataBasket db,
CatalogItem ci,
int nCount)
moveToSource in class CCSStrategyp - the current SaleProcess.sp - the SalesPoint on which the TTFS is displayed.cSource - the source Catalog.csDest - the destination CountingStock.db - the transaction's DataBasket.ci - the affected CatalogItemnCount - the amount of Items to be shifted.
|
Großmarkt | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||