Class GroupLinkField

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

public class GroupLinkField extends LinkField
Field that encloses a link to a group element.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • GroupLinkField

      public GroupLinkField()
  • Method Details

    • performFinalize

      public void performFinalize(Object model, LifecycleElement parent)
      PerformFinalize override - calls super, corrects the field's Label for attribute to point to this field's content/
      Specified by:
      performFinalize in interface LifecycleElement
      Overrides:
      performFinalize in class LinkField
      Parameters:
      model - the model
      parent - the parent component
    • buildInquiryUrl

      protected String buildInquiryUrl()
    • getGroupNameByGroupId

      protected String getGroupNameByGroupId(String groupId)
    • getGroupNameByNamespaceAndName

      protected String getGroupNameByNamespaceAndName(String namespaceCode, String groupName)
    • getGroupName

      public String getGroupName()
      GroupName key used as a parameter of generated inquiry link url
      Returns:
      value of GroupName key parameter
    • setGroupName

      public void setGroupName(String groupName)
    • getGroupNamespaceCode

      public String getGroupNamespaceCode()
      GroupNamespaceCode key used as a parameter of generated inquiry link url
      Returns:
      value of GroupNamespaceCode key parameter
    • setGroupNamespaceCode

      public void setGroupNamespaceCode(String groupNamespaceCode)
    • getGroupId

      public String getGroupId()
      GroupId key used as a parameter of generated inquiry link url
      Returns:
      value of GroupId key parameter
    • setGroupId

      public void setGroupId(String groupId)
    • getDataObjectClassName

      public String getDataObjectClassName()
      DataObjectClassName used as a parameter of generated inquiry link url
      Returns:
      value of DataObjectClassName parameter
    • setDataObjectClassName

      public void setDataObjectClassName(String dataObjectClassName)
    • getBaseInquiryUrl

      public String getBaseInquiryUrl()
      BaseInquiryUrl is the foundation of generated inquiry link url
      Returns:
      value of BaseInquiryUrl part of inquiry link url
    • setBaseInquiryUrl

      public void setBaseInquiryUrl(String baseInquiryUrl)
    • isNamespaceInLinkText

      public boolean isNamespaceInLinkText()
      True if namespaceCode is to be included in this links linkText, false otherwise.
      Returns:
      true if namespaceCode is to be included in linkText
    • setNamespaceInLinkText

      public void setNamespaceInLinkText(boolean namespaceInLinkText)
    • isDisableLink

      public boolean isDisableLink()
      True if this fields link is disabled, false otherwise.
      Returns:
      true if link disabled
    • setDisableLink

      public void setDisableLink(boolean disableLink)
    • getAdditionalInquiryParameters

      public Map<String,String> getAdditionalInquiryParameters()
      Map that determines what additional properties from a calling view will be sent to properties on the inquiry data object.

      When invoking an inquiry view, a query is done against the inquiries configured data object and the resulting record is display. The values for the properties configured within the inquiry parameters Map, in addition to the inquiry key parameters, will be passed along as values for the inquiry data object properties (thus they form the criteria for the inquiry)

      Returns:
      mapping of calling additional view properties to inquiry data object properties
    • setAdditionalInquiryParameters

      public void setAdditionalInquiryParameters(Map<String,String> additionalInquiryParameters)