Class InquiryView

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, Container, LifecycleElement, Helpable, org.springframework.core.Ordered

public class InquiryView extends FormView
Type of View that provides a read-only display of a record of data (object instance)

The InquiryView provides the interface for the Inquiry framework. It works with the Inquirable service and inquiry controller. The view does render a form to support the configuration of actions to perform operations on the data.

Inquiry views are primarily configured by the object class they are associated with. This provides the default dictionary information for the fields. If more than one inquiry view is needed for the same object class, the view name can be used to further identify an unique view

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • InquiryView

      public InquiryView()
  • Method Details

    • performInitialization

      public void performInitialization(Object model)
      The following initialization is performed:
      • Set the abstractTypeClasses map for the inquiry object path
      The following initialization is performed:
      • If a single paged view, set items in page group and put the page in the items list
      • If ViewSessionPolicy.enableTimeoutWarning is enabled add the session timeout dialogs to the views list of dialog groups
      The following initialization is performed:
      • Sorts the containers list of components
      • Initializes the instructional field if necessary
      • Initializes LayoutManager
      The following updates are done here:
      • Invoke performInitialize on component modifiers
      Initializes the component

      Where components can set defaults and setup other necessary state. The initialize method should only be called once per component lifecycle and is invoked within the initialize phase of the view lifecylce.

      Specified by:
      performInitialization in interface LifecycleElement
      Overrides:
      performInitialization in class View
      Parameters:
      model - - object instance containing the view data
      See Also:
    • getDataObjectClassName

      public Class<?> getDataObjectClassName()
      Class name for the object the inquiry applies to

      The object class name is used to pick up a dictionary entry which will feed the attribute field definitions and other configuration. In addition it is used to configure the Inquirable which will carry out the inquiry action

      Returns:
      inquiry object class
    • setDataObjectClassName

      public void setDataObjectClassName(Class<?> dataObjectClassName)
      Setter for the object class name
      Parameters:
      dataObjectClassName -