com.retek.commons.gui.core
Class ScreenHandler
java.lang.Object
com.retek.commons.gui.core.ScreenHandler
- Direct Known Subclasses:
- ActivityRequestHandler, ActivityRequestPrimaryHandler, ActivityRequestTypeMaintenanceDialogHandler, ActivityRequestTypeMaintenanceHandler, ActivityRequestViewHandler, AddressBookDialogHandler, AddressPanelHandler, AddressValidateDialogHandler, AdminHandler, AdminHandler, AltSellingPromotionHandler, AltSellingTriggerHandler, ApplicationFrameHandler, ApplicationViewHandler, AttributeHandler, BannerEventDialogHandler, CallCenterLocationDialogHandler, CallCenterLocationHandler, CancelNLAItemsHandler, CancelReasonDialogHandler, CancelReasonHandler, CarrierMaintenanceDialogHandler, CarrierMaintenanceHandler, CarrierServiceDialogHandler, CarrierServiceSetupHandler, CashPaymentDialogHandler, CatalogDialogHandler, CatalogMaintenanceHandler, CatalogRequestDialogHandler, CertificatePaymentDialogHandler, CheckPaymentDialogHandler, ColorSelectionDialogHandler, ColorSelectionDialogHandler, CorrespondenceAdminDialogHandler, CountryNonBusinessDaysScreenHandler, CreditCardApplicationHandler, CreditCardHistoryHandler, CreditCardPaymentDialogHandler, CustomAttributeDataHandler, CustomAttributeHandler, CustomerCommentHandler, CustomerCreditPreApprovalHandler, CustomerEmailHandler, CustomerMainAddressHandler, CustomerMainHandler, CustomerMainHistoryHandler, CustomerMainPreferencesHandler, CustomerMainSVCHandler, CustomerMatchDialogHandler, CustomerMergeHandler, CustomerPhoneHandler, CustomerPrimaryHandler, CustomerSearchHandler, DailyMessageDialogHandler, DailyMessageSetupHandler, DailyMessagesHandler, DepictionDialogHandler, DropCodeDialogHandler, EventHoldHandler, ExchangeLineDialogHandler, FlashReportingHandler, FontSelectionDialogHandler, FontSelectionDialogHandler, GeneralHandler, GeneralPromotionPanelHandler, GeoCodeSelectionHandler, GiftableDialogHandler, GiftCardDialogHandler, GiftCardPaymentDialogHandler, GiftCertificateHandler, HighRiskZipCodeDialogHandler, HighRiskZipCodeHandler, HistoryPrimaryHandler, InactivateCustomerDialogHandler, InventoryItemPrimaryHandler, InventoryItemScreenHandler, InventoryItemSearchHandler, ItemAllProductDialogHandler, ItemDetailComponentHandler, ItemDetailHandler, ItemEventDialogHandler, ItemLocationHandler, ItemMasterDialogHandler, ItemMediaHandler, ItemProductHandler, ItemPurchaseOrderHandler, ItemSearchHandler, ItemShipRestrictionDetailHandler, ItemUdaHandler, LoginHandler, MailOrderBatchHandler, MailOrderBatchSetUpPrimaryHandler, MailOrderBatchSummaryHandler, MailOrderBatchSummaryPrimaryHandler, MailOrderDetailHandler, MailOrderSummaryHandler, MatchCodeHandler, MatchCodeSetupHandler, MediaCopyHandler, MediaDetailDialogHandler, MediaDropCodeHandler, MediaHandler, MediaPrimaryHandler, MediaReportingDialogHandler, MediaSearchHandler, MediaSeasonDialogHandler, MediaSeasonHandler, MediaSellingItemHandler, MediaTypeDialogHandler, MediaTypeHandler, MonogramDialogHandler, MonogrammingHandler, MultiSkuSelectionHandler, MultiStyleSelectionHandler, NegativeFraudDialogHandler, NegativeFraudHandler, NegativeFraudSearchHandler, NewCustomerDialogHandler, NoCustomerInfoHandler, NoInfoReturnHandler, NonBusinessDateDialogHandler, OfferCodeTriggerPanelHandler, OrderAccommodationDialogHandler, OrderCommentHandler, OrderEntryCustomerHandler, OrderEntryHandler, OrderEntryLineHandler, OrderHistoryPrimaryHandler, OrderLineAccommodationDialogHandler, OrderLinePrimaryHandler, OrderMainCustomerHandler, OrderMainHandler, OrderMainLineHandler, OrderMainWorklistTabHandler, OrderMessagesHandler, OrderPaymentHandler, OrderSpecialHandlingHandler, OrganizationPrimaryHandler, OrganizationTabHandler, PartialLineDialogHandler, PaymentHistoryHandler, PaymentHistoryPrimaryHandler, PaymentPrimaryHandler, PendingBoNotificationHandler, PendReasonMaintenanceDialogHandler, PendReasonMaintenanceHandler, PendRulesDialogHandler, PendRulesHandler, PersonalHoldHandler, PersonalizationDialogHandler, PersonalizationHandler, PersonalReminderDialogHandler, PlanCodeDialogHandler, ProductInfoHandler, ProductInfoSearchHandler, PromotionDialogHandler, PromotionItemDialogHandler, PromotionOfferTabHandler, PromotionPlanCodeDialogHandler, PromotionPrimaryHandler, PromotionPurchaseItemDialogHandler, PromotionRecieveItemDialogHandler, RcomSellingList, ReplacementLineDialogHandler, ReportHandler, ReturnLineHandler, ReturnLineNormalReturnPanelHandler, ReturnLinePackReturnPanelHandler, ReturnReasonHandler, RmmApplicationHandler, RoleDialogHandler, RolesHandler, SchedulePickupDialogHandler, ScreenTypeDialogHandler, ScreenTypeHandler, ScreenTypePrimaryHandler, ScriptMessageDialogHandler, ScriptMessageHandler, SecurityHandler, SellingItemAddDialogHandler, SellingItemAddDialogHandler, SellingItemEditDialogHandler, SellingItemHandler, SellingItemPrimaryHandler, SellingItemSearchHandler, SellingItemSearchViewHandler, SellingListDialogHandler, SellingListDisplayDialogHandler, SellingListDisplayManagerHandler, SellingListHandler, SellingListItemDialogHandler, SellingListItemDiscountsDialogHandler, SellingListPrimaryHandler, SellingListTabHandler, SellingSkuDialogHandler, SellingSkuHandler, ShipmentDetailsHandler, ShippingRateDialogHandler, ShippingRateHandler, ShippingRatePrimaryHandler, ShippingRateTableDialogHandler, ShippingRateTableViewHandler, ShippingRequestPrimaryHandler, ShipRestrictionCodeHandler, ShipRestrictionDetailDialogHandler, SourceCodeDialogHandler, SourceCodeTriggerPanelHandler, StyleTypesHandler, SummaryPrimaryHandler, SummaryPrimaryHandler, SupplierEventDialogHandler, SupplierPrimaryHandler, SupplierTabHandler, SvcBalanceInquiryDialogHandler, SvcCashOutDialogHandler, SystemParameterHandler, TaskMaintenanceDialogHandler, TaskMaintenanceHandler, TenderTypeTriggerPanelHandler, TestDataScreenHandler, ThresholdPromotionPanelHandler, UDADialogHandler, UserRolesDialogHandler, UserRolesHandler, UserRolesPrimaryHandler, ViewItemDialogHandler, WarehouseInstructionHandler, WarehousePrimaryHandler, WarehousePrioritiesHandler, WarehousePriorityDialogHandler, WarhouseTabHandler, WorkListDialogHandler, WorkListPrintDialogHandler, WorkListScreenHandler, WorklistTabHandler, ZeroDollarReturnHandler, ZipCodeRangesDialogHandler
- public class ScreenHandler
- extends java.lang.Object
This is the superclass of all screen handlers. It supplies the ability to register
multiple objects of the same type in order
Retek Inc. Copyright (c) 2002
Method Summary |
protected UiBusinessException |
getException(BusinessException exception)
Converts a BusinessException to a UiBusinessException, translating all attribute names
to widget names. |
protected RetekLogger |
getLogger()
Retrieves the logger object to be used for this screen handler. |
protected SystemException |
getSystemException(BusinessException exception)
Converts a BusinessException to a SystemException. |
void |
processSystemException(SystemException exception,
java.lang.String businessName)
Processes a SystemException to determine if it is really a business exception. |
void |
register(java.lang.Object object,
int index)
Registers an object with an index in the translation map. |
void |
register(java.lang.Object object,
java.lang.String index)
Registers an object with an index in the translation map. |
void |
unregister(java.lang.Object object)
Unregisters an object from the exception translater. |
void |
unregisterAll()
Unregisters all objects from the exception translator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScreenHandler
public ScreenHandler()
getLogger
protected RetekLogger getLogger()
- Retrieves the logger object to be used for this screen handler.
- Returns:
- The logger object.
register
public void register(java.lang.Object object,
java.lang.String index)
- Registers an object with an index in the translation map. The object is used to
translate attribute names inside BusinessException to their appropriate index (if more
than one exists on the screen).
- Parameters:
object
- The object to register with the exception translator.index
- The index to return for that particular object.
register
public void register(java.lang.Object object,
int index)
- Registers an object with an index in the translation map. The object is used to
translate attribute names inside BusinessException to their appropriate index (if more
than one exists on the screen).
- Parameters:
object
- The object to register with the exception translator.index
- The integer index to return for that particular object. The index will be
returned as a string.
unregister
public void unregister(java.lang.Object object)
- Unregisters an object from the exception translater.
- Parameters:
object
- The object to unregister.
unregisterAll
public void unregisterAll()
- Unregisters all objects from the exception translator.
getException
protected UiBusinessException getException(BusinessException exception)
- Converts a BusinessException to a UiBusinessException, translating all attribute names
to widget names.
- Parameters:
exception
- A BusinessException object containing BusinessProblems.
- Returns:
- The UiBusinessException created from the BusinessException.
getSystemException
protected SystemException getSystemException(BusinessException exception)
- Converts a BusinessException to a SystemException.
- Parameters:
exception
- A BusinessException object containing BusinessProblems.
- Returns:
- The SystemException created from the BusinessException.
processSystemException
public void processSystemException(SystemException exception,
java.lang.String businessName)
throws SystemException,
UiBusinessException
- Processes a SystemException to determine if it is really a business exception.
- Parameters:
exception
- A SystemException object.
- Returns:
- businessName The name of the data concept related to the error.
- Throws:
SystemException
UiBusinessException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28