Class WsAttributeAssignLookup
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAttributeAssignLookup
- All Implemented Interfaces:
GrouperWsToStringCompact
Class to lookup an attribute assignment via web service developers make sure each setter calls this.clearAttributeAssignment();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result of attribute def name find -
Constructor Summary
ConstructorDescriptionWsAttributeAssignLookup
(String uuid1) WsAttributeAssignLookup
(String uuid1, String batchIndex1) -
Method Summary
Modifier and TypeMethodDescriptionboolean
blank()
see if blankconvertToAttributeAssignIds
(GrouperSession grouperSession, WsAttributeAssignLookup[] wsAttributeAssignLookups, StringBuilder errorMessage) convert attributeAssign lookups to attributeAssign idsconvertToAttributeAssignIds
(GrouperSession grouperSession, WsAttributeAssignLookup[] wsAttributeAssignLookups, StringBuilder errorMessage, int[] lookupCount) convert attributeAssign lookups to attributeAssign idsconvertToAttributeAssignIds
(GrouperSession grouperSession, WsAttributeAssignLookup[] wsAttributeAssignLookups, StringBuilder errorMessage, int[] lookupCount, String[] backReferenceAttributeAssignIds) convert attributeAssign lookups to attributeAssign idsif there is a batch request, and this attribute assignment refers to a previously sent assignment, this is the index (0 indexed)getUuid()
uuid of the attributeAssign to findboolean
hasData()
see if this attributeAssign 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
retrieveAttributeAssignIfNeeded
(GrouperSession grouperSession) retrieve the attributeAssign for this lookup if not looked up yet.retrieveAttributeAssignIfNeeded
(GrouperSession grouperSession, String invalidQueryReason, String[] backReferenceAttributeAssignIds) retrieve the attributeAssign for this lookup if not looked up yet.void
setBatchIndex
(String theIndex) if there is a batch request, and this attribute assignment refers to a previously sent assignment, this is the index (0 indexed)void
uuid of the attributeAssign to findtoString()
make sure this is an explicit toStringmake sure this is an explicit toString
-
Constructor Details
-
WsAttributeAssignLookup
public WsAttributeAssignLookup() -
WsAttributeAssignLookup
- Parameters:
uuid1
-batchIndex1
-
-
WsAttributeAssignLookup
- Parameters:
attributeAssign1
-uuid1
-
-
-
Method Details
-
blank
public boolean blank()see if blank- Returns:
- true if blank
-
hasData
public boolean hasData()see if this attributeAssign lookup has data- Returns:
- true if it has data
-
retrieveAttributeAssign
Note: this is not a javabean property because we dont want it in the web service
- Returns:
- the attributeAssign
-
retrieveAttributeAssignFindResult
Note: this is not a javabean property because we dont want it in the web service
- Returns:
- the attributeAssignFindResult, this is never null
-
toString
make sure this is an explicit toString -
retrieveAttributeAssignIfNeeded
retrieve the attributeAssign for this lookup if not looked up yet. pass in a grouper session- Parameters:
grouperSession
-
-
retrieveAttributeAssignIfNeeded
public AttributeAssign retrieveAttributeAssignIfNeeded(GrouperSession grouperSession, String invalidQueryReason, String[] backReferenceAttributeAssignIds) throws WsInvalidQueryException retrieve the attributeAssign for this lookup if not looked up yet. pass in a grouper session- Parameters:
grouperSession
-invalidQueryReason
- is the text to go in the WsInvalidQueryExceptionbackReferenceAttributeAssignIds
- are attribute assign ids if in batch and needs backreferences- Returns:
- the attributeAssign
- Throws:
WsInvalidQueryException
- if there is a problem, and if the invalidQueryReason is set
-
getUuid
uuid of the attributeAssign to find- Returns:
- the uuid
-
setUuid
uuid of the attributeAssign to find- Parameters:
uuid1
- the uuid to set
-
convertToAttributeAssignIds
public static Set<String> convertToAttributeAssignIds(GrouperSession grouperSession, WsAttributeAssignLookup[] wsAttributeAssignLookups, StringBuilder errorMessage) convert attributeAssign lookups to attributeAssign ids- Parameters:
grouperSession
-wsAttributeAssignLookups
-errorMessage
-lookupCount
- is an array of size one int where 1 will be added if there are records, and no change if not- Returns:
- the membership ids
-
convertToAttributeAssignIds
public static Set<String> convertToAttributeAssignIds(GrouperSession grouperSession, WsAttributeAssignLookup[] wsAttributeAssignLookups, StringBuilder errorMessage, int[] lookupCount) convert attributeAssign lookups to attributeAssign ids- Parameters:
grouperSession
-wsAttributeAssignLookups
-errorMessage
-lookupCount
- is an array of size one int where 1 will be added if there are records, and no change if notbackReferenceAttributeAssignIds
- are attribute assign ids if in batch and needs backreferences- Returns:
- the membership ids
-
convertToAttributeAssignIds
public static Set<String> convertToAttributeAssignIds(GrouperSession grouperSession, WsAttributeAssignLookup[] wsAttributeAssignLookups, StringBuilder errorMessage, int[] lookupCount, String[] backReferenceAttributeAssignIds) convert attributeAssign lookups to attributeAssign ids- Parameters:
grouperSession
-wsAttributeAssignLookups
-errorMessage
-lookupCount
- is an array of size one int where 1 will be added if there are records, and no change if notbackReferenceAttributeAssignIds
- are attribute assign ids if in batch and needs backreferences- Returns:
- the membership ids
-
toStringCompact
make sure this is an explicit toString- Specified by:
toStringCompact
in interfaceGrouperWsToStringCompact
- Returns:
- return a compact to string
-
getBatchIndex
if there is a batch request, and this attribute assignment refers to a previously sent assignment, this is the index (0 indexed)- Returns:
- the batch index
-
setBatchIndex
if there is a batch request, and this attribute assignment refers to a previously sent assignment, this is the index (0 indexed)- Parameters:
theIndex
- the index to set
-