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, update
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
protected int intServicesCount
protected PModelHandle pmhSelectedServices
public PChangeStatusBeanImpl() throws RemoteException
RemoteException
public PModelHandle retrieveServices(PModelHandle hAccount, boolean showService)
retrieveServices
in interface PChangeStatusBean
hAccount
- 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
- booleanEBufException
public PModelHandle getServiceModel(PModelHandle hAccount, boolean showService) throws RemoteException
getServiceModel
in interface PChangeStatusBean
hAccount
- showService
- RemoteException
public LifeCycleStates getServiceLifeCycleState(Poid serv) throws RemoteException
getServiceLifeCycleState
in interface PChangeStatusBean
RemoteException
public Integer getCurrentAccountStatus(PModelHandle handle) throws RemoteException
getCurrentAccountStatus
in interface PChangeStatusBean
handle
- RemoteException
public ReasonCodeData[] getReasonCodesForStatus(int iStatus, Locale l) throws RemoteException
getReasonCodesForStatus
in interface PChangeStatusBean
iStatus
- l
- RemoteException
public Object save(PModelHandle hSave) throws RemoteException
save
in interface PChangeStatusBean
hSave
- RemoteException
public int getServicesCount()
getServicesCount
in interface PChangeStatusBean
Copyright © 2003, 2023, Oracle and/or its affiliates.