Class GcFindExternalSubjects

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

public class GcFindExternalSubjects extends Object
class to run find external subject
  • Constructor Details

    • GcFindExternalSubjects

      public GcFindExternalSubjects()
  • Method Details

    • assignWsEndpoint

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

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

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

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

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

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

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

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

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

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

      execute the call and return the results. If there is a problem calling the service, an exception will be thrown
      Returns:
      the results
    • addIdentifier

      public GcFindExternalSubjects addIdentifier(String theIdentifier)
      set the identifier
      Parameters:
      theIdentifier -
      Returns:
      this for chaining