Class CCTelcoUtility

java.lang.Object
com.portal.app.cc.tcf.CCTelcoUtility

public class CCTelcoUtility extends Object
Utility class for Telco clients
Version:
%date_modified: Thr Feb 26 18:53:38 2003 %
  • Field Details

  • Constructor Details

  • Method Details

    • getSSAndServiceERAStatusFormat

      public String getSSAndServiceERAStatusFormat() throws RemoteException
      Retrieves the display field format string for supplementary services status and service level ERAs status.
      Returns:
      the display field format string.
      Throws:
      RemoteException
    • getNetworkElementChoices

      public Vector<String> getNetworkElementChoices() throws RemoteException
      Retrieves network elements for devices
      Returns:
      all network elements.
      Throws:
      RemoteException
    • getStatusFormat

      public String getStatusFormat(String devType) throws RemoteException
      Retrieves the display field format string for a device status.
      Parameters:
      devType - The device type to lookup (i.e. sim, num, cdma, etc)
      Returns:
      the display field format string for device status.
      Throws:
      RemoteException
    • getPromotionTypeDescription

      public Map<String,String> getPromotionTypeDescription(PModelHandle model, PModelHandle[] mProfileHandles) throws RemoteException
      Retrieves all account or service level promotion type descriptions, that matches with ERAs in given profiles
      Parameters:
      model - model handle for account/service flist or poid
      mProfileHandles - profiles of account/service (/profile/acct_extrating or /profile/serv_extrating)
      Returns:
      key-value pair where key is promotion type and value is localized description of the promotion type
      Throws:
      RemoteException
    • getPromotionTypeString

      public Map<String,String> getPromotionTypeString(PModelHandle model, PModelHandle[] mProfileHandles) throws RemoteException
      Retrieves all account or service level promotion types,that matches with ERAs in given profiles
      Parameters:
      model - model handle for account/service flist or poid
      mProfileHandles - profiles of account/service (/profile/acct_extrating or /profile/serv_extrating)
      Returns:
      key-value pair where key is the promotion type and the value is the localized string for the type.
      Throws:
      RemoteException
    • getDeviceStatusFormat

      public String getDeviceStatusFormat(String deviceStatusClass, String deviceStatusStringDomain) throws RemoteException
      wrapper for device status retrieval
      Parameters:
      deviceStatusClass -
      deviceStatusStringDomain -
      Returns:
      - the string containing all the statuses of the device type
      Throws:
      RemoteException
    • getChoiceFormatFromStrings

      public String getChoiceFormatFromStrings(String stringDomain) throws RemoteException
      Given a string domain, returns the choice format string.
      Parameters:
      stringDomain -
      Returns:
      a string containing the formatted choices
      Throws:
      RemoteException
    • getTeleNumber

      public String getTeleNumber(PModelHandle mod) throws RemoteException
      Given a PModelHandle mod, returns the telephone number if asigned else return the login ID
      Parameters:
      mod -
      Returns:
      a string containing the telephone number if asigned else return the login ID
      Throws:
      RemoteException
    • isPrimaryNumber

      public boolean isPrimaryNumber(PModelHandle serviceModel)