|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefLookup
public class WsAttributeDefLookup
Class to lookup an attribute def via web service developers make sure each setter calls this.clearAttributeDef();
Nested Class Summary | |
---|---|
static class |
WsAttributeDefLookup.AttributeDefFindResult
result of attribute def name find |
Constructor Summary | |
---|---|
WsAttributeDefLookup()
|
|
WsAttributeDefLookup(String name1,
String uuid1)
|
|
WsAttributeDefLookup(String name1,
String uuid1,
String idIndex1)
|
Method Summary | |
---|---|
boolean |
blank()
see if blank |
static Set<String> |
convertToAttributeDefIds(GrouperSession grouperSession,
WsAttributeDefLookup[] wsAttributeDefLookups,
StringBuilder errorMessage,
AttributeDefType attributeDefType,
boolean usePIT,
Timestamp pointInTimeFrom,
Timestamp pointInTimeTo)
convert attributeDef lookups to attributeDef ids |
static Set<String> |
convertToAttributeDefIds(GrouperSession grouperSession,
WsAttributeDefLookup[] wsAttributeDefLookups,
StringBuilder errorMessage,
AttributeDefType attributeDefType,
boolean usePIT,
Timestamp pointInTimeFrom,
Timestamp pointInTimeTo,
int[] lookupCount)
convert attributeDef lookups to attributeDef ids |
String |
getIdIndex()
integer ID for object |
String |
getName()
name of the attributeDef to find (includes stems, e.g. |
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,
String invalidQueryReason)
retrieve the attributeDef for this lookup if not looked up yet. |
Set<PITAttributeDef> |
retrievePITAttributeDefs()
Note: this is not a javabean property because we dont want it in the web service |
Set<PITAttributeDef> |
retrievePITAttributeDefsIfNeeded(String invalidQueryReason,
Timestamp pointInTimeFrom,
Timestamp pointInTimeTo)
retrieve the pit attribute defs for this lookup if not looked up yet. |
void |
setIdIndex(String idIndex1)
integer ID for object |
void |
setName(String theName)
name of the attributeDef to find (includes stems, e.g. |
void |
setUuid(String uuid1)
uuid of the attributeDef to find |
String |
toString()
make sure this is an explicit toString |
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 WsAttributeDefLookup()
public WsAttributeDefLookup(String name1, String uuid1)
name1
- uuid1
- public WsAttributeDefLookup(String name1, String uuid1, String idIndex1)
name1
- uuid1
- idIndex1
- Method Detail |
---|
public String getIdIndex()
public void setIdIndex(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 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 String toString()
toString
in class Object
public void retrieveAttributeDefIfNeeded(GrouperSession grouperSession)
grouperSession
- public AttributeDef retrieveAttributeDefIfNeeded(GrouperSession grouperSession, 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 Set<PITAttributeDef> retrievePITAttributeDefsIfNeeded(String invalidQueryReason, Timestamp pointInTimeFrom, 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 String getUuid()
public void setUuid(String uuid1)
uuid1
- the uuid to setpublic String getName()
public void setName(String theName)
theName
- the theName to setpublic static Set<String> convertToAttributeDefIds(GrouperSession grouperSession, WsAttributeDefLookup[] wsAttributeDefLookups, StringBuilder errorMessage, AttributeDefType attributeDefType, boolean usePIT, Timestamp pointInTimeFrom, 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 not
public static Set<String> convertToAttributeDefIds(GrouperSession grouperSession, WsAttributeDefLookup[] wsAttributeDefLookups, StringBuilder errorMessage, AttributeDefType attributeDefType, boolean usePIT, Timestamp pointInTimeFrom, 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 not
public String toStringCompact()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |