Class GcStemSave

java.lang.Object
edu.internet2.middleware.grouperClient.api.GcStemSave

public class GcStemSave extends Object
class to run a stem save web service call
  • Constructor Details

    • GcStemSave

      public GcStemSave()
  • Method Details

    • assignWsEndpoint

      public GcStemSave assignWsEndpoint(String theWsEndpoint)
      endpoint to grouper WS, e.g. https://server.school.edu/grouper-ws/servicesRest
      Parameters:
      theWsEndpoint -
      Returns:
      this for chaining
    • assignWsUser

      public GcStemSave assignWsUser(String theWsUser)
      ws user
      Parameters:
      theWsUser -
      Returns:
      this for chaining
    • assignWsPass

      public GcStemSave assignWsPass(String theWsPass)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassEncrypted

      public GcStemSave assignWsPassEncrypted(String theWsPassEncrypted)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassFile

      public GcStemSave assignWsPassFile(File theFile)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassFileEncrypted

      public GcStemSave assignWsPassFileEncrypted(File theFile)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignClientVersion

      public GcStemSave assignClientVersion(String theClientVersion)
      assign client version
      Parameters:
      theClientVersion -
      Returns:
      this for chaining
    • addStemToSave

      public GcStemSave addStemToSave(WsStemToSave wsStemToSave)
      add a stem to save
      Parameters:
      wsStemToSave -
      Returns:
      this for chaining
    • addParam

      public GcStemSave addParam(String paramName, String paramValue)
      add a param to the list
      Parameters:
      paramName -
      paramValue -
      Returns:
      this for chaining
    • addParam

      public GcStemSave addParam(WsParam wsParam)
      add a param to the list
      Parameters:
      wsParam -
      Returns:
      this for chaining
    • assignActAsSubject

      public GcStemSave assignActAsSubject(WsSubjectLookup theActAsSubject)
      assign the act as subject if any
      Parameters:
      theActAsSubject -
      Returns:
      this for chaining
    • execute

      public WsStemSaveResults execute()
      execute the call and return the results. If there is a problem calling the service, an exception will be thrown
      Returns:
      the results
      Throws:
      GcWebServiceError - if there is a problem
    • assignTxType

      public GcStemSave assignTxType(GcTransactionType gcTransactionType)
      assign the tx type
      Parameters:
      gcTransactionType -
      Returns:
      self for chaining