Class PBrandBeanImpl

java.lang.Object
com.portal.bas.PControllerImpl
com.portal.web.comp.PBrandBeanImpl
All Implemented Interfaces:
PControllerBean, PBrandBean, Serializable, Remote, Unreferenced

public class PBrandBeanImpl extends PControllerImpl implements PBrandBean
PBrandBeanImpl is the controller class for the brand bean.
Author:
sujata
See Also:
  • Constructor Details

  • Method Details

    • setUserCredentials

      public boolean setUserCredentials(PModelHandle mH) throws RemoteException
      Sets the current Connection to this user's credentials.
      Specified by:
      setUserCredentials in interface PBrandBean
      Parameters:
      mH - the PModelHandle associated with this user
      Returns:
      True if credentials were set successfully; false otherwise.
      Throws:
      RemoteException - thrown for Infranet errors and invalid field descriptions
    • unsetUserCredentials

      public boolean unsetUserCredentials(PModelHandle mH) throws RemoteException
      UnSet credentials if needed
      Specified by:
      unsetUserCredentials in interface PBrandBean
      Parameters:
      mH - the PModelHandle associated with this user
      Returns:
      True if credentials were unset successfully; false otherwise.
      Throws:
      RemoteException - thrown for Infranet errors and invalid field descriptions
    • isBrandingEnabled

      public boolean isBrandingEnabled() throws RemoteException
      Determines whether branding is enabled for a credentialed account.
      Specified by:
      isBrandingEnabled in interface PBrandBean
      Returns:
      true if Branding is enabled, false otherwise.
      Throws:
      RemoteException - thrown for errors
    • update

      public void update(int reason, Object data) throws RemoteException
      Called by various internal methods when the data has changed enough to require refreshing the client display. Must be overridden by a specific controller subclass.

      Note: Do not use. This method is public only for Customer Center compatibility.

      Specified by:
      update in class PControllerImpl
      Parameters:
      reason - the reason for the update
      data - the data associated with the update
      Throws:
      RemoteException - thrown for errors
    • getSelectionDataFor

      public Object getSelectionDataFor(String dataItem, int index) throws RemoteException
      Given the name of a display data item and an optional index, returns the information needed for a selection event to be useful. This information is usually model data.

      Note: Do not use. This method is public only for Customer Center compatibility.

      Specified by:
      getSelectionDataFor in interface PControllerBean
      Parameters:
      dataItem - the name of a data item. Must match the name of an item changed by sending a PViewDataChangeEvent
      index - an optional index into an array data item
      Returns:
      This instance always returns null.
      Throws:
      RemoteException - thrown for errors