Class PIAServiceProfileBeanImpl

java.lang.Object
com.portal.bas.PControllerImpl
com.portal.app.ccare.comp.PIAServiceProfileBeanImpl
All Implemented Interfaces:
PIAServiceProfileBean, PControllerBean, Serializable, Remote, Unreferenced

public class PIAServiceProfileBeanImpl extends PControllerImpl implements PIAServiceProfileBean
Implementation class for PIAServiceProfileBean interface.
See Also:
  • Constructor Details

    • PIAServiceProfileBeanImpl

      public PIAServiceProfileBeanImpl() throws RemoteException
      Constructor to create a controller to retrieve profile name for a given service, if available
      Throws:
      RemoteException
  • Method Details

    • getServiceProfileName

      public String getServiceProfileName(PModelHandle serviceModel) throws RemoteException
      Gets the profile name associated with the service
      Specified by:
      getServiceProfileName in interface PIAServiceProfileBean
      Parameters:
      serviceModel - the service containing the profile
      Returns:
      service profile name
      Throws:
      RemoteException
    • update

      public void update(int reason, Object data)
      Description copied from class: PControllerImpl
      The update method is called by various internal methods when the data has changed enough to require changing the client display. Must be overridden by a specific controller subclass.
      Specified by:
      update in class PControllerImpl
      Parameters:
      reason - an integer constant that indicates the reason for the update (UPDATE_NEW_MODEL, UPDATE_PROPERTY, UPDATE_MODEL_CHANGE, or UPDATE_CLIENT)
      data - the data associated with update
    • getSelectionDataFor

      public Object getSelectionDataFor(String dataItem, int index)
      Description copied from interface: PControllerBean
      Given the name of a display data item and an optional index, returns the information needed for a Selection event. The information returned is usually model data.
      Specified by:
      getSelectionDataFor in interface PControllerBean
      Parameters:
      dataItem - the name of a data item. Must match the name of an item changed by sending a PViewDataChangeEvent.
      index - an optional index into an array data item
      Returns:
      Usually, a model handle or array of model handles.