Package com.portal.app.ccare.comp
Class PIACAPackageInfoBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PIACAPackageInfoBeanImpl
- All Implemented Interfaces:
PIACAPackageInfoBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
public class PIACAPackageInfoBeanImpl
extends PIAComponentCollectionBean
implements PIACAPackageInfoBean
Controller class for the
PIACAPackagePanel
component.- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new controller for aPIACAPackagePanel
. -
Method Summary
Modifier and TypeMethodDescriptiongetPlans()
The getter method avaiable to jsp's to access the Plans when the bean is loaded.getPlans
(int index) The getter method avaiable to jsp's to access the plans at index when the bean is loadedgetSelectedPlanModel
(PModelHandle planModel, String index, String[] login, String[] password, String ipAddress, PIAComponentCollection[] serviceColl) Updates a plan with user-provided extended services information.getSelectedPlanModel
(PModelHandle planModel, String index, String login, String password, String ipAddress) Gets the plan list or updates a plan with user-provided services information.String[]
getServiceDescriptions
(PModelHandle planModel, String index) Gets the services of the plan specified by index, using the format "service_type deal_name" or "service_type" if no deal name exists.Gets the plan list.listOfPlans
(String planName) Gets the plan list or updates a plan with user-provided services information.void
mergeModelHandle
(PModelHandle accountModel, PModelHandle planModel) Appends the selected plan Model to the accountModel for account creationvoid
The setter method used to set the event indexed property at indexMethods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PIACAPackageInfoBeanImpl
Creates a new controller for aPIACAPackagePanel
.- Throws:
RemoteException
-
-
Method Details
-
getPlans
The getter method avaiable to jsp's to access the Plans when the bean is loaded.- Specified by:
getPlans
in interfacePIACAPackageInfoBean
- Returns:
- List
- Throws:
RemoteException
-
getPlans
The getter method avaiable to jsp's to access the plans at index when the bean is loaded- Specified by:
getPlans
in interfacePIACAPackageInfoBean
- Parameters:
index
-- Throws:
RemoteException
-
setPlans
The setter method used to set the event indexed property at index- Parameters:
sResult
- - event
-
listOfPlans
Gets the plan list or updates a plan with user-provided services information.- Specified by:
listOfPlans
in interfacePIACAPackageInfoBean
- Parameters:
planName
- for e.g. customer center will use "admintool"- Throws:
RemoteException
-
listOfPlans
Gets the plan list.- Specified by:
listOfPlans
in interfacePIACAPackageInfoBean
- Throws:
RemoteException
-
getSelectedPlanModel
public Object getSelectedPlanModel(PModelHandle planModel, String index, String login, String password, String ipAddress) throws RemoteException Gets the plan list or updates a plan with user-provided services information.- Specified by:
getSelectedPlanModel
in interfacePIACAPackageInfoBean
- Parameters:
planName
- for e.g. customer center will use "admintool"- Throws:
RemoteException
-
mergeModelHandle
public void mergeModelHandle(PModelHandle accountModel, PModelHandle planModel) throws RemoteException Appends the selected plan Model to the accountModel for account creation- Specified by:
mergeModelHandle
in interfacePIACAPackageInfoBean
- Parameters:
accountModel
-planModel
-- Throws:
RemoteException
-
getServiceDescriptions
Gets the services of the plan specified by index, using the format "service_type deal_name" or "service_type" if no deal name exists. for example: "/service/ip Deal 1 - Standard IP Service" for example: "/service/email"- Specified by:
getServiceDescriptions
in interfacePIACAPackageInfoBean
- Parameters:
planModel
-index
-- Throws:
RemoteException
-
getSelectedPlanModel
public Object getSelectedPlanModel(PModelHandle planModel, String index, String[] login, String[] password, String ipAddress, PIAComponentCollection[] serviceColl) throws RemoteException Updates a plan with user-provided extended services information. Also appends the extended services info fields which gets passed in the Collection array.- Specified by:
getSelectedPlanModel
in interfacePIACAPackageInfoBean
- Parameters:
planModel
-index
-login
-password
-ipAddress
-serviceColl
-- Returns:
- Object
- Throws:
RemoteException
-