Class PMSExchangeOrgPanel

All Implemented Interfaces:
PSaveable, PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ContainerListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class PMSExchangeOrgPanel extends PIAExtendedServicesBase
The panel that displays extended service attributes for /service/msexchange/user/firstadmin.
See Also:
  • Constructor Details

    • PMSExchangeOrgPanel

      public PMSExchangeOrgPanel()
      Creates a new service specific attributes panel.
  • Method Details

    • appendSmtpDomainNameToLogin

      public static void appendSmtpDomainNameToLogin(PModelHandle serviceModel, String smtpDomainName) throws RemoteException
      Read the login from the input model, append an SMTP domain name, set the resulting value as the new login on the input model
      Parameters:
      serviceModel - a model that may contain a login
      smtpDomainName - the domain name to append to the login if it exists
      Throws:
      RemoteException
    • removeSmtpDomainNameFromLogin

      public static void removeSmtpDomainNameFromLogin(PModelHandle serviceModel) throws RemoteException
      Read the login from the input model, remove the SMTP domain name, set the resulting value as the new login on the input model
      Parameters:
      serviceModel - a model that may contain a login
      Throws:
      RemoteException
    • appendSmtpDomainName

      public static String appendSmtpDomainName(String login, String smtpDomainName)
      The logic for appending the SMTP domain name is to first remove any user entered domain name. The server component will provision the E2K server without any SMTP domain name. So the logic here ensures that the Portal login is consistent with the E2K server login (except that the correct SMTP domain name is appended to the Portal login).
      Parameters:
      login - the user entered login
      smtpDomainName - the correct domain name to append to the login
      Returns:
      the login with domain name appended
    • setModelHandle

      public void setModelHandle(PModelHandle data) throws RemoteException
      Establishes the PModelHandle for this component and all its descendants. Remove the SMTP domain name from the login before displaying it to the user
      Specified by:
      setModelHandle in interface PComponent
      Overrides:
      setModelHandle in class PIACustomizablePanel
      Parameters:
      data - The new PModelHandle from which information will be extracted.
      Throws:
      RemoteException
    • localCollectData

      public void localCollectData(PCollectDataEvent event)
      Append the SMTP domain name to the login
      Overrides:
      localCollectData in class PIAExtendedServicesBase
      Parameters:
      The - collect data event
    • supportsLoginAndPassword

      public boolean supportsLoginAndPassword()
      Description copied from class: PIAExtendedServicesBase
      Panels from 6.1 did not include entry fields for login/password. For those panels we will provide a wrapper that will allow the user to enter that data.
      Subclasses should override this to return true if they provide this themselves.
      Overrides:
      supportsLoginAndPassword in class PIAExtendedServicesBase
      Returns:
      true since this panel supports login and password
    • getIDValue

      public String getIDValue()
      Description copied from class: PIAExtendedServicesBase
      Retrive the login ID of this base.
      Overrides:
      getIDValue in class PIAExtendedServicesBase
      Returns:
      the ID (login) with the SMTP domain name appended.
    • addNotify

      public void addNotify()
      Overridden to apply style to some of the fonts
      Overrides:
      addNotify in class JComponent