|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.ws.coresoap.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(java.lang.String groupName1,
java.lang.String uuid1)
|
|
WsGroupLookup(WsGroup wsGroup)
|
Method Summary | |
---|---|
boolean |
blank()
see if blank |
static java.util.Set<java.lang.String> |
convertToGroupIds(GrouperSession grouperSession,
WsGroupLookup[] wsGroupLookups,
java.lang.StringBuilder errorMessage,
TypeOfGroup typeOfGroup,
boolean usePIT,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo)
convert group lookups to group ids |
static java.util.Set<java.lang.String> |
convertToGroupIds(GrouperSession grouperSession,
WsGroupLookup[] wsGroupLookups,
java.lang.StringBuilder errorMessage,
TypeOfGroup typeOfGroup,
boolean usePIT,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo,
int[] lookupCount)
convert group lookups to group ids |
java.lang.String |
getGroupName()
name of the group to find (includes stems, e.g. |
java.lang.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,
java.lang.String invalidQueryReason)
retrieve the group for this lookup if not looked up yet. |
java.util.Set<PITGroup> |
retrievePITGroups()
Note: this is not a javabean property because we dont want it in the web service |
java.util.Set<PITGroup> |
retrievePITGroupsIfNeeded(java.lang.String invalidQueryReason,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo)
retrieve the pit groups for this lookup if not looked up yet. |
void |
setGroupName(java.lang.String theName)
name of the group to find (includes stems, e.g. |
void |
setUuid(java.lang.String uuid1)
uuid of the group to find |
java.lang.String |
toString()
make sure this is an explicit toString |
java.lang.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(java.lang.String groupName1, java.lang.String uuid1)
groupName1
- uuid1
- Method Detail |
---|
public static java.util.Set<java.lang.String> convertToGroupIds(GrouperSession grouperSession, WsGroupLookup[] wsGroupLookups, java.lang.StringBuilder errorMessage, TypeOfGroup typeOfGroup, boolean usePIT, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo)
grouperSession
- wsGroupLookups
- errorMessage
- typeOfGroup
- usePIT
- pointInTimeFrom
- pointInTimeTo
- lookupCount
- is an array of size one int where 1 will be added if there are records, and no change if not
public static java.util.Set<java.lang.String> convertToGroupIds(GrouperSession grouperSession, WsGroupLookup[] wsGroupLookups, java.lang.StringBuilder errorMessage, TypeOfGroup typeOfGroup, boolean usePIT, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo, int[] lookupCount)
grouperSession
- wsGroupLookups
- errorMessage
- typeOfGroup
- usePIT
- pointInTimeFrom
- pointInTimeTo
- 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 java.util.Set<PITGroup> retrievePITGroups()
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 java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringCompact()
public void retrieveGroupIfNeeded(GrouperSession grouperSession)
grouperSession
- public Group retrieveGroupIfNeeded(GrouperSession grouperSession, java.lang.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 java.util.Set<PITGroup> retrievePITGroupsIfNeeded(java.lang.String invalidQueryReason, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo) throws WsInvalidQueryException
invalidQueryReason
- is the text to go in the WsInvalidQueryExceptionpointInTimeFrom
- pointInTimeTo
-
WsInvalidQueryException
- if there is a problem, and if the invalidQueryReason is setpublic java.lang.String getUuid()
public void setUuid(java.lang.String uuid1)
uuid1
- the uuid to setpublic java.lang.String getGroupName()
public void setGroupName(java.lang.String theName)
theName
- the theName to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |