public class PChangeStatusBeanImpl extends PIAComponentCollectionBean implements PChangeStatusBean
| Modifier and Type | Field and Description |
|---|---|
protected int |
intServicesCount |
protected PModelHandle |
pmhSelectedServices |
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PChangeStatusBeanImpl()
Creates an instance of this controller class
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCurrentAccountStatus(PModelHandle handle)
Get current account status
|
ReasonCodeData[] |
getReasonCodesForStatus(int iStatus,
Locale l)
Get reason codes list for the iStatus type and for the locale
|
LifeCycleStates |
getServiceLifeCycleState(Poid serv)
get the life cycle obj for the service
|
PModelHandle |
getServiceModel(PModelHandle hAccount,
boolean showService)
Get the services list model for the account
setModelHandle calls this function to retrive
the services list model handle.
|
int |
getServicesCount()
Returns the service count.
|
PModelHandle |
retrieveServices(PModelHandle hAccount,
boolean showService)
This method retrieves the services for the passed account model handle.
|
Object |
save(PModelHandle hSave)
Commit the new status to Portal.
|
protected PModelHandle |
searchServices(PModelHandle hAccount,
PCachedContext conn,
com.portal.pcm.fields.FldResults fResults,
Poid mAccountPoid,
int threshold,
boolean showService)
Returns an Flist with an array of results as per the search criteria
This method calls the PCM_OP_SEARCH opcode to get the services for the account
The search template in the input flist can be changed to get the
desired services as per the requirement.
|
addChild, getCollectedData, getSelectionDataFor, removeChild, updateaddRemoteListener, 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, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelprotected int intServicesCount
protected PModelHandle pmhSelectedServices
public PChangeStatusBeanImpl()
throws RemoteException
RemoteExceptionpublic PModelHandle retrieveServices(PModelHandle hAccount, boolean showService)
retrieveServices in interface PChangeStatusBeanhAccount - showService - if this is true, then only services will be added in the drop down.protected PModelHandle searchServices(PModelHandle hAccount, PCachedContext conn, com.portal.pcm.fields.FldResults fResults, Poid mAccountPoid, int threshold, boolean showService) throws EBufException
hAccount - account poid.conn - PCachedContext instancefResults - FldResults instancemAccountPoid - Poidthreshold - service search thresholdshowService - booleanEBufExceptionpublic PModelHandle getServiceModel(PModelHandle hAccount, boolean showService) throws RemoteException
getServiceModel in interface PChangeStatusBeanhAccount - showService - RemoteExceptionpublic LifeCycleStates getServiceLifeCycleState(Poid serv) throws RemoteException
getServiceLifeCycleState in interface PChangeStatusBeanRemoteExceptionpublic Integer getCurrentAccountStatus(PModelHandle handle) throws RemoteException
getCurrentAccountStatus in interface PChangeStatusBeanhandle - RemoteExceptionpublic ReasonCodeData[] getReasonCodesForStatus(int iStatus, Locale l) throws RemoteException
getReasonCodesForStatus in interface PChangeStatusBeaniStatus - l - RemoteExceptionpublic Object save(PModelHandle hSave) throws RemoteException
save in interface PChangeStatusBeanhSave - RemoteExceptionpublic int getServicesCount()
getServicesCount in interface PChangeStatusBeanCopyright © 2003, 2023, Oracle and/or its affiliates.