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 void
Deprecated.Sends aPViewDataChangeEvent
event to the display component.protected void
fireDataChangeEvent
(String prop, int how, int index, Object newVal) Deprecated.Sends aPViewDataChangeEvent
event 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 void
fireDataChangeEvent
(String prop, int index, Object newVal) Deprecated.Sends aPViewDataChangeEvent
event to the display component along with information about the name of the data, its location, and its new value.protected void
fireDataChangeEvent
(String prop, Object newVal) Deprecated.Sends aPViewDataChangeEvent
event to the display component along with information about the name of the data and its new value.protected PInfranetConnectionImpl
Deprecated.Gets the connection to Portal for this instance.getProperty
(String prop) Deprecated.Implements the clientgetProperty
feature to get a property.protected PViewDataChangeListener
getView()
Deprecated.Gets the display component associated with this controller.void
Deprecated.Sets the display component to be controlled.void
setProperty
(String prop, Object val) Deprecated.Implements the clientsetProperty
feature to set a property.void
update()
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, update
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.PComponentController
actionPerformed
Methods 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:
update
in interfacePComponentController
- Throws:
RemoteException
- thrown for errors
-
setDisplayComponent
Deprecated.Sets the display component to be controlled.- Specified by:
setDisplayComponent
in interfacePComponentController
- Parameters:
dc
- the new display component- Throws:
RemoteException
- thrown for errors
-
setProperty
Deprecated.Implements the clientsetProperty
feature to set a property.- Specified by:
setProperty
in interfacePComponentController
- Parameters:
prop
- the property nameval
- the property value- Throws:
RemoteException
- thrown for errors
-
getProperty
Deprecated.Implements the clientgetProperty
feature to get a property.- Specified by:
getProperty
in 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
PInfranetConnectionImpl
object.
-
getView
Deprecated.Gets the display component associated with this controller.- Returns:
- A
PViewDataChangeListener
object.
-
fireDataChangeEvent
Deprecated.Sends aPViewDataChangeEvent
event 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 aPViewDataChangeEvent
event 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 aPViewDataChangeEvent
event 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 aPViewDataChangeEvent
event to the display component.- Parameters:
evt
- the event to send- Throws:
RemoteException
- thrown for errors
-
PComponentControllerImpl
is deprecated and replaced byPComponentController
.