Class GroupControl

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, Component, Ordered, ScriptEventSupport, Control, FilterableLookupCriteriaControl, SizedControl, TextControl, ContentElement, LifecycleElement, org.springframework.core.Ordered

public class GroupControl extends TextControlBase implements FilterableLookupCriteriaControl
Represents a group control, which is a special control to handle the input of a KIM Group by group name
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • GroupControl

      public GroupControl()
  • Method Details

    • performApplyModel

      public void performApplyModel(Object model, LifecycleElement parent)
      Description copied from class: ControlBase
      Sets the disabledExpression, if any, evaluates it and sets the disabled property
      Specified by:
      performApplyModel in interface LifecycleElement
      Overrides:
      performApplyModel in class ControlBase
      Parameters:
      model - top level object containing the data (could be the form or a top level business object, dto)
      parent -
    • buildGroupQuickfinder

      protected void buildGroupQuickfinder(Object model, InputField field)
    • filterSearchCriteria

      public Map<String,String> filterSearchCriteria(String propertyName, Map<String,String> searchCriteria, FilterableLookupCriteriaControlPostData postData)
      Invoked to perform filtering of the search criteria.
      Specified by:
      filterSearchCriteria in interface FilterableLookupCriteriaControl
      Parameters:
      propertyName - the propertyName of the current component
      searchCriteria - the search criteria to be filtered
      postData - the post data to consider during the search
      Returns:
      filtered search criteria
    • getNamespaceCodePropertyName

      public String getNamespaceCodePropertyName()
      The name of the property on the parent object that holds the group namespace
      Returns:
      namespaceCodePropertyName
    • setNamespaceCodePropertyName

      public void setNamespaceCodePropertyName(String namespaceCodePropertyName)
      Setter for the name of the property on the parent object that holds the group namespace
      Parameters:
      namespaceCodePropertyName -
    • getGroupIdPropertyName

      public String getGroupIdPropertyName()
      The name of the property on the parent object that holds the group id
      Returns:
      groupIdPropertyName
    • setGroupIdPropertyName

      public void setGroupIdPropertyName(String groupIdPropertyName)
      Setter for the name of the property on the parent object that holds the group id
      Parameters:
      groupIdPropertyName -
    • getPostData

      public GroupControl.GroupControlPostData getPostData(String propertyName)
      Returns the post data for the filterable lookup criteria control using the property name as a key.
      Specified by:
      getPostData in interface FilterableLookupCriteriaControl
      Parameters:
      propertyName - the property name for the control
      Returns:
      the post data for the filterable lookup criteria control