public class WsExternalSubjectLookup 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 |
WsExternalSubjectLookup.ExternalSubjectFindResult
result of extneral subject find
|
Constructor and Description |
---|
WsExternalSubjectLookup() |
WsExternalSubjectLookup(java.lang.String identifier1) |
Modifier and Type | Method and Description |
---|---|
boolean |
blank()
see if blank
|
java.lang.String |
getIdentifier()
name of the attributeDef to find (includes stems, e.g.
|
boolean |
hasData()
see if this attributeDef lookup has data
|
ExternalSubject |
retrieveExternalSubject()
Note: this is not a javabean property because we dont want it in the web service
|
WsExternalSubjectLookup.ExternalSubjectFindResult |
retrieveExternalSubjectFindResult()
Note: this is not a javabean property because we dont want it in the web service
|
void |
retrieveExternalSubjectIfNeeded(GrouperSession grouperSession)
retrieve the external subject for this lookup if not looked up yet.
|
ExternalSubject |
retrieveExternalSubjectIfNeeded(GrouperSession grouperSession,
java.lang.String invalidQueryReason)
retrieve the external subject for this lookup if not looked up yet.
|
void |
setIdentifier(java.lang.String theName)
name of the attributeDef to find (includes stems, e.g.
|
java.lang.String |
toString()
make sure this is an explicit toString
|
java.lang.String |
toStringCompact()
make sure this is an explicit toString
|
public WsExternalSubjectLookup()
public WsExternalSubjectLookup(java.lang.String identifier1)
identifier1
- public boolean blank()
public boolean hasData()
public ExternalSubject retrieveExternalSubject()
Note: this is not a javabean property because we dont want it in the web service
public WsExternalSubjectLookup.ExternalSubjectFindResult retrieveExternalSubjectFindResult()
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 retrieveExternalSubjectIfNeeded(GrouperSession grouperSession)
grouperSession
- public ExternalSubject retrieveExternalSubjectIfNeeded(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.lang.String getIdentifier()
public void setIdentifier(java.lang.String theName)
theName
- the theName to setpublic java.lang.String toStringCompact()
toStringCompact
in interface GrouperWsToStringCompact