Class GcExternalSubjectSave

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

public class GcExternalSubjectSave extends Object
class to run a external subject save web service call
  • Constructor Details

    • GcExternalSubjectSave

      public GcExternalSubjectSave()
  • Method Details

    • assignWsEndpoint

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

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

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

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

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

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

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

      public GcExternalSubjectSave assignContentType(String theContentType)
      content type for post request
      Parameters:
      theContentType -
      Returns:
      this for chaining
    • addExternalSubjectToSave

      public GcExternalSubjectSave addExternalSubjectToSave(WsExternalSubjectToSave wsExternalSubjectToSave)
      add a external subject to save
      Parameters:
      wsExternalSubjectToSave -
      Returns:
      external subject to save
    • addParam

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

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

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

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

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

      public static void main(String[] args)
      Parameters:
      args -