public class WsAttributeDefLookup extends java.lang.Object implements GrouperWsToStringCompact
Class to lookup an attribute def via web service developers make sure each setter calls this.clearAttributeDef();
Modifier and Type | Class and Description |
---|---|
static class |
WsAttributeDefLookup.AttributeDefFindResult
result of attribute def name find
|
Constructor and Description |
---|
WsAttributeDefLookup() |
WsAttributeDefLookup(java.lang.String name1,
java.lang.String uuid1) |
WsAttributeDefLookup(java.lang.String name1,
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> |
convertToAttributeDefIds(GrouperSession grouperSession,
WsAttributeDefLookup[] wsAttributeDefLookups,
java.lang.StringBuilder errorMessage,
AttributeDefType attributeDefType,
boolean usePIT,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo)
convert attributeDef lookups to attributeDef ids
|
static java.util.Set<java.lang.String> |
convertToAttributeDefIds(GrouperSession grouperSession,
WsAttributeDefLookup[] wsAttributeDefLookups,
java.lang.StringBuilder errorMessage,
AttributeDefType attributeDefType,
boolean usePIT,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo,
int[] lookupCount)
convert attributeDef lookups to attributeDef ids
|
java.lang.String |
getIdIndex()
integer ID for object
|
java.lang.String |
getName()
name of the attributeDef to find (includes stems, e.g.
|
java.lang.String |
getUuid()
uuid of the attributeDef to find
|
boolean |
hasData()
see if this attributeDef lookup has data
|
AttributeDef |
retrieveAttributeDef()
Note: this is not a javabean property because we dont want it in the web service
|
WsAttributeDefLookup.AttributeDefFindResult |
retrieveAttributeDefFindResult()
Note: this is not a javabean property because we dont want it in the web service
|
void |
retrieveAttributeDefIfNeeded(GrouperSession grouperSession)
retrieve the attributeDef for this lookup if not looked up yet.
|
AttributeDef |
retrieveAttributeDefIfNeeded(GrouperSession grouperSession,
java.lang.String invalidQueryReason)
retrieve the attributeDef for this lookup if not looked up yet.
|
java.util.Set<PITAttributeDef> |
retrievePITAttributeDefs()
Note: this is not a javabean property because we dont want it in the web service
|
java.util.Set<PITAttributeDef> |
retrievePITAttributeDefsIfNeeded(java.lang.String invalidQueryReason,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo)
retrieve the pit attribute defs for this lookup if not looked up yet.
|
void |
setIdIndex(java.lang.String idIndex1)
integer ID for object
|
void |
setName(java.lang.String theName)
name of the attributeDef to find (includes stems, e.g.
|
void |
setUuid(java.lang.String uuid1)
uuid of the attributeDef 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 WsAttributeDefLookup()
public WsAttributeDefLookup(java.lang.String name1, java.lang.String uuid1)
name1
- uuid1
- public WsAttributeDefLookup(java.lang.String name1, java.lang.String uuid1, java.lang.String idIndex1)
name1
- uuid1
- idIndex1
- public java.lang.String getIdIndex()
public void setIdIndex(java.lang.String idIndex1)
idIndex1
- public boolean blank()
public boolean hasData()
public AttributeDef retrieveAttributeDef()
Note: this is not a javabean property because we dont want it in the web service
public java.util.Set<PITAttributeDef> retrievePITAttributeDefs()
Note: this is not a javabean property because we dont want it in the web service
public WsAttributeDefLookup.AttributeDefFindResult retrieveAttributeDefFindResult()
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 retrieveAttributeDefIfNeeded(GrouperSession grouperSession)
grouperSession
- public AttributeDef retrieveAttributeDefIfNeeded(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<PITAttributeDef> retrievePITAttributeDefsIfNeeded(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 getName()
public void setName(java.lang.String theName)
theName
- the theName to setpublic static java.util.Set<java.lang.String> convertToAttributeDefIds(GrouperSession grouperSession, WsAttributeDefLookup[] wsAttributeDefLookups, java.lang.StringBuilder errorMessage, AttributeDefType attributeDefType, boolean usePIT, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo)
grouperSession
- wsAttributeDefLookups
- errorMessage
- attributeDefType
- 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> convertToAttributeDefIds(GrouperSession grouperSession, WsAttributeDefLookup[] wsAttributeDefLookups, java.lang.StringBuilder errorMessage, AttributeDefType attributeDefType, boolean usePIT, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo, int[] lookupCount)
grouperSession
- wsAttributeDefLookups
- errorMessage
- attributeDefType
- 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 java.lang.String toStringCompact()
toStringCompact
in interface GrouperWsToStringCompact