public class PSharingUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AL_SERVICES |
static String |
CHARGE_SHARING_GROUPTYPE |
static String |
COLLECTION_SHARING |
static String |
COLLECTION_SHARING_GROUPTYPE |
static String |
DISCOUNT_SHARING_GROUPTYPE |
static HashMap<Poid,String> |
genPurposePoidtoIDMap |
static String |
PROFILE_SHARING |
static String |
PROFILE_SHARING_GROUPTYPE |
| Constructor and Description |
|---|
PSharingUtility() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatHelpId(String controllerkey,
String s)
Returns the Help Id with respect to the sharing type.
|
static String |
getAccountNumber(Poid acctPoid)
Returns the account number from the corresponding account poid.
|
static String |
getBillInfoId(Poid billInfo)
Returns the billinfoId of the corresponding billinfo poid.
|
static Object |
getControllerInstance(String option)
Used to dynamically create instances of Customer Center beans and
drilldowns and provide the ability for customers to override them.
|
static Poid |
getCurrentAccountPoid()
Returns the currect account poid of Customer Center.
|
static String |
getDisplayNameForService(Poid serpoid,
String loginName)
Returns the formatted string for a specified service
with respect to the service's login.
|
static Object |
getEventDiscription(String type)
Returns the event description for a passed
event.
|
static String |
getPropertyValue(String name)
Returns the label from the CustomerCenterResources.properties file
for a specified key.
|
static String |
getPropertyValueBySharing(String controllerkey,
String name)
Returns the label from the CustomerCenterResources.properties file
for a specified key with respect to the sharing type.
|
static ArrayList<String> |
getServiceList()
Returns the list of services available in the system except pcm_client and admin_client
services.
|
static boolean |
isChargeSharing(String controllerkey)
Returns the passed controller key is of type
Charge sharing or not.
|
static boolean |
isCollectionSharing(String controllerkey)
Returns the passed controller key is of type
Controller sharing or not.
|
static boolean |
isDiscountSharing(String controllerkey)
Returns the passed controller key is of type
Discount sharing or not.
|
static boolean |
isProfileSharing(String controllerkey)
Returns the passed controller key is of type
Profile sharing or not.
|
static void |
openAccount(Poid acctPoid)
This method is provided to open an account
which is passed.
|
static void |
refresh()
This will refresh the state of this class.
|
static void |
setBusyCursor(boolean b) |
public static final String DISCOUNT_SHARING_GROUPTYPE
public static final String CHARGE_SHARING_GROUPTYPE
public static final String PROFILE_SHARING_GROUPTYPE
public static final String COLLECTION_SHARING_GROUPTYPE
public static final String COLLECTION_SHARING
public static final String PROFILE_SHARING
public static final String AL_SERVICES
public static void refresh()
PSharingPage's refresh.public static Object getEventDiscription(String type)
type - String the event typepublic static void setBusyCursor(boolean b)
public static void openAccount(Poid acctPoid)
acctPoid - Poid the account poidpublic static Object getControllerInstance(String option) throws Exception
option - String the sharing option key to bring the controller
name specific for the sharing typeExceptionpublic static String getPropertyValue(String name)
name - String the keypublic static String getPropertyValueBySharing(String controllerkey, String name)
controllerkey - String the controller key format
the sharing specific key to get the labelname - String the generic key to get the labelpublic static String formatHelpId(String controllerkey, String s)
controllerkey - String the sharing type keys - String the Help Id to be formattedpublic static String getDisplayNameForService(Poid serpoid, String loginName)
serpoid - Poid the service poidloginName - String the login name for servicepublic static Poid getCurrentAccountPoid()
public static boolean isDiscountSharing(String controllerkey)
controllerkey - String the sharing keytrue if it is
discount sharing otherwise falsepublic static boolean isChargeSharing(String controllerkey)
controllerkey - String the sharing keytrue if it is
charge sharing otherwise falsepublic static boolean isProfileSharing(String controllerkey)
controllerkey - String the sharing keytrue if it is
Profile sharing otherwise falsepublic static boolean isCollectionSharing(String controllerkey)
controllerkey - String the sharing keytrue if it is
Controller sharing otherwise falsepublic static ArrayList<String> getServiceList()
public static String getBillInfoId(Poid billInfo)
billInfo - Copyright © 2003, 2023, Oracle and/or its affiliates.