public class WsGroupLookup extends java.lang.Object implements GrouperWsToStringCompact
Class to lookup a group via web service developers make sure each setter calls this.clearGroup();
Modifier and Type | Class and Description |
---|---|
static class |
WsGroupLookup.GroupFindResult
result of group find
|
Constructor and Description |
---|
WsGroupLookup() |
WsGroupLookup(java.lang.String groupName1,
java.lang.String uuid1) |
WsGroupLookup(java.lang.String groupName1,
java.lang.String uuid1,
java.lang.String idIndex1) |
WsGroupLookup(WsGroup wsGroup) |
Modifier and Type | Method and Description |
---|---|
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 |
getIdIndex()
integer ID for object
|
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 |
setIdIndex(java.lang.String idIndex1)
integer ID for object
|
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
|
public WsGroupLookup(WsGroup wsGroup)
wsGroup
- public WsGroupLookup()
public WsGroupLookup(java.lang.String groupName1, java.lang.String uuid1)
groupName1
- uuid1
- public WsGroupLookup(java.lang.String groupName1, java.lang.String uuid1, java.lang.String idIndex1)
groupName1
- uuid1
- idIndex1
- public java.lang.String getIdIndex()
public void setIdIndex(java.lang.String idIndex1)
idIndex1
- 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 notpublic 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 notpublic 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()
toStringCompact
in interface GrouperWsToStringCompact
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 WsInvalidQueryExceptionWsInvalidQueryException
- 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