Class GcExternalSubjectSave
java.lang.Object
edu.internet2.middleware.grouperClient.api.GcExternalSubjectSave
class to run a external subject save web service call
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddExternalSubjectToSave
(WsExternalSubjectToSave wsExternalSubjectToSave) add a external subject to saveadd a param to the listadd a param to the listassignActAsSubject
(WsSubjectLookup theActAsSubject) assign the act as subject if anyassignClientVersion
(String theClientVersion) assign client versionassignContentType
(String theContentType) content type for post requestassignTxType
(GcTransactionType gcTransactionType) assign the tx typeassignWsEndpoint
(String theWsEndpoint) endpoint to grouper WS, e.g.assignWsPass
(String theWsPass) ws passassignWsPassEncrypted
(String theWsPassEncrypted) ws passassignWsPassFile
(File theFile) ws passassignWsPassFileEncrypted
(File theFile) ws passassignWsUser
(String theWsUser) ws userexecute()
execute the call and return the results.static void
-
Constructor Details
-
GcExternalSubjectSave
public GcExternalSubjectSave()
-
-
Method Details
-
assignWsEndpoint
endpoint to grouper WS, e.g. https://server.school.edu/grouper-ws/servicesRest- Parameters:
theWsEndpoint
-- Returns:
- this for chaining
-
assignWsUser
ws user- Parameters:
theWsUser
-- Returns:
- this for chaining
-
assignWsPass
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassEncrypted
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassFile
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignWsPassFileEncrypted
ws pass- Parameters:
theWsPass
-- Returns:
- this for chaining
-
assignClientVersion
assign client version- Parameters:
theClientVersion
-- Returns:
- this for chaining
-
assignContentType
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
add a param to the list- Parameters:
paramName
-paramValue
-- Returns:
- this for chaining
-
addParam
add a param to the list- Parameters:
wsParam
-- Returns:
- this for chaining
-
assignActAsSubject
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
-
assignTxType
assign the tx type- Parameters:
gcTransactionType
-- Returns:
- self for chaining
-
main
- Parameters:
args
-
-