Class GcAssignGrouperPrivileges

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

public class GcAssignGrouperPrivileges extends Object
class to run a assign grouper privileges web service call
  • Constructor Details

    • GcAssignGrouperPrivileges

      public GcAssignGrouperPrivileges()
  • Method Details

    • assignWsEndpoint

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

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

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

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

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

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

      public GcAssignGrouperPrivileges assignAllowed(boolean isAllowed)
      assign if allowed
      Parameters:
      isAllowed -
      Returns:
      this for chaining
    • assignPrivilegeType

      public GcAssignGrouperPrivileges assignPrivilegeType(String thePrivilegeType)
      assign privilege type
      Parameters:
      thePrivilegeType -
      Returns:
      this for chaining
    • addPrivilegeName

      public GcAssignGrouperPrivileges addPrivilegeName(String thePrivilegeName)
      assign the privilege name to query
      Parameters:
      thePrivilegeName -
      Returns:
      this for chaining
    • assignGroupLookup

      public GcAssignGrouperPrivileges assignGroupLookup(WsGroupLookup theWsGroupLookup)
      set the group name
      Parameters:
      theWsGroupLookup -
      Returns:
      this for chaining
    • assignStemLookup

      public GcAssignGrouperPrivileges assignStemLookup(WsStemLookup theStemLookup)
      set the stem name to query privs
      Parameters:
      theStemLookup -
      Returns:
      this for chaining
    • addParam

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

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

      public GcAssignGrouperPrivileges addSubjectLookup(WsSubjectLookup wsSubjectLookup)
      add a subject lookup
      Parameters:
      wsSubjectLookup -
      Returns:
      this for chaining
    • assignActAsSubject

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

      public GcAssignGrouperPrivileges addSubjectAttributeName(String subjectAttributeName)
      Parameters:
      subjectAttributeName -
      Returns:
      this for chaining
    • assignIncludeGroupDetail

      public GcAssignGrouperPrivileges assignIncludeGroupDetail(Boolean theIncludeGroupDetail)
      assign if the group detail should be included
      Parameters:
      theIncludeGroupDetail -
      Returns:
      this for chaining
    • assignIncludeSubjectDetail

      public GcAssignGrouperPrivileges assignIncludeSubjectDetail(Boolean theIncludeSubjectDetail)
      if should include subject detail
      Parameters:
      theIncludeSubjectDetail -
      Returns:
      this for chaining
    • assignTxType

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

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

      public GcAssignGrouperPrivileges assignReplaceAllExisting(Boolean isReplaceAllExisting)
      set if we should replace all existing members with new list
      Parameters:
      isReplaceAllExisting -
      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