edu.internet2.middleware.grouperClient.api
Class GcGetSubjects

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.api.GcGetSubjects

public class GcGetSubjects
extends java.lang.Object

class to run a get subjects web service call


Constructor Summary
GcGetSubjects()
           
 
Method Summary
 GcGetSubjects addParam(java.lang.String paramName, java.lang.String paramValue)
          add a param to the list
 GcGetSubjects addParam(WsParam wsParam)
          add a param to the list
 GcGetSubjects addSourceId(java.lang.String sourceId)
          add a source id to filter by (or none for all sources)
 GcGetSubjects addSubjectAttributeName(java.lang.String subjectAttributeName)
           
 GcGetSubjects addWsSubjectLookup(WsSubjectLookup wsSubjectLookup)
          set the subject lookup
 GcGetSubjects assignActAsSubject(WsSubjectLookup theActAsSubject)
          assign the act as subject if any
 GcGetSubjects assignClientVersion(java.lang.String theClientVersion)
          assign client version
 GcGetSubjects assignFieldName(java.lang.String theFieldName)
          assign the field name to the request
 GcGetSubjects assignGroupLookup(WsGroupLookup theGroupLookup)
          assign a group to filter subjects from
 GcGetSubjects assignIncludeGroupDetail(java.lang.Boolean theIncludeGroupDetail)
          assign if the group detail should be included
 GcGetSubjects assignIncludeSubjectDetail(java.lang.Boolean theIncludeSubjectDetail)
          if should include subject detail
 GcGetSubjects assignMemberFilter(WsMemberFilter theMemberFilter)
          assign the member filter
 GcGetSubjects assignSearchString(java.lang.String theSearchString)
          assign the search string
 WsGetSubjectsResults execute()
          execute the call and return the results.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GcGetSubjects

public GcGetSubjects()
Method Detail

assignSearchString

public GcGetSubjects assignSearchString(java.lang.String theSearchString)
assign the search string

Parameters:
theSearchString -
Returns:
this for chaining

assignGroupLookup

public GcGetSubjects assignGroupLookup(WsGroupLookup theGroupLookup)
assign a group to filter subjects from

Parameters:
theGroupLookup -
Returns:
this for chaining

assignClientVersion

public GcGetSubjects assignClientVersion(java.lang.String theClientVersion)
assign client version

Parameters:
theClientVersion -
Returns:
this for chaining

addWsSubjectLookup

public GcGetSubjects addWsSubjectLookup(WsSubjectLookup wsSubjectLookup)
set the subject lookup

Parameters:
wsSubjectLookup -
Returns:
this for chaining

addParam

public GcGetSubjects addParam(java.lang.String paramName,
                              java.lang.String paramValue)
add a param to the list

Parameters:
paramName -
paramValue -
Returns:
this for chaining

addParam

public GcGetSubjects addParam(WsParam wsParam)
add a param to the list

Parameters:
wsParam -
Returns:
this for chaining

assignMemberFilter

public GcGetSubjects assignMemberFilter(WsMemberFilter theMemberFilter)
assign the member filter

Parameters:
theMemberFilter -
Returns:
this for chaining

assignActAsSubject

public GcGetSubjects assignActAsSubject(WsSubjectLookup theActAsSubject)
assign the act as subject if any

Parameters:
theActAsSubject -
Returns:
this for chaining

assignFieldName

public GcGetSubjects assignFieldName(java.lang.String theFieldName)
assign the field name to the request

Parameters:
theFieldName -
Returns:
this for chaining

addSourceId

public GcGetSubjects addSourceId(java.lang.String sourceId)
add a source id to filter by (or none for all sources)

Parameters:
sourceId -
Returns:
this for chaining

addSubjectAttributeName

public GcGetSubjects addSubjectAttributeName(java.lang.String subjectAttributeName)
Parameters:
subjectAttributeName -
Returns:
this for chaining

assignIncludeGroupDetail

public GcGetSubjects assignIncludeGroupDetail(java.lang.Boolean theIncludeGroupDetail)
assign if the group detail should be included

Parameters:
theIncludeGroupDetail -
Returns:
this for chaining

assignIncludeSubjectDetail

public GcGetSubjects assignIncludeSubjectDetail(java.lang.Boolean theIncludeSubjectDetail)
if should include subject detail

Parameters:
theIncludeSubjectDetail -
Returns:
this for chaining

execute

public WsGetSubjectsResults execute()
execute the call and return the results. If there is a problem calling the service, an exception will be thrown

Returns:
the results