|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase org.kuali.rice.kns_2_4_M2.datadictionary.LookupDefinition
@Deprecated public class LookupDefinition
Contains lookup-related information relating to the parent BusinessObject.
The lookup element is used to specify the rules for "looking up" a business object. These specifications define the following: How to specify the search criteria used to locate a set of business objects How to display the search results DD: See LookupDefinition.java JSTL: The lookup element is a Map which is accessed using a key of "lookup". This map contains the following keys: lookupableID (String, optional) title (String) menubar (String, optional) defaultSort (Map, optional) lookupFields (Map) resultFields (Map) resultSetLimit (String, optional) See LookupMapBuilder.java Note: the setters do copious amounts of validation, to facilitate generating errors during the parsing process.
Field Summary | |
---|---|
protected SortDefinition |
defaultSort
Deprecated. |
protected boolean |
disableSearchButtons
Deprecated. |
protected String |
extraButtonParams
Deprecated. |
protected String |
extraButtonSource
Deprecated. |
protected HelpDefinition |
helpDefinition
Deprecated. |
protected String |
helpUrl
Deprecated. |
protected String |
lookupableID
Deprecated. |
protected Map<String,FieldDefinition> |
lookupFieldMap
Deprecated. |
protected List<FieldDefinition> |
lookupFields
Deprecated. |
protected String |
menubar
Deprecated. |
protected Integer |
multipleValuesResultSetLimit
Deprecated. |
protected int |
numOfColumns
Deprecated. |
protected Map<String,FieldDefinition> |
resultFieldMap
Deprecated. |
protected List<FieldDefinition> |
resultFields
Deprecated. |
protected Integer |
resultSetLimit
Deprecated. |
protected String |
searchIconOverride
Deprecated. |
protected String |
title
Deprecated. |
protected boolean |
translateCodes
Deprecated. |
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
---|
embeddedDataObjectMetadata, generatedFromMetadata, id |
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
componentCode, namespaceCode |
Constructor Summary | |
---|---|
LookupDefinition()
Deprecated. |
Method Summary | |
---|---|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
Deprecated. Directly validate simple fields, call completeValidation on Definition fields. |
SortDefinition |
getDefaultSort()
Deprecated. |
String |
getExtraButtonParams()
Deprecated. |
String |
getExtraButtonSource()
Deprecated. |
HelpDefinition |
getHelpDefinition()
Deprecated. |
String |
getHelpUrl()
Deprecated. |
String |
getLookupableID()
Deprecated. |
FieldDefinition |
getLookupField(String attributeName)
Deprecated. |
List |
getLookupFieldNames()
Deprecated. |
List<FieldDefinition> |
getLookupFields()
Deprecated. |
String |
getMenubar()
Deprecated. |
Integer |
getMultipleValuesResultSetLimit()
Deprecated. The multipleValuesResultSetLimit element specifies the maximum number of records that will be listed as a result of a multiple values lookup search. |
int |
getNumOfColumns()
Deprecated. |
FieldDefinition |
getResultField(String attributeName)
Deprecated. |
List<String> |
getResultFieldNames()
Deprecated. |
List<FieldDefinition> |
getResultFields()
Deprecated. |
Integer |
getResultSetLimit()
Deprecated. The resultSetLimit element specifies the maximum number of records that will be listed as a result of the lookup search. |
String |
getSearchIconOverride()
Deprecated. |
String |
getTitle()
Deprecated. |
boolean |
hasDefaultSort()
Deprecated. |
boolean |
hasExtraButtonParams()
Deprecated. |
boolean |
hasExtraButtonSource()
Deprecated. |
boolean |
hasMenubar()
Deprecated. |
boolean |
hasMultipleValuesResultSetLimit()
Deprecated. |
boolean |
hasResultSetLimit()
Deprecated. |
boolean |
hasSearchIconOverride()
Deprecated. |
boolean |
isDisableSearchButtons()
Deprecated. |
boolean |
isTranslateCodes()
Deprecated. |
void |
setDefaultSort(SortDefinition defaultSort)
Deprecated. The defaultSort element specifies the sequence in which the lookup search results should be displayed. |
void |
setDisableSearchButtons(boolean disableSearchButtons)
Deprecated. |
void |
setExtraButtonParams(String extraButtonParams)
Deprecated. The extraButton element is used to define additional buttons which will appear on the lookup screen next to the Search and Clear buttons. |
void |
setExtraButtonSource(String extraButtonSource)
Deprecated. The extraButton element is used to define additional buttons which will appear on the lookup screen next to the Search and Clear buttons. |
void |
setHelpDefinition(HelpDefinition helpDefinition)
Deprecated. |
void |
setHelpUrl(String helpUrl)
Deprecated. |
void |
setLookupableID(String lookupableID)
Deprecated. The lookupableID element identifies the name of the Spring bean which will be used to obtain the lookupable helper service for the business object. |
void |
setLookupFields(List<FieldDefinition> lookupFields)
Deprecated. The lookupFields element defines the set of fields in which the user can enter values representing search selection criteria. |
void |
setMenubar(String menubar)
Deprecated. The menubar element is used to add additional html code to the header line on the lookup screen. |
void |
setMultipleValuesResultSetLimit(Integer multipleValuesResultSetLimit)
Deprecated. The multipleValuesResultSetLimit element specifies the maximum number of records that will be listed as a result of a multiple values lookup search. |
void |
setNumOfColumns(int numOfColumns)
Deprecated. |
void |
setResultFields(List<FieldDefinition> resultFields)
Deprecated. The resultFields element specifies the list of fields that are shown as a result of the lookup search. |
void |
setResultSetLimit(Integer resultSetLimit)
Deprecated. The resultSetLimit element specifies the maximum number of records that will be listed as a result of the lookup search. |
void |
setSearchIconOverride(String searchIconOverride)
Deprecated. The searchIconOverride element is used to define alternative icons appear on the lookup screen next to the Search and Clear buttons. |
void |
setTitle(String title)
Deprecated. Sets title to the given value. |
void |
setTranslateCodes(boolean translateCodes)
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
---|
completeValidation, getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadata |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
clone, copy, copyProperties, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, preventModification, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode |
Field Detail |
---|
protected String lookupableID
protected String title
protected String menubar
protected SortDefinition defaultSort
protected List<FieldDefinition> lookupFields
protected Map<String,FieldDefinition> lookupFieldMap
protected List<FieldDefinition> resultFields
protected Map<String,FieldDefinition> resultFieldMap
protected Integer resultSetLimit
protected Integer multipleValuesResultSetLimit
protected String extraButtonSource
protected String extraButtonParams
protected String searchIconOverride
protected int numOfColumns
protected HelpDefinition helpDefinition
protected String helpUrl
protected boolean translateCodes
protected boolean disableSearchButtons
Constructor Detail |
---|
public LookupDefinition()
Method Detail |
---|
public void setLookupableID(String lookupableID)
public String getLookupableID()
public String getTitle()
public void setTitle(String title)
title
-
IllegalArgumentException
- if the given title is blankpublic boolean hasMenubar()
public String getMenubar()
public void setMenubar(String menubar)
IllegalArgumentException
- if the given menubar is blankpublic boolean hasDefaultSort()
public SortDefinition getDefaultSort()
public void setDefaultSort(SortDefinition defaultSort)
IllegalArgumentException
- if the given defaultSort is blankpublic List getLookupFieldNames()
public List<FieldDefinition> getLookupFields()
public FieldDefinition getLookupField(String attributeName)
fieldName
-
public List<String> getResultFieldNames()
public List<FieldDefinition> getResultFields()
public FieldDefinition getResultField(String attributeName)
fieldName
-
public void setResultSetLimit(Integer resultSetLimit)
public boolean hasResultSetLimit()
public Integer getResultSetLimit()
public void setMultipleValuesResultSetLimit(Integer multipleValuesResultSetLimit)
public boolean hasMultipleValuesResultSetLimit()
public Integer getMultipleValuesResultSetLimit()
public void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
completeValidation
in interface DataDictionaryDefinition
completeValidation
in class DataDictionaryDefinitionBase
org.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Object)
public boolean hasExtraButtonSource()
public String getExtraButtonSource()
public void setExtraButtonSource(String extraButtonSource)
IllegalArgumentException
- if the given source is blankpublic boolean hasExtraButtonParams()
public String getExtraButtonParams()
public void setExtraButtonParams(String extraButtonParams)
public boolean hasSearchIconOverride()
public String getSearchIconOverride()
public void setSearchIconOverride(String searchIconOverride)
IllegalArgumentException
- if the given source is blankpublic String toString()
toString
in class Object
public void setLookupFields(List<FieldDefinition> lookupFields)
public void setResultFields(List<FieldDefinition> resultFields)
public int getNumOfColumns()
public void setNumOfColumns(int numOfColumns)
numOfColumns
- the numOfColumns to setpublic HelpDefinition getHelpDefinition()
public void setHelpDefinition(HelpDefinition helpDefinition)
helpDefinition
- the helpDefinition to setpublic String getHelpUrl()
public void setHelpUrl(String helpUrl)
helpUrl
- the helpUrl to setpublic boolean isTranslateCodes()
public void setTranslateCodes(boolean translateCodes)
public boolean isDisableSearchButtons()
public void setDisableSearchButtons(boolean disableSearchButtons)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |