edu.internet2.middleware.grouper.ws.coresoap
Class WsAttributeAssignLookup

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.coresoap.WsAttributeAssignLookup

public class WsAttributeAssignLookup
extends java.lang.Object

 Class to lookup an attribute assignment via web service
 
 developers make sure each setter calls this.clearAttributeAssignment();
 

Author:
mchyzer

Nested Class Summary
static class WsAttributeAssignLookup.AttributeAssignResult
          result of attribute def name find
 
Constructor Summary
WsAttributeAssignLookup()
           
WsAttributeAssignLookup(java.lang.String uuid1)
           
 
Method Summary
 boolean blank()
          see if blank
static java.util.Set<java.lang.String> convertToAttributeAssignIds(GrouperSession grouperSession, WsAttributeAssignLookup[] wsAttributeAssignLookups, java.lang.StringBuilder errorMessage)
          convert attributeAssign lookups to attributeAssign ids
static java.util.Set<java.lang.String> convertToAttributeAssignIds(GrouperSession grouperSession, WsAttributeAssignLookup[] wsAttributeAssignLookups, java.lang.StringBuilder errorMessage, int[] lookupCount)
          convert attributeAssign lookups to attributeAssign ids
 java.lang.String getUuid()
          uuid of the attributeAssign to find
 boolean hasData()
          see if this attributeAssign lookup has data
 AttributeAssign retrieveAttributeAssign()
           Note: this is not a javabean property because we dont want it in the web service
 WsAttributeAssignLookup.AttributeAssignResult retrieveAttributeAssignFindResult()
           Note: this is not a javabean property because we dont want it in the web service
 void retrieveAttributeAssignIfNeeded(GrouperSession grouperSession)
          retrieve the attributeAssign for this lookup if not looked up yet.
 AttributeAssign retrieveAttributeAssignIfNeeded(GrouperSession grouperSession, java.lang.String invalidQueryReason)
          retrieve the attributeAssign for this lookup if not looked up yet.
 void setUuid(java.lang.String uuid1)
          uuid of the attributeAssign to find
 java.lang.String toString()
          make sure this is an explicit toString
 java.lang.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

WsAttributeAssignLookup

public WsAttributeAssignLookup()

WsAttributeAssignLookup

public WsAttributeAssignLookup(java.lang.String uuid1)
Parameters:
attributeAssign1 -
uuid1 -
Method Detail

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

public AttributeAssign retrieveAttributeAssign()
 
 Note: this is not a javabean property because we dont want it in the web service
 

Returns:
the attributeAssign

retrieveAttributeAssignFindResult

public WsAttributeAssignLookup.AttributeAssignResult 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

public java.lang.String toString()
make sure this is an explicit toString

Overrides:
toString in class java.lang.Object

retrieveAttributeAssignIfNeeded

public void retrieveAttributeAssignIfNeeded(GrouperSession grouperSession)
retrieve the attributeAssign for this lookup if not looked up yet. pass in a grouper session

Parameters:
grouperSession -

retrieveAttributeAssignIfNeeded

public AttributeAssign retrieveAttributeAssignIfNeeded(GrouperSession grouperSession,
                                                       java.lang.String invalidQueryReason)
                                                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 WsInvalidQueryException
Returns:
the attributeAssign
Throws:
WsInvalidQueryException - if there is a problem, and if the invalidQueryReason is set

getUuid

public java.lang.String getUuid()
uuid of the attributeAssign to find

Returns:
the uuid

setUuid

public void setUuid(java.lang.String uuid1)
uuid of the attributeAssign to find

Parameters:
uuid1 - the uuid to set

convertToAttributeAssignIds

public static java.util.Set<java.lang.String> convertToAttributeAssignIds(GrouperSession grouperSession,
                                                                          WsAttributeAssignLookup[] wsAttributeAssignLookups,
                                                                          java.lang.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 java.util.Set<java.lang.String> convertToAttributeAssignIds(GrouperSession grouperSession,
                                                                          WsAttributeAssignLookup[] wsAttributeAssignLookups,
                                                                          java.lang.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 not
Returns:
the membership ids

toStringCompact

public java.lang.String toStringCompact()
make sure this is an explicit toString

Returns:
return a compact to string