Package com.portal.bas
Class PComponentControllerImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PComponentControllerImpl
- All Implemented Interfaces:
PComponentController,PControllerBean,Serializable,Remote,Unreferenced
- Direct Known Subclasses:
PDefaultController,PFieldController,PIAPanelController,PIASimpleSearchController
public abstract class PComponentControllerImpl
extends PControllerImpl
implements PComponentController, Serializable
Deprecated.
PComponentControllerImpl is a base implementation of the server
side of a component controller.
Use this abstract class as the base of all component-specific controllers.- Version:
- 15
- Author:
- Larry Lynch-Freshner
- 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
ConstructorsConstructorDescriptionDeprecated.Creates an instance ofPComponentControllerImpl. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeprecated.Sends aPViewDataChangeEventevent to the display component.protected voidfireDataChangeEvent(String prop, int how, int index, Object newVal) Deprecated.Sends aPViewDataChangeEventevent to the display component along with information about the name of the data, its location, its new value, and how the value has changed.protected voidfireDataChangeEvent(String prop, int index, Object newVal) Deprecated.Sends aPViewDataChangeEventevent to the display component along with information about the name of the data, its location, and its new value.protected voidfireDataChangeEvent(String prop, Object newVal) Deprecated.Sends aPViewDataChangeEventevent to the display component along with information about the name of the data and its new value.protected PInfranetConnectionImplDeprecated.Gets the connection to Portal for this instance.getProperty(String prop) Deprecated.Implements the clientgetPropertyfeature to get a property.protected PViewDataChangeListenergetView()Deprecated.Gets the display component associated with this controller.voidDeprecated.Sets the display component to be controlled.voidsetProperty(String prop, Object val) Deprecated.Implements the clientsetPropertyfeature to set a property.voidupdate()Deprecated.Generic update, usually called by the client to force the controller to update the client.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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.portal.bas.PComponentController
actionPerformedMethods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, getSelectionDataFor, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PComponentControllerImpl
Deprecated.Creates an instance ofPComponentControllerImpl.- Throws:
RemoteException- thrown for errors
-
-
Method Details
-
update
Deprecated.Generic update, usually called by the client to force the controller to update the client.- Specified by:
updatein interfacePComponentController- Throws:
RemoteException- thrown for errors
-
setDisplayComponent
Deprecated.Sets the display component to be controlled.- Specified by:
setDisplayComponentin interfacePComponentController- Parameters:
dc- the new display component- Throws:
RemoteException- thrown for errors
-
setProperty
Deprecated.Implements the clientsetPropertyfeature to set a property.- Specified by:
setPropertyin interfacePComponentController- Parameters:
prop- the property nameval- the property value- Throws:
RemoteException- thrown for errors
-
getProperty
Deprecated.Implements the clientgetPropertyfeature to get a property.- Specified by:
getPropertyin interfacePComponentController- Parameters:
prop- the property name- Returns:
- The property value.
- Throws:
RemoteException- thrown for errors
-
getConnection
Deprecated.Gets the connection to Portal for this instance.- Returns:
- A
PInfranetConnectionImplobject.
-
getView
Deprecated.Gets the display component associated with this controller.- Returns:
- A
PViewDataChangeListenerobject.
-
fireDataChangeEvent
Deprecated.Sends aPViewDataChangeEventevent to the display component along with information about the name of the data and its new value.- Parameters:
prop- the name used to identify the display datanewVal- the new value(s) to display- Throws:
RemoteException- thrown for errors
-
fireDataChangeEvent
Deprecated.Sends aPViewDataChangeEventevent to the display component along with information about the name of the data, its location, and its new value.- Parameters:
prop- the name used to identify the display dataindex- an index into the named datanewVal- the new value(s) to display- Throws:
RemoteException- thrown for errors
-
fireDataChangeEvent
protected void fireDataChangeEvent(String prop, int how, int index, Object newVal) throws RemoteException Deprecated.Sends aPViewDataChangeEventevent to the display component along with information about the name of the data, its location, its new value, and how the value has changed.- Parameters:
prop- the name used to identify the display datahow- how the value has changedindex- an index into the named datanewVal- the new value(s) to display- Throws:
RemoteException- thrown for errors
-
fireDataChangeEvent
Deprecated.Sends aPViewDataChangeEventevent to the display component.- Parameters:
evt- the event to send- Throws:
RemoteException- thrown for errors
-
PComponentControllerImplis deprecated and replaced byPComponentController.