Class GshTemplateOutput

java.lang.Object
edu.internet2.middleware.grouper.app.gsh.template.GshTemplateOutput

public class GshTemplateOutput extends Object
  • Constructor Details

    • GshTemplateOutput

      public GshTemplateOutput()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRedirectToGrouperOperation

      public String getRedirectToGrouperOperation()
      operation to redirect to from grouper, e.g. operation=UiV2Stem.viewStem&stemId=abc123 If the String is NONE, then dont redirect anywhere
      Returns:
      the redirect
    • assignRedirectToGrouperOperation

      public GshTemplateOutput assignRedirectToGrouperOperation(String redirectToGrouperOperation)
      operation to redirect to from grouper, e.g. operation=UiV2Stem.viewStem&stemId=abc123 If the String is NONE, then dont redirect anywhere
      Parameters:
      redirectToGrouperOperation -
    • assignAbacScript

      public GshTemplateOutput assignAbacScript(String abacScript)
    • assignAbacIncludeInternalSubjectSources

      public GshTemplateOutput assignAbacIncludeInternalSubjectSources(boolean abacIncludeInternalSubjectSources)
    • isError

      public boolean isError()
    • getOutputLines

      public List<GshOutputLine> getOutputLines()
    • assignIsError

      public GshTemplateOutput assignIsError(boolean isError)
    • addOutputLine

      public GshTemplateOutput addOutputLine(GshOutputLine outputLine)
    • addOutputLine

      public GshTemplateOutput addOutputLine(String outputLine)
    • addOutputLine

      public GshTemplateOutput addOutputLine(String messageType, String outputLine)
      Parameters:
      messageType - success (default), info, error
      outputLine -
      Returns:
    • addValidationLine

      public GshTemplateOutput addValidationLine(GshValidationLine validationLine)
    • addValidationLine

      public GshTemplateOutput addValidationLine(String validationLine)
    • addValidationLine

      public GshTemplateOutput addValidationLine(String inputName, String validationLine)
    • getWsOutput

      public Object getWsOutput()
      set a map or javabean
      Returns:
    • setWsOutput

      public void setWsOutput(Object wsOutput)
      set a map or javabean
      Parameters:
      wsOutput -
    • getValidationLines

      public List<GshValidationLine> getValidationLines()
    • getAbacScript

      public String getAbacScript()
    • getAbacIncludeInternalSubjectSources

      public Boolean getAbacIncludeInternalSubjectSources()
    • retrieveGshTemplateOutput

      public static GshTemplateOutput retrieveGshTemplateOutput()
    • assignThreadLocalGshTemplateOutput

      public static void assignThreadLocalGshTemplateOutput(GshTemplateOutput gshTemplateOutput)
    • removeThreadLocalGshTemplateOutput

      public static void removeThreadLocalGshTemplateOutput()