Class GcAttributeDefSave

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

public class GcAttributeDefSave extends Object
class to run an attributeDef save web service call
  • Constructor Details

    • GcAttributeDefSave

      public GcAttributeDefSave()
  • Method Details

    • assignWsEndpoint

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

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

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

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

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

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

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

      public GcAttributeDefSave addAttributeDefToSave(WsAttributeDefToSave wsAttributeDefToSave)
      add an attributeDef to save
      Parameters:
      wsAttributeDefToSave -
      Returns:
      attributeDef to save
    • addParam

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

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

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

      public WsAttributeDefSaveResults 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 GcAttributeDefSave assignTxType(GcTransactionType gcTransactionType)
      assign the tx type
      Parameters:
      gcTransactionType -
      Returns:
      self for chaining
    • main

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