org.kuali.rice.core.api.uif
Interface AttributeLookupSettings

All Known Implementing Classes:
RemotableAttributeLookupSettings, RemotableAttributeLookupSettings.Builder

public interface AttributeLookupSettings

Defines configuration for an attribute which may be used as part of a lookups. This includes indicating if the field is displayed in the lookup criteria or lookup result set, as well as defining information about this field if it used as part of a range-based lookup.

The range bounds allows the party executing the lookup against this attribute to enter a value for both ends (lower and upper bounds) in order to determine if the attribute is "between" those two values.

Note that an attribute range only makes sense if the DataType of the attribute is a date or numerical data type. The consumer of these settings is free to ignore the given attribute range information if it does not believe it is possible to successfully present a range-based lookup option based on the data type (or other settings) of the AttributeField.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 String getLowerLabel()
           
 String getUpperLabel()
           
 Boolean isCaseSensitive()
          Indicates if lookups which use this attribute should execute the lookup against this attribute in a case sensitive fashion.
 boolean isInCriteria()
          Returns true if this field should be included as part of the lookup criteria, false if not.
 boolean isInResults()
          Returns true if this field should be included in the result set of the lookup, false if not.
 boolean isLowerBoundInclusive()
          Returns true if the lower bound should be treated as inclusive when executing a ranged lookup against the attribute, false if it should be treated as exclusive.
 Boolean isLowerDatePicker()
           
 boolean isRanged()
          Returns true if lookups against this field should be handled as a lookup operation supporting a range-based search of data against the field.
 boolean isUpperBoundInclusive()
          Returns true if the upper bound should be treated as inclusive when executing a ranged lookup against the attribute, false if it should be treated as exclusive.
 Boolean isUpperDatePicker()
           
 

Method Detail

isInCriteria

boolean isInCriteria()
Returns true if this field should be included as part of the lookup criteria, false if not.

Returns:
true if this field should be included as part of the lookup criteria, false if not

isInResults

boolean isInResults()
Returns true if this field should be included in the result set of the lookup, false if not.

Returns:
true if this field should be included in the result set of the lookup, false if not

isRanged

boolean isRanged()
Returns true if lookups against this field should be handled as a lookup operation supporting a range-based search of data against the field.

Returns:
true if lookups against this attribute should allow for ranged lookup fields, false otherwise

isLowerBoundInclusive

boolean isLowerBoundInclusive()
Returns true if the lower bound should be treated as inclusive when executing a ranged lookup against the attribute, false if it should be treated as exclusive.

Returns:
true if the lower bound is inclusive, false if it is exclusive

isUpperBoundInclusive

boolean isUpperBoundInclusive()
Returns true if the upper bound should be treated as inclusive when executing a ranged lookup against the attribute, false if it should be treated as exclusive.

Returns:
true if the upper bound is inclusive, false if it is exclusive

isCaseSensitive

Boolean isCaseSensitive()
Indicates if lookups which use this attribute should execute the lookup against this attribute in a case sensitive fashion. If this method returns null, it means that the system-level default for case sensitivity of attributes on lookups should be used.

Returns:
true if the attribute should be case sensitive on lookups, false if it should not, and null if the system-level default should be used

getLowerLabel

String getLowerLabel()
Returns:
an explicit label for the lower bound field

getUpperLabel

String getUpperLabel()
Returns:
an explicit label for the upper bound field

isLowerDatePicker

Boolean isLowerDatePicker()
Returns:
whether to display a datepicker for the lower bound

isUpperDatePicker

Boolean isUpperDatePicker()
Returns:
whether to display a datepicker for the upper bound


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.