Class DDSServicesForm

java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.dds.action.form.VocabForm
org.dlese.dpc.services.dds.action.form.DDSServicesForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DDSServicesForm_1_1

public class DDSServicesForm extends VocabForm implements Serializable
A ActionForm bean that holds data for DDS web services and has access to vocab info.
Author:
John Weatherley
See Also:
  • Field Details

  • Constructor Details

    • DDSServicesForm

      public DDSServicesForm()
      Constructor for the RepositoryForm object
  • Method Details

    • getXmlFormats

      public List getXmlFormats()
      Gets the xmlFormats attribute of the DDSServicesForm object
      Returns:
      The xmlFormats value
    • setXmlFormats

      public void setXmlFormats(List var)
      Sets the xmlFormats attribute of the DDSServicesForm object
      Parameters:
      var - The new xmlFormats value
    • getLocalizedRecordXml

      public String getLocalizedRecordXml()
      Gets the localizedRecordXml attribute of the DDSServicesForm object
      Returns:
      The localizedRecordXml value
    • getRecordXml

      public String getRecordXml()
      Gets the recordXml attribute of the DDSServicesForm object
      Returns:
      The recordXml value
    • setRecordXml

      public void setRecordXml(String val)
      Sets the recordXml attribute of the DDSServicesForm object
      Parameters:
      val - The new recordXml value
    • setRecordFormat

      public void setRecordFormat(String val)
      Sets the recordFormat attribute of the DDSServicesForm object
      Parameters:
      val - The new recordFormat value
    • getRecordFormat

      public String getRecordFormat()
      Gets the recordFormat attribute of the DDSServicesForm object
      Returns:
      The recordFormat value
    • getS

      public int getS()
      Gets the s attribute of the DDSServicesForm object
      Returns:
      The s value
    • setS

      public void setS(int val)
      Sets the s attribute of the DDSServicesForm object
      Parameters:
      val - The new s value
    • getN

      public int getN()
      Gets the n attribute of the DDSServicesForm object
      Returns:
      The n value
    • setN

      public void setN(int val)
      Sets the n attribute of the DDSServicesForm object
      Parameters:
      val - The new n value
    • getAuthorizedFor

      public String getAuthorizedFor()
      Gets the role name for which this user is authorized for
      Returns:
      The authorizedFor value
    • setAuthorizedFor

      public void setAuthorizedFor(String val)
      Sets the role name for which this user is authorized for
      Parameters:
      val - The new authorizedFor value
    • setErrorCode

      public void setErrorCode(String errorCode)
      Sets the errorCode attribute of the DDSServicesForm object
      Parameters:
      errorCode - The new errorCode value
    • getErrorCode

      public String getErrorCode()
      Gets the errorCode attribute of the DDSServicesForm object
      Returns:
      The errorCode value
    • setErrorMsg

      public void setErrorMsg(String errorMsg)
      Sets the errorMsg attribute of the DDSServicesForm object
      Parameters:
      errorMsg - The new errorMsg value
    • getErrorMsg

      public String getErrorMsg()
      Gets the errorMsg attribute of the DDSServicesForm object
      Returns:
      The errorMsg value
    • getResults

      public ResultDocList getResults()
      Gets the results attribute of the DDSServicesForm object
      Returns:
      The results value
    • setResults

      public void setResults(ResultDocList results)
      Sets the results attribute of the DDSServicesForm object
      Parameters:
      results - The new results value
    • getNumResults

      public int getNumResults()
      Gets the number of matching results.
      Returns:
      The numResults value
    • getUtcDates

      public List getUtcDates()
      A list of UTC dates in the past in the following order: one minute, one hour, one day, one week, one month, one year.
      Returns:
      A list of UTC dates in the past.
    • getDs

      protected static final String getDs()
      Return a string for the current time and date, sutiable for display in log files and output to standout:
      Returns:
      The dateStamp value
    • prtlnErr

      protected final void prtlnErr(String s)
      Output a line of text to error out, with datestamp.
      Parameters:
      s - The text that will be output to error out.
    • prtln

      protected final void prtln(String s)
      Output a line of text to standard out, with datestamp, if debug is set to true.
      Parameters:
      s - The String that will be output.
    • setDebug

      public static void setDebug(boolean isDebugOuput)
      Sets the debug attribute
      Parameters:
      isDebugOuput - The new debug value