edu.internet2.middleware.grouper.webservices
Class WsGroupLookup

java.lang.Object
  extended by edu.internet2.middleware.grouper.webservices.WsGroupLookup

public class WsGroupLookup
extends Object

 Class to lookup a group via web service
 
 developers make sure each setter calls this.clearSubject();
 TODO: add in extensions in the query
 

Author:
mchyzer

Constructor Summary
WsGroupLookup()
           
WsGroupLookup(String groupName1, String uuid1)
           
 
Method Summary
 String getGroupName()
          name of the group to find (includes stems, e.g.
 String getUuid()
          uuid of the group to find
 edu.internet2.middleware.grouper.Group retrieveGroup()
           Note: this is not a javabean property because we dont want it in the web service
 edu.internet2.middleware.grouper.webservices.WsGroupLookup.GroupFindResult retrieveGroupFindResult()
           Note: this is not a javabean property because we dont want it in the web service
 void retrieveGroupIfNeeded(edu.internet2.middleware.grouper.GrouperSession grouperSession)
          pass in a grouper session
 void setGroupName(String theName)
          name of the group to find (includes stems, e.g.
 void setUuid(String uuid1)
          uuid of the group to find
 String toString()
          make sure this is an explicit toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsGroupLookup

public WsGroupLookup()

WsGroupLookup

public WsGroupLookup(String groupName1,
                     String uuid1)
Parameters:
groupName1 -
uuid1 -
Method Detail

retrieveGroup

public edu.internet2.middleware.grouper.Group retrieveGroup()
 
 Note: this is not a javabean property because we dont want it in the web service
 

Returns:
the subject

retrieveGroupFindResult

public edu.internet2.middleware.grouper.webservices.WsGroupLookup.GroupFindResult retrieveGroupFindResult()
 
 Note: this is not a javabean property because we dont want it in the web service
 

Returns:
the subjectFindResult, this is never null

toString

public String toString()
make sure this is an explicit toString

Overrides:
toString in class Object

retrieveGroupIfNeeded

public void retrieveGroupIfNeeded(edu.internet2.middleware.grouper.GrouperSession grouperSession)
pass in a grouper session

Parameters:
grouperSession -

getUuid

public String getUuid()
uuid of the group to find

Returns:
the uuid

setUuid

public void setUuid(String uuid1)
uuid of the group to find

Parameters:
uuid1 - the uuid to set

getGroupName

public String getGroupName()
name of the group to find (includes stems, e.g. stem1:stem2:groupName

Returns:
the theName

setGroupName

public void setGroupName(String theName)
name of the group to find (includes stems, e.g. stem1:stem2:groupName

Parameters:
theName - the theName to set