public class PContentOpInvokerBeanImpl extends PControllerImpl implements PContentOpInvokerBean, Serializable
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PContentOpInvokerBeanImpl()
Creates controller for displaying products.
|
Modifier and Type | Method and Description |
---|---|
Object |
getSelectionDataFor(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.
|
String |
invokeContentOp(String input,
String opcodeName)
Invoke the content op and return results
|
void |
update(int reason,
Object data)
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
public PContentOpInvokerBeanImpl() throws RemoteException
RemoteException
public void update(int reason, Object data) throws RemoteException
update
in class PControllerImpl
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.RemoteException
public Object getSelectionDataFor(String dataItem, int index) throws RemoteException
getSelectionDataFor
in interface PControllerBean
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 itemRemoteException
- thrown for errorspublic String invokeContentOp(String input, String opcodeName) throws RemoteException
invokeContentOp
in interface PContentOpInvokerBean
input
- - input flistopcodeName
- - name of opcode to be invokedRemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.