Class WsExternalSubjectLookup
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsExternalSubjectLookup
- All Implemented Interfaces:
GrouperWsToStringCompact
Class to lookup an attribute def via web service developers make sure each setter calls this.clearAttributeDef();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result of extneral subject find -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
blank()
see if blankname of the attributeDef to find (includes stems, e.g.boolean
hasData()
see if this attributeDef lookup has dataNote: this is not a javabean property because we dont want it in the web serviceNote: this is not a javabean property because we dont want it in the web servicevoid
retrieveExternalSubjectIfNeeded
(GrouperSession grouperSession) retrieve the external subject for this lookup if not looked up yet.retrieveExternalSubjectIfNeeded
(GrouperSession grouperSession, String invalidQueryReason) retrieve the external subject for this lookup if not looked up yet.void
setIdentifier
(String theName) name of the attributeDef to find (includes stems, e.g.toString()
make sure this is an explicit toStringmake sure this is an explicit toString
-
Constructor Details
-
WsExternalSubjectLookup
public WsExternalSubjectLookup() -
WsExternalSubjectLookup
- Parameters:
identifier1
-
-
-
Method Details
-
blank
public boolean blank()see if blank- Returns:
- true if blank
-
hasData
public boolean hasData()see if this attributeDef lookup has data- Returns:
- true if it has data
-
retrieveExternalSubject
Note: this is not a javabean property because we dont want it in the web service
- Returns:
- the attributeDef
-
retrieveExternalSubjectFindResult
Note: this is not a javabean property because we dont want it in the web service
- Returns:
- the attributeDefFindResult, this is never null
-
toString
make sure this is an explicit toString -
retrieveExternalSubjectIfNeeded
retrieve the external subject for this lookup if not looked up yet. pass in a grouper session- Parameters:
grouperSession
-
-
retrieveExternalSubjectIfNeeded
public ExternalSubject retrieveExternalSubjectIfNeeded(GrouperSession grouperSession, String invalidQueryReason) throws WsInvalidQueryException retrieve the external subject for this lookup if not looked up yet. pass in a grouper session- Parameters:
grouperSession
-invalidQueryReason
- is the text to go in the WsInvalidQueryException- Returns:
- the attributeDef
- Throws:
WsInvalidQueryException
- if there is a problem, and if the invalidQueryReason is set
-
getIdentifier
name of the attributeDef to find (includes stems, e.g. stem1:stem2:attributeDef- Returns:
- the theName
-
setIdentifier
name of the attributeDef to find (includes stems, e.g. stem1:stem2:attributeDef- Parameters:
theName
- the theName to set
-
toStringCompact
make sure this is an explicit toString- Specified by:
toStringCompact
in interfaceGrouperWsToStringCompact
- Returns:
- return a compact to string
-