Class GcDataProviderSubjectListSync
java.lang.Object
edu.internet2.middleware.grouperClient.api.GcDataProviderSubjectListSync
class to sync a list of subjects from a data provider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSubjectId(String subjectId, String sourceId) add a subject lookupaddSubjectIdentifier(String subjectIdentifier, String sourceId) add a subject lookupaddSubjectLookup(WsSubjectLookup wsSubjectLookup) add a subject lookupassignActAsSubject(WsSubjectLookup theActAsSubject) assign the act as subject if anyassignClientVersion(String theClientVersion) assign client versionassignContentType(String theContentType) content type for post requestassignDataProviderConfigId(String theDataProviderConfigId) assign the data provider config idassignWsEndpoint(String theWsEndpoint) endpoint to grouper WS, e.g. https://server.school.edu/grouper-ws/servicesRestassignWsPass(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.
-
Constructor Details
-
GcDataProviderSubjectListSync
public GcDataProviderSubjectListSync()
-
-
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
-
assignActAsSubject
assign the act as subject if any- Parameters:
theActAsSubject-- Returns:
- this for chaining
-
assignDataProviderConfigId
assign the data provider config id- Parameters:
theDataProviderConfigId-- Returns:
- this for chaining
-
addSubjectLookup
add a subject lookup- Parameters:
wsSubjectLookup-- Returns:
- this for chaining
-
addSubjectId
add a subject lookup- Parameters:
subjectId-sourceId-- Returns:
- this for chaining
-
addSubjectIdentifier
public GcDataProviderSubjectListSync addSubjectIdentifier(String subjectIdentifier, String sourceId) add a subject lookup- Parameters:
subjectIdentifier-sourceId-- 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
-
execute
execute the call and return the results. If there is a problem calling the service, an exception will be thrown- Returns:
- the results
-