Package com.portal.app.ccare.comp
Class PPermissionInfoBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.ccare.comp.PPermissionInfoBeanImpl
- All Implemented Interfaces:
PPermissionInfoBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
public class PPermissionInfoBeanImpl
extends PIAComponentCollectionBean
implements PPermissionInfoBean
Controller class for setting permissions.
The following base opcodes are used by this controller:
PortalOp.OP_SEARCH
PortalOp.OP_WRITE_FLDS
PortalOp.OP_DELETE_FLDS
- Author:
- Priya
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActions
(Object AccPoid) This function sends back a list of the PSettableRestrictions containing the Permission Strings.Object[]
getServiceAdminClient
(PModelHandle pNewMH) CallPortalOp.OP_SEARCH
to check whether /service/admin Client exists for the account.boolean
saveChanges
(ArrayList arrList) Save changes to Portal by using the objects stored in the ArrayList that is sent back.Methods 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
-
PPermissionInfoBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
getServiceAdminClient
CallPortalOp.OP_SEARCH
to check whether /service/admin Client exists for the account. Calls refreshActions(Poid invalid input: '<'>) internally.- Specified by:
getServiceAdminClient
in interfacePPermissionInfoBean
- Parameters:
pNewMH
- - Account model handle. If /service/admin_client is present, the account poid is returned.- Throws:
RemoteException
-
getActions
This function sends back a list of the PSettableRestrictions containing the Permission Strings. A PModelHandle which is the model handle returned from function hasServiceAdminClient(PModelHandle invalid input: '<'>).- Specified by:
getActions
in interfacePPermissionInfoBean
- Parameters:
Account
- Poid- Returns:
- ArrayList of PSettableRestrictions
- Throws:
RemoteException
-
saveChanges
Save changes to Portal by using the objects stored in the ArrayList that is sent back. CallsPortalOp.OP_WRITE_FLDS
,PortalOp.OP_DELETE_FLDS
- Specified by:
saveChanges
in interfacePPermissionInfoBean
- Parameters:
ArrayList
- of PSettableRestriction- Returns:
- boolean value
- Throws:
RemoteException
-