Package com.portal.web.comp
Class PContentOpInvokerBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.web.comp.PContentOpInvokerBeanImpl
- All Implemented Interfaces:
PControllerBean
,PContentOpInvokerBean
,Serializable
,Remote
,Unreferenced
public class PContentOpInvokerBeanImpl
extends PControllerImpl
implements PContentOpInvokerBean, Serializable
Controller object for calling content opcodes
Implements the following functionality:
Call content opcodes
Opcode called
PortalOp.CONTENT_AUTHENTICATE PortalOp.CONTENT_AUTHORIZE PortalOp.CONTENT_ACTIVITY PortalOp.CONTENT_CANCEL_AUTHORIZATION
PortalOp.CONTENT_AUTHENTICATE PortalOp.CONTENT_AUTHORIZE PortalOp.CONTENT_ACTIVITY PortalOp.CONTENT_CANCEL_AUTHORIZATION
- Version:
- %version: 3 %date_modified: Wed Jan 23 12:40:30 2002 %
- Author:
- usha
- 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 TypeMethodDescriptiongetSelectionDataFor
(String dataItem, int index) Given the name of a display data item, and an optional index, return the information needed for Selection event to be useful.invokeContentOp
(String input, String opcodeName) Invoke the content op and return resultsvoid
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
-
Constructor Details
-
PContentOpInvokerBeanImpl
Creates controller for displaying products.- Throws:
RemoteException
-
-
Method Details
-
update
Update. Called by various internal methods when the data has changed enough to need to change the client display. Must be overridden by specific controller subclass.- Specified by:
update
in classPControllerImpl
- Parameters:
reason
- The reason for the update. One of: (@link PComponentControllerInfo.UPDATE_NEW_MODEL) (@link PComponentControllerInfo.UPDATE_PROPERTY) (@link PComponentControllerInfo.UPDATE_MODEL_CHANGE) (@link PComponentControllerInfo.UPDATE_CLIENT)data
- Data associated with update.- Throws:
RemoteException
-
getSelectionDataFor
Given the name of a display data item, and an optional index, return the information needed for Selection event to be useful. This usually means model data- Specified by:
getSelectionDataFor
in interfacePControllerBean
- Parameters:
dataItem
- The name of a data item. Must match the name of an item changed via sending a ViewDataChangeEventindex
- Optional index into an array data item- Returns:
- Usually a modle handle or array of modle handles
- Throws:
RemoteException
- thrown for errors
-
invokeContentOp
Invoke the content op and return results- Specified by:
invokeContentOp
in interfacePContentOpInvokerBean
- Parameters:
input
- - input flistopcodeName
- - name of opcode to be invoked- Returns:
- String - return flist as String
- Throws:
RemoteException
-