public class WsAttributeDefNameLookup extends java.lang.Object implements GrouperWsToStringCompact
Class to lookup an attribute def name via web service developers make sure each setter calls this.clearAttributeDefName();
Modifier and Type | Class and Description |
---|---|
static class |
WsAttributeDefNameLookup.AttributeDefNameFindResult
result of attribute def name find
|
Constructor and Description |
---|
WsAttributeDefNameLookup() |
WsAttributeDefNameLookup(java.lang.String attributeDefNameName1,
java.lang.String uuid1) |
WsAttributeDefNameLookup(java.lang.String attributeDefNameName1,
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> |
convertToAttributeDefNameIds(GrouperSession grouperSession,
WsAttributeDefNameLookup[] wsAttributeDefNameLookups,
java.lang.StringBuilder errorMessage,
AttributeDefType attributeDefType,
boolean usePIT,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo)
convert attributeDefName lookups to attributeDefName ids
|
static java.util.Set<java.lang.String> |
convertToAttributeDefNameIds(GrouperSession grouperSession,
WsAttributeDefNameLookup[] wsAttributeDefNameLookups,
java.lang.StringBuilder errorMessage,
AttributeDefType attributeDefType,
boolean usePIT,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo,
int[] lookupCount)
convert attributeDefName lookups to attributeDefName ids
|
static WsAttributeDefNameLookup |
createIfNeeded(java.lang.String uuid,
java.lang.String name)
create if any not null, otherwise null
|
java.lang.String |
getIdIndex()
integer ID for object
|
java.lang.String |
getName()
name of the attributeDefName to find (includes stems, e.g.
|
java.lang.String |
getUuid()
uuid of the attributeDefName to find
|
boolean |
hasData()
see if this attributeDefName lookup has data
|
AttributeDefName |
retrieveAttributeDefName()
Note: this is not a javabean property because we dont want it in the web service
|
WsAttributeDefNameLookup.AttributeDefNameFindResult |
retrieveAttributeDefNameFindResult()
Note: this is not a javabean property because we dont want it in the web service
|
void |
retrieveAttributeDefNameIfNeeded(GrouperSession grouperSession)
retrieve the attributeDefName for this lookup if not looked up yet.
|
AttributeDefName |
retrieveAttributeDefNameIfNeeded(GrouperSession grouperSession,
java.lang.String invalidQueryReason)
retrieve the attributeDefName for this lookup if not looked up yet.
|
java.util.Set<PITAttributeDefName> |
retrievePITAttributeDefNames()
Note: this is not a javabean property because we dont want it in the web service
|
java.util.Set<PITAttributeDefName> |
retrievePITAttributeDefNamesIfNeeded(java.lang.String invalidQueryReason,
java.sql.Timestamp pointInTimeFrom,
java.sql.Timestamp pointInTimeTo)
retrieve the pit attribute def names 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 attributeDefName to find (includes stems, e.g.
|
void |
setUuid(java.lang.String uuid1)
uuid of the attributeDefName 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 WsAttributeDefNameLookup()
public WsAttributeDefNameLookup(java.lang.String attributeDefNameName1, java.lang.String uuid1)
attributeDefNameName1
- uuid1
- public WsAttributeDefNameLookup(java.lang.String attributeDefNameName1, java.lang.String uuid1, java.lang.String idIndex1)
attributeDefNameName1
- uuid1
- idIndex1
- public static WsAttributeDefNameLookup createIfNeeded(java.lang.String uuid, java.lang.String name)
uuid
- name
- public java.lang.String getIdIndex()
public void setIdIndex(java.lang.String idIndex1)
idIndex1
- public boolean blank()
public boolean hasData()
public AttributeDefName retrieveAttributeDefName()
Note: this is not a javabean property because we dont want it in the web service
public java.util.Set<PITAttributeDefName> retrievePITAttributeDefNames()
Note: this is not a javabean property because we dont want it in the web service
public WsAttributeDefNameLookup.AttributeDefNameFindResult retrieveAttributeDefNameFindResult()
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 retrieveAttributeDefNameIfNeeded(GrouperSession grouperSession)
grouperSession
- public AttributeDefName retrieveAttributeDefNameIfNeeded(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<PITAttributeDefName> retrievePITAttributeDefNamesIfNeeded(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> convertToAttributeDefNameIds(GrouperSession grouperSession, WsAttributeDefNameLookup[] wsAttributeDefNameLookups, java.lang.StringBuilder errorMessage, AttributeDefType attributeDefType, boolean usePIT, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo)
grouperSession
- wsAttributeDefNameLookups
- 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> convertToAttributeDefNameIds(GrouperSession grouperSession, WsAttributeDefNameLookup[] wsAttributeDefNameLookups, java.lang.StringBuilder errorMessage, AttributeDefType attributeDefType, boolean usePIT, java.sql.Timestamp pointInTimeFrom, java.sql.Timestamp pointInTimeTo, int[] lookupCount)
grouperSession
- wsAttributeDefNameLookups
- 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