public class WsStemLookup extends java.lang.Object implements GrouperWsToStringCompact
Class to lookup a stem via web service developers make sure each setter calls this.clearSubject(); TODO: add in extensions in the query
Modifier and Type | Class and Description |
---|---|
static class |
WsStemLookup.StemFindResult
result of stem find
|
Constructor and Description |
---|
WsStemLookup() |
WsStemLookup(java.lang.String stemName1,
java.lang.String uuid1) |
WsStemLookup(java.lang.String stemName1,
java.lang.String uuid1,
java.lang.String idIndex1) |
Modifier and Type | Method and Description |
---|---|
boolean |
blank()
see if blank
|
static java.util.Set<java.lang.String> |
convertToStemIds(GrouperSession grouperSession,
WsStemLookup[] wsStemLookups,
java.lang.StringBuilder errorMessage,
int[] lookupCount)
convert stem lookups to stem ids
|
java.lang.String |
getIdIndex()
integer ID for object
|
java.lang.String |
getStemName()
name of the stem to find (includes stems, e.g.
|
java.lang.String |
getUuid()
uuid of the stem to find
|
boolean |
hasData()
see if this stem lookup has data
|
Stem |
retrieveStem()
Note: this is not a javabean property because we dont want it in the web service
|
WsStemLookup.StemFindResult |
retrieveStemFindResult()
Note: this is not a javabean property because we dont want it in the web service
|
void |
retrieveStemIfNeeded(GrouperSession grouperSession,
boolean exceptionOnNull)
pass in a grouper session
|
void |
setIdIndex(java.lang.String idIndex1)
integer ID for object
|
void |
setStemName(java.lang.String theName)
name of the stem to find (includes stems, e.g.
|
void |
setUuid(java.lang.String uuid1)
uuid of the stem 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 WsStemLookup()
public WsStemLookup(java.lang.String stemName1, java.lang.String uuid1)
stemName1
- uuid1
- public WsStemLookup(java.lang.String stemName1, java.lang.String uuid1, java.lang.String idIndex1)
stemName1
- uuid1
- idIndex1
- public java.lang.String getIdIndex()
public void setIdIndex(java.lang.String idIndex1)
idIndex1
- public boolean blank()
public boolean hasData()
public Stem retrieveStem()
Note: this is not a javabean property because we dont want it in the web service
public WsStemLookup.StemFindResult retrieveStemFindResult()
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 void retrieveStemIfNeeded(GrouperSession grouperSession, boolean exceptionOnNull)
grouperSession
- exceptionOnNull
- excdeption if nothing in stempublic java.lang.String getUuid()
public void setUuid(java.lang.String uuid1)
uuid1
- the uuid to setpublic java.lang.String getStemName()
public void setStemName(java.lang.String theName)
theName
- the theName to setpublic static java.util.Set<java.lang.String> convertToStemIds(GrouperSession grouperSession, WsStemLookup[] wsStemLookups, java.lang.StringBuilder errorMessage, int[] lookupCount)
grouperSession
- wsStemLookups
- errorMessage
- lookupCount
- is an array of size one int where 1 will be added if there are records, and no change if notpublic java.lang.String toStringCompact()
toStringCompact
in interface GrouperWsToStringCompact