|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.ws.soap.WsGroupLookup
public class WsGroupLookup
Class to lookup a group via web service developers make sure each setter calls this.clearGroup();
Nested Class Summary | |
---|---|
static class |
WsGroupLookup.GroupFindResult
result of group find |
Constructor Summary | |
---|---|
WsGroupLookup()
|
|
WsGroupLookup(String groupName1,
String uuid1)
|
|
WsGroupLookup(WsGroup wsGroup)
|
Method Summary | |
---|---|
boolean |
blank()
see if blank |
static Set<String> |
convertToGroupIds(GrouperSession grouperSession,
WsGroupLookup[] wsGroupLookups,
StringBuilder errorMessage,
TypeOfGroup typeOfGroup)
convert group lookups to group ids |
static Set<String> |
convertToGroupIds(GrouperSession grouperSession,
WsGroupLookup[] wsGroupLookups,
StringBuilder errorMessage,
TypeOfGroup typeOfGroup,
int[] lookupCount)
convert group lookups to group ids |
String |
getGroupName()
name of the group to find (includes stems, e.g. |
String |
getUuid()
uuid of the group to find |
boolean |
hasData()
see if this group lookup has data |
Group |
retrieveGroup()
Note: this is not a javabean property because we dont want it in the web service |
WsGroupLookup.GroupFindResult |
retrieveGroupFindResult()
Note: this is not a javabean property because we dont want it in the web service |
void |
retrieveGroupIfNeeded(GrouperSession grouperSession)
retrieve the group for this lookup if not looked up yet. |
Group |
retrieveGroupIfNeeded(GrouperSession grouperSession,
String invalidQueryReason)
retrieve the group for this lookup if not looked up yet. |
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 |
String |
toStringCompact()
make sure this is an explicit toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WsGroupLookup(WsGroup wsGroup)
wsGroup
- public WsGroupLookup()
public WsGroupLookup(String groupName1, String uuid1)
groupName1
- uuid1
- Method Detail |
---|
public static Set<String> convertToGroupIds(GrouperSession grouperSession, WsGroupLookup[] wsGroupLookups, StringBuilder errorMessage, TypeOfGroup typeOfGroup)
grouperSession
- wsGroupLookups
- errorMessage
- typeOfGroup
- lookupCount
- is an array of size one int where 1 will be added if there are records, and no change if not
public static Set<String> convertToGroupIds(GrouperSession grouperSession, WsGroupLookup[] wsGroupLookups, StringBuilder errorMessage, TypeOfGroup typeOfGroup, int[] lookupCount)
grouperSession
- wsGroupLookups
- errorMessage
- typeOfGroup
- lookupCount
- is an array of size one int where 1 will be added if there are records, and no change if not
public boolean blank()
public boolean hasData()
public Group retrieveGroup()
Note: this is not a javabean property because we dont want it in the web service
public WsGroupLookup.GroupFindResult retrieveGroupFindResult()
Note: this is not a javabean property because we dont want it in the web service
public String toString()
toString
in class Object
public String toStringCompact()
public void retrieveGroupIfNeeded(GrouperSession grouperSession)
grouperSession
- public Group retrieveGroupIfNeeded(GrouperSession grouperSession, String invalidQueryReason) throws WsInvalidQueryException
grouperSession
- invalidQueryReason
- is the text to go in the WsInvalidQueryException
WsInvalidQueryException
- if there is a problem, and if the invalidQueryReason is setpublic String getUuid()
public void setUuid(String uuid1)
uuid1
- the uuid to setpublic String getGroupName()
public void setGroupName(String theName)
theName
- the theName to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |