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
Version:
%version: 3 %date_modified: Wed Jan 23 12:40:30 2002 %
Author:
usha
See Also:
  • Constructor Details

    • PContentOpInvokerBeanImpl

      public PContentOpInvokerBeanImpl() throws RemoteException
      Creates controller for displaying products.
      Throws:
      RemoteException
  • Method Details

    • update

      public void update(int reason, Object data) throws RemoteException
      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 class PControllerImpl
      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

      public Object getSelectionDataFor(String dataItem, int index) throws RemoteException
      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 interface PControllerBean
      Parameters:
      dataItem - The name of a data item. Must match the name of an item changed via sending a ViewDataChangeEvent
      index - Optional index into an array data item
      Returns:
      Usually a modle handle or array of modle handles
      Throws:
      RemoteException - thrown for errors
    • invokeContentOp

      public String invokeContentOp(String input, String opcodeName) throws RemoteException
      Invoke the content op and return results
      Specified by:
      invokeContentOp in interface PContentOpInvokerBean
      Parameters:
      input - - input flist
      opcodeName - - name of opcode to be invoked
      Returns:
      String - return flist as String
      Throws:
      RemoteException