edu.internet2.middleware.grouperClient.api
Class GcGroupSave

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

public class GcGroupSave
extends Object

class to run a group save web service call


Constructor Summary
GcGroupSave()
           
 
Method Summary
 GcGroupSave addGroupToSave(WsGroupToSave wsGroupToSave)
          add a group to save
 GcGroupSave addParam(String paramName, String paramValue)
          add a param to the list
 GcGroupSave addParam(WsParam wsParam)
          add a param to the list
 GcGroupSave assignActAsSubject(WsSubjectLookup theActAsSubject)
          assign the act as subject if any
 GcGroupSave assignClientVersion(String theClientVersion)
          assign client version
 GcGroupSave assignIncludeGroupDetail(Boolean theIncludeGroupDetail)
          assign if the group detail should be included
 GcGroupSave assignTxType(GcTransactionType gcTransactionType)
          assign the tx type
 WsGroupSaveResults execute()
          execute the call and return the results.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GcGroupSave

public GcGroupSave()
Method Detail

assignClientVersion

public GcGroupSave assignClientVersion(String theClientVersion)
assign client version

Parameters:
theClientVersion -
Returns:
this for chaining

addGroupToSave

public GcGroupSave addGroupToSave(WsGroupToSave wsGroupToSave)
add a group to save

Parameters:
wsGroupToSave -
Returns:
group to save

addParam

public GcGroupSave addParam(String paramName,
                            String paramValue)
add a param to the list

Parameters:
paramName -
paramValue -
Returns:
this for chaining

addParam

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

Parameters:
wsParam -
Returns:
this for chaining

assignActAsSubject

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

Parameters:
theActAsSubject -
Returns:
this for chaining

assignIncludeGroupDetail

public GcGroupSave assignIncludeGroupDetail(Boolean theIncludeGroupDetail)
assign if the group detail should be included

Parameters:
theIncludeGroupDetail -
Returns:
this for chaining

execute

public WsGroupSaveResults 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 GcGroupSave assignTxType(GcTransactionType gcTransactionType)
assign the tx type

Parameters:
gcTransactionType -
Returns:
self for chaining

main

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