Package com.portal.app.ccare.comp
Interface PNewServicePageBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PNewServicePageBeanImpl
Controller for PNewServicePage
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendLoginData
(PModelHandle event, PModelHandle loginModelHandle) Appends the data collected from service page to the event Model.void
collectLoginInfo
(PModelHandle serviceModel, PModelHandle loginInfo, PModelHandle origMH) The loginInfo need to be appended to serviceModel and updated serviceModel need to be appended to origMH.void
convertModelHandleForUpgrade
(PModelHandle origMH, PModelHandle servicesAttrInfo) Appends the data collected from service page to the origMH as per the upgrade specificationGets the model handle for purchased services.Returns the clone of origMH with required dealsgetModelHandleForPurchasedServices
(PModelHandle origMH, PModelHandle fromPlanMH, boolean isRequired) Returns the clone of origMH with required/purchased dealsgetServiceID
(PModelHandle handle) retrieves the service id from the PModelHandle passedRetrieves the model indexes for all the services.boolean
isCSRPlan
(PModelHandle plan) Checks if the given plan has /service/admin_client in it.
-
Method Details
-
getModelHandleForPurchasedServices
Returns the clone of origMH with required deals- Parameters:
origMH
-- Returns:
- Throws:
RemoteException
-
getModelHandleForPurchasedServices
PModelHandle getModelHandleForPurchasedServices(PModelHandle origMH, PModelHandle fromPlanMH, boolean isRequired) throws RemoteException Returns the clone of origMH with required/purchased deals- Parameters:
origMH
-fromPlanMH
-isRequired
-- Returns:
- Throws:
RemoteException
-
getTableModelIndexesToServiceIndexMap
Retrieves the model indexes for all the services. The data is stored using the modelarray indexes as the key and service index as a value.- Returns:
- the model indexes information
- Throws:
RemoteException
-
isCSRPlan
Checks if the given plan has /service/admin_client in it.- Parameters:
plan
-- Returns:
- true if the specified plan is a CSR plan.
- Throws:
RemoteException
-
getModelHandleForPurchasedDeals
Gets the model handle for purchased services.- Parameters:
origMH
-- Returns:
- Throws:
RemoteException
-
collectLoginInfo
void collectLoginInfo(PModelHandle serviceModel, PModelHandle loginInfo, PModelHandle origMH) throws RemoteException The loginInfo need to be appended to serviceModel and updated serviceModel need to be appended to origMH.- Parameters:
serviceModel
-loginInfo
-origMH
-- Throws:
RemoteException
-
convertModelHandleForUpgrade
void convertModelHandleForUpgrade(PModelHandle origMH, PModelHandle servicesAttrInfo) throws RemoteException Appends the data collected from service page to the origMH as per the upgrade specification- Parameters:
origMH
-servicesAttrInfo
-- Throws:
RemoteException
-
appendLoginData
Appends the data collected from service page to the event Model.- Parameters:
event
-loginModelHandle
-- Throws:
RemoteException
-
getServiceID
retrieves the service id from the PModelHandle passed- Parameters:
handle
-- Returns:
- Throws:
RemoteException
-