Interface PAccountViewPage

All Superinterfaces:
PCCPage
All Known Implementing Classes:
ListOfBalanceMonitorsPanel, ListOfMonitorMembersPanel, PAcctHierarchyPage, PAcctNoHierarchyPage, PARActionAdjustDetailPage, PARActionDetailAppliedToPage, PARActionDetailPage, PARActionRefundDetailPage, PARActionWriteoffDetailPage, PARAllActionsPage, PARBalancePage, PARDisputesPage, PARItemDetailsPage, PARPaymentDetailPage, PARUnappliedPage, PBillDetailsPage, PBillingCycleAndTaxSetupPage, PBillsEntryPanel, PBillUnitHierarchyPage, PCAEmptyProfilePanel, PChangeStatusPage, PContactPage, PDeferredActionPage, PDeviceHistoryBasePage, PExistingProductsPanel, PGroupMembersPage, PHierarchyLabelPage, PHierarchyMoveOptionsPage, PHierarchyMovePage, PHierarchyRemoveAcctPage, PHomePage, PIACAProfilePanel, PMaintenancePage, PMandateStatusPage, PNumberHistoryPage, PPaymentPage, PPaymentSetup, PPPVPage, PProductDetailsPanel, PPromotionPage, PSelfRegistrationPage, PServiceDealProductHistoryPanel, PServicePage, PSharingPage, PSIMHistoryPage, PSponsorGroup, PSponsorGroupMembers, PSponsorship, PSubscriberPrefsPage, PSubscriptionServicePage, PSummaryPage, PTechDetails, PTelcoDeviceHistoryBase, PTelcoPromotionPage

public interface PAccountViewPage extends PCCPage
Version:
%version: 3 % %date_modified: Fri Jul 06 11:20:26 2001 %
Author:
kapono
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to mark this page as needing to be refreshed.
    int
    Retrieves the currency this page is using to render currency data.
    boolean
    Determines if the user has made changes to the data on this page and not committed them to Portal yet.
    boolean
    Used to determine if the page is valid given the account object.
    void
    primaryToSecondary(int from, int to)
    Called by the Customer Center framework to indicate that any currency data displayed in this page must be converted to a different currency.
    void
    Called when the page should be immediately refreshed - typically as a result of the Reset action being invoked by the user.
    void
    This method is responsible for undo'ing the changes made to the page and resetting back to the original.
    void
    revertToPrimary(int primary)
     
    void
    This is the hook for an encapsulating container to indicate this panel should save itself, if necessary.

    Methods inherited from interface com.portal.app.cc.comp.PCCPage

    enteringPage, getLabel, recycle
  • Method Details

    • primaryToSecondary

      void primaryToSecondary(int from, int to)
      Called by the Customer Center framework to indicate that any currency data displayed in this page must be converted to a different currency. The specific currencies will be passed in as Portal integer representations (i.e. 840 == US Dollar, etc.). These values can be passed directly to the BEID manager for conversion.
      Parameters:
      from - The currency currently displayed
      to - The currency to convert to and display
    • revertToPrimary

      void revertToPrimary(int primary)
    • getDisplayedCurrency

      int getDisplayedCurrency()
      Retrieves the currency this page is using to render currency data.
      Parameters:
      The - currency this page is using to display currency data.
    • isValidContext

      boolean isValidContext(PAccountViewContext ctx)
      Used to determine if the page is valid given the account object. Certain pages may display data that is not appropriate for a particular account (i.e. a page displays service-specific data that an account may not contain).
      Parameters:
      The - current account view's context
      Returns:
      true if the page is valid and should be visible; false otherwise
    • save

      void save() throws PSaveException
      This is the hook for an encapsulating container to indicate this panel should save itself, if necessary. If the page wishes to signal a save failure it should throw a PSaveException.
      Throws:
      PSaveException
    • hasUnsavedChanges

      boolean hasUnsavedChanges()
      Determines if the user has made changes to the data on this page and not committed them to Portal yet.
      Returns:
      true if this page contains unsaved changes; false otherwise
    • resetUnsavedChanges

      void resetUnsavedChanges()
      This method is responsible for undo'ing the changes made to the page and resetting back to the original.
    • dataNeedsRefresh

      void dataNeedsRefresh()
      Called to mark this page as needing to be refreshed. It is up to the page to refresh itself when appropriate.
    • refresh

      void refresh()
      Called when the page should be immediately refreshed - typically as a result of the Reset action being invoked by the user.