public class CCTelcoUtility extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TELCO_SERVICE_PREFIX |
static String |
TELCO_SERVICES_STORABLE_CLASS_NAME |
Constructor and Description |
---|
CCTelcoUtility()
Creates a new Telco utilities bean.
|
Modifier and Type | Method and Description |
---|---|
String |
getChoiceFormatFromStrings(String stringDomain)
Given a string domain, returns the choice format string.
|
String |
getDeviceStatusFormat(String deviceStatusClass,
String deviceStatusStringDomain)
wrapper for device status retrieval
|
Vector<String> |
getNetworkElementChoices()
Retrieves network elements for devices
|
Map<String,String> |
getPromotionTypeDescription(PModelHandle model,
PModelHandle[] mProfileHandles)
Retrieves all account or service level promotion type descriptions,
that matches with ERAs in given profiles
|
Map<String,String> |
getPromotionTypeString(PModelHandle model,
PModelHandle[] mProfileHandles)
Retrieves all account or service level promotion types,that matches with ERAs in given profiles
|
String |
getSSAndServiceERAStatusFormat()
Retrieves the display field format string for supplementary services status
and service level ERAs status.
|
String |
getStatusFormat(String devType)
Retrieves the display field format string for a device status.
|
String |
getTeleNumber(PModelHandle mod)
Given a PModelHandle mod, returns the telephone number if asigned else return the login ID
|
boolean |
isPrimaryNumber(PModelHandle serviceModel) |
public static final String TELCO_SERVICE_PREFIX
public static final String TELCO_SERVICES_STORABLE_CLASS_NAME
public CCTelcoUtility() throws RemoteException
RemoteException
public String getSSAndServiceERAStatusFormat() throws RemoteException
RemoteException
public Vector<String> getNetworkElementChoices() throws RemoteException
RemoteException
public String getStatusFormat(String devType) throws RemoteException
devType
- The device type to lookup (i.e. sim, num, cdma, etc)RemoteException
public Map<String,String> getPromotionTypeDescription(PModelHandle model, PModelHandle[] mProfileHandles) throws RemoteException
model
- model handle for account/service flist or poidmProfileHandles
- profiles of account/service (/profile/acct_extrating or /profile/serv_extrating)RemoteException
public Map<String,String> getPromotionTypeString(PModelHandle model, PModelHandle[] mProfileHandles) throws RemoteException
model
- model handle for account/service flist or poidmProfileHandles
- profiles of account/service (/profile/acct_extrating or /profile/serv_extrating)RemoteException
public String getDeviceStatusFormat(String deviceStatusClass, String deviceStatusStringDomain) throws RemoteException
deviceStatusClass
- deviceStatusStringDomain
- RemoteException
public String getChoiceFormatFromStrings(String stringDomain) throws RemoteException
stringDomain
- RemoteException
public String getTeleNumber(PModelHandle mod) throws RemoteException
mod
- RemoteException
public boolean isPrimaryNumber(PModelHandle serviceModel)
Copyright © 2003, 2023, Oracle and/or its affiliates.