com.retek.rmm.gui.screen.promotions
Class PromotionDialogHandler

java.lang.Object
  extended bycom.retek.commons.gui.core.ScreenHandler
      extended bycom.retek.rmm.gui.screen.promotions.PromotionDialogHandler

public class PromotionDialogHandler
extends ScreenHandler


Constructor Summary
PromotionDialogHandler()
           
 
Method Summary
 void buildGiftCertificateBenefit(java.lang.String amount, java.lang.String value, boolean isPercentOff)
           
 void buildItemBenefit(java.util.List recieveItems, java.lang.String value, boolean isPercentOff)
           
 void buildItemCurrencyThreshold(java.util.Collection purchaseItems, java.lang.String amount)
           
 void buildItemQuantityThreshold(java.util.Collection purchaseItems, java.lang.String quantity)
           
 void buildLineMerchAmountBenefit(java.lang.String value, boolean isPercentOff)
           
 void buildOrderCurrencyThreshold(java.lang.String amount)
           
 void buildOrderMerchAmountBenefit(java.lang.String value, boolean isPercentOff)
           
 void buildOrderQuantityThreshold(java.lang.String quantity)
           
 void buildOrderServiceBenefit(java.lang.Object serviceType, java.lang.String value, boolean isPercentOff)
          BUILD BENEFIT AND THRESHOLD OBJECTS
 void buildPlanCodeBenefit(java.util.Set tenderTypePlanCodes)
           
 void createPromotion()
          PROMOTION HEADER
 void discardChanges()
           
 java.lang.Object getBanner()
           
 java.util.List getBanners()
           
 java.lang.Object getChannelType()
           
 java.util.List getChannelTypes(java.lang.Object object)
           
 java.lang.String getDescription()
           
 java.lang.String getEndDate()
           
 RDate getEndDateFromSellingList(java.lang.Object object)
           
 java.lang.Object getFormat()
           
 java.lang.Object getGeneral()
           
 java.lang.Object getPromotion()
           
 java.util.Collection getPromotionFormats()
           
 java.lang.String getPromotionId()
           
 java.util.Collection getPromotionTriggers(java.lang.Object promotionFormat)
           
 java.util.Set getSelectedOfferCode()
           
 java.util.Set getSelectedSourceCodes()
           
 java.util.Set getSelectedTenderTypes()
           
 java.lang.Object getSourceCodeObject()
           
 java.lang.String getStartDate()
           
 RDate getStartDateFromSellingList(java.lang.Object object)
           
 java.lang.String getStatus()
           
 java.lang.Object getThreshold()
           
 java.lang.Object getTrigger()
           
 boolean hasSourceCodes()
           
 boolean isActiveStatus()
           
 boolean isAltSelling(java.lang.Object object)
           
 boolean isGeneralPromotion(java.lang.Object object)
           
 boolean isOfferCode(java.lang.Object object)
          PROMOTION TYPE METHODS
 boolean isPromotionPersisted()
           
 boolean isSourceCode(java.lang.Object object)
           
 boolean isTenderType(java.lang.Object object)
           
 boolean isThresholdPromotion(java.lang.Object object)
           
 boolean isWorksheetStatus()
           
 void setBanner(java.lang.Object object)
           
 void setChannelType(java.lang.Object object)
           
 void setDescription(java.lang.String description)
           
 void setEndDate(java.lang.String endDate)
           
 void setPromotion(java.lang.Object object)
           
 void setPromotionBenefits(java.util.Set benefitsSet)
           
 void setPromotionTrigger(java.lang.Object trigger)
           
 void setSelectedOfferCodes(java.util.List offerCodes)
           
 void setSelectedTenderTypes(java.util.List tenderTypes)
           
 void setSellingLists(java.util.List sellingLists)
           
 void setSourceCodes(java.util.List sourceCodeList)
          SOURCE CODE SEARCH
 void setStartDate(java.lang.String startDate)
           
 boolean setThreshold(boolean threshold)
           
 void submit()
           
 
Methods inherited from class com.retek.commons.gui.core.ScreenHandler
getException, getLogger, getSystemException, processSystemException, register, register, unregister, unregisterAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromotionDialogHandler

public PromotionDialogHandler()
Method Detail

createPromotion

public void createPromotion()
                     throws SystemException
PROMOTION HEADER

Throws:
SystemException

setPromotion

public void setPromotion(java.lang.Object object)

getPromotion

public java.lang.Object getPromotion()

getPromotionId

public java.lang.String getPromotionId()
                                throws SystemException
Throws:
SystemException

getBanners

public java.util.List getBanners()

getChannelTypes

public java.util.List getChannelTypes(java.lang.Object object)
                               throws SystemException
Throws:
SystemException

getStartDate

public java.lang.String getStartDate()
                              throws SystemException
Throws:
SystemException

getEndDate

public java.lang.String getEndDate()
                            throws SystemException
Throws:
SystemException

getStatus

public java.lang.String getStatus()
                           throws SystemException,
                                  BusinessException
Throws:
SystemException
BusinessException

getPromotionFormats

public java.util.Collection getPromotionFormats()
                                         throws SystemException
Throws:
SystemException

getPromotionTriggers

public java.util.Collection getPromotionTriggers(java.lang.Object promotionFormat)
                                          throws SystemException
Throws:
SystemException

getDescription

public java.lang.String getDescription()
                                throws SystemException
Throws:
SystemException

getChannelType

public java.lang.Object getChannelType()
                                throws SystemException
Throws:
SystemException

isWorksheetStatus

public boolean isWorksheetStatus()
                          throws SystemException,
                                 BusinessException
Throws:
SystemException
BusinessException

isActiveStatus

public boolean isActiveStatus()
                       throws SystemException,
                              BusinessException
Throws:
SystemException
BusinessException

getBanner

public java.lang.Object getBanner()
                           throws SystemException
Throws:
SystemException

getFormat

public java.lang.Object getFormat()
                           throws SystemException
Throws:
SystemException

getTrigger

public java.lang.Object getTrigger()
                            throws SystemException
Throws:
SystemException

getSourceCodeObject

public java.lang.Object getSourceCodeObject()

setBanner

public void setBanner(java.lang.Object object)
               throws SystemException
Throws:
SystemException

setChannelType

public void setChannelType(java.lang.Object object)
                    throws SystemException,
                           BusinessException
Throws:
SystemException
BusinessException

setDescription

public void setDescription(java.lang.String description)
                    throws SystemException
Throws:
SystemException

setStartDate

public void setStartDate(java.lang.String startDate)
                  throws SystemException,
                         UiBusinessException
Throws:
SystemException
UiBusinessException

setEndDate

public void setEndDate(java.lang.String endDate)
                throws SystemException,
                       UiBusinessException
Throws:
SystemException
UiBusinessException

setPromotionTrigger

public void setPromotionTrigger(java.lang.Object trigger)
                         throws SystemException
Throws:
SystemException

isGeneralPromotion

public boolean isGeneralPromotion(java.lang.Object object)
                           throws SystemException
Throws:
SystemException

isThresholdPromotion

public boolean isThresholdPromotion(java.lang.Object object)
                             throws SystemException
Throws:
SystemException

setSellingLists

public void setSellingLists(java.util.List sellingLists)
                     throws BusinessException,
                            SystemException,
                            UiBusinessException
Throws:
BusinessException
SystemException
UiBusinessException

buildOrderServiceBenefit

public void buildOrderServiceBenefit(java.lang.Object serviceType,
                                     java.lang.String value,
                                     boolean isPercentOff)
                              throws SystemException,
                                     UiBusinessException
BUILD BENEFIT AND THRESHOLD OBJECTS

Throws:
SystemException
UiBusinessException

buildOrderMerchAmountBenefit

public void buildOrderMerchAmountBenefit(java.lang.String value,
                                         boolean isPercentOff)
                                  throws SystemException,
                                         UiBusinessException
Throws:
SystemException
UiBusinessException

buildLineMerchAmountBenefit

public void buildLineMerchAmountBenefit(java.lang.String value,
                                        boolean isPercentOff)
                                 throws SystemException,
                                        UiBusinessException
Throws:
SystemException
UiBusinessException

buildItemBenefit

public void buildItemBenefit(java.util.List recieveItems,
                             java.lang.String value,
                             boolean isPercentOff)
                      throws UiBusinessException,
                             SystemException,
                             BusinessException
Throws:
UiBusinessException
SystemException
BusinessException

buildGiftCertificateBenefit

public void buildGiftCertificateBenefit(java.lang.String amount,
                                        java.lang.String value,
                                        boolean isPercentOff)
                                 throws BusinessException,
                                        SystemException,
                                        UiBusinessException
Throws:
BusinessException
SystemException
UiBusinessException

buildPlanCodeBenefit

public void buildPlanCodeBenefit(java.util.Set tenderTypePlanCodes)
                          throws SystemException
Throws:
SystemException

buildOrderCurrencyThreshold

public void buildOrderCurrencyThreshold(java.lang.String amount)
                                 throws SystemException
Throws:
SystemException

buildOrderQuantityThreshold

public void buildOrderQuantityThreshold(java.lang.String quantity)
                                 throws SystemException,
                                        UiBusinessException
Throws:
SystemException
UiBusinessException

buildItemCurrencyThreshold

public void buildItemCurrencyThreshold(java.util.Collection purchaseItems,
                                       java.lang.String amount)
                                throws SystemException,
                                       BusinessException,
                                       UiBusinessException
Throws:
SystemException
BusinessException
UiBusinessException

buildItemQuantityThreshold

public void buildItemQuantityThreshold(java.util.Collection purchaseItems,
                                       java.lang.String quantity)
                                throws SystemException,
                                       UiBusinessException,
                                       BusinessException
Throws:
SystemException
UiBusinessException
BusinessException

setPromotionBenefits

public void setPromotionBenefits(java.util.Set benefitsSet)
                          throws SystemException,
                                 BusinessException
Throws:
SystemException
BusinessException

setThreshold

public boolean setThreshold(boolean threshold)
                     throws SystemException
Throws:
SystemException

setSourceCodes

public void setSourceCodes(java.util.List sourceCodeList)
                    throws SystemException,
                           BusinessException
SOURCE CODE SEARCH

Throws:
SystemException
BusinessException

getSelectedSourceCodes

public java.util.Set getSelectedSourceCodes()
                                     throws SystemException,
                                            BusinessException
Throws:
SystemException
BusinessException

hasSourceCodes

public boolean hasSourceCodes()
                       throws SystemException,
                              BusinessException
Throws:
SystemException
BusinessException

setSelectedTenderTypes

public void setSelectedTenderTypes(java.util.List tenderTypes)
                            throws SystemException,
                                   BusinessException
Throws:
SystemException
BusinessException

getSelectedTenderTypes

public java.util.Set getSelectedTenderTypes()
                                     throws SystemException
Throws:
SystemException

setSelectedOfferCodes

public void setSelectedOfferCodes(java.util.List offerCodes)
                           throws SystemException,
                                  BusinessException
Throws:
SystemException
BusinessException

getSelectedOfferCode

public java.util.Set getSelectedOfferCode()
                                   throws SystemException
Throws:
SystemException

isPromotionPersisted

public boolean isPromotionPersisted()

submit

public void submit()
            throws SystemException,
                   BusinessException
Throws:
SystemException
BusinessException

discardChanges

public void discardChanges()
                    throws SystemException
Throws:
SystemException

isOfferCode

public boolean isOfferCode(java.lang.Object object)
PROMOTION TYPE METHODS


isAltSelling

public boolean isAltSelling(java.lang.Object object)

isTenderType

public boolean isTenderType(java.lang.Object object)

isSourceCode

public boolean isSourceCode(java.lang.Object object)

getThreshold

public java.lang.Object getThreshold()

getGeneral

public java.lang.Object getGeneral()

getStartDateFromSellingList

public RDate getStartDateFromSellingList(java.lang.Object object)
                                  throws SystemException
Throws:
SystemException

getEndDateFromSellingList

public RDate getEndDateFromSellingList(java.lang.Object object)
                                throws SystemException
Throws:
SystemException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25