java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocallapp.wfm.core.bl.schedule.intervention.outcome.interventiongroup.configuration.GIConfiguration
All Implemented Interfaces:
Serializable

@Component public class GIConfiguration extends UINode
Root of the intervention group configuration
Since:
9.2
See Also:
  • Field Details

    • isReadOnly

      protected boolean isReadOnly
    • version

      protected String version
  • Constructor Details

    • GIConfiguration

      public GIConfiguration()
  • Method Details

    • getSection

      public GISection getSection(String name)
      Retrieve a section via name
      Parameters:
      name - the name of the section to find
      Returns:
      the intervention group section with the given name if exists, null otherwise.
    • isFormInputVisible

      public boolean isFormInputVisible(String name)
      Gets the visibility of the input with the given name
      Parameters:
      name - the name of the input for which retrieve the visibility
      Returns:
      the visibility of the input with the given name
    • getInputStatus

      public Long getInputStatus(String name)
      Gets the status of the input with the given name.
      Parameters:
      name - the name of the input for which retrieve the status
      Returns:
      the status of the input with the given name
    • getInputLabel

      public String getInputLabel(String name)
      Gets the label of the input with the given name
      Parameters:
      name - the name of the input for which retrieve the label
      Returns:
      the label of the input with the given name
    • isFormSectionVisible

      public boolean isFormSectionVisible(String name)
      Gets the visibility of the section with the given name
      Parameters:
      name - the section name
      Returns:
      true if the section is visible, false otherwise
    • getSection

      public GISection getSection(int position)
      Gets the intervention group section in the given position.
      Parameters:
      position - the position of the section to retrieve
      Returns:
      the intervention group section in the given position
    • toXMLString

      public String toXMLString()
      Build the XML string of the intervention group
      Returns:
      the XML string of the intervention group
    • setAttributes

      public void setAttributes(GIConfiguration sourceInterventionGroup)
      Copy the attributes of the given intervention group to this intervention group.
      Parameters:
      sourceInterventionGroup - the new attributes
    • setReadOnly

      public void setReadOnly(boolean isReadOnly)
      Sets if the whole intervention group is in read only
      Parameters:
      isReadOnly - the read only value to set
    • isReadOnly

      public boolean isReadOnly()
      Gets the read only value
      Returns:
      the read only value
    • getVersion

      public String getVersion()
      Gets the intervention group version
      Returns:
      the intervention group version
    • setVERSION

      public void setVERSION(String version)
      Sets the intervention group version
      Parameters:
      version - the intervention group version