|
||||||||||
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.uif.UifDictionaryBeanBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.element.ContentElementBase org.kuali.rice.krad.uif.control.ControlBase org.kuali.rice.krad.uif.control.TextControl org.kuali.rice.krad.uif.control.UserControl
public class UserControl
Represents a user control, which is a special control to handle the input of a Person
Field Summary |
---|
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
UserControl()
|
Method Summary | ||
---|---|---|
protected void |
buildUserQuickfinder(View view,
InputField field)
Configures the field's quickfinder for a user lookup |
|
protected
|
copyProperties(T component)
Copies the properties over for the copy method |
|
Map<String,String> |
filterSearchCriteria(String propertyName,
Map<String,String> searchCriteria)
Removes any searchCriteria that are not part of the database lookup |
|
String |
getPersonNamePropertyName()
The name of the property on the parent object that holds the person name |
|
String |
getPersonObjectPropertyName()
The name of the property on the parent object that holds the person object |
|
String |
getPrincipalIdPropertyName()
The name of the property on the parent object that holds the principal id |
|
void |
performApplyModel(View view,
Object model,
Component parent)
Sets the disabledExpression, if any, evaluates it and sets the disabled property |
|
void |
setPersonNamePropertyName(String personNamePropertyName)
Setter for the name of the property on the parent object that holds the person name |
|
void |
setPersonObjectPropertyName(String personObjectPropertyName)
Setter for the name of the property on the parent object that holds the person object |
|
void |
setPrincipalIdPropertyName(String principalIdPropertyName)
Setter for the name of the property on the parent object that holds the principal id |
Methods inherited from class org.kuali.rice.krad.uif.control.TextControl |
---|
getComponentsForLifecycle, getDatePicker, getMaxLength, getMinLength, getSize, getWatermarkText, isTextExpand, performFinalize, setDatePicker, setMaxLength, setMinLength, setSize, setTextExpand, setWatermarkText |
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Constructor Detail |
---|
public UserControl()
Method Detail |
---|
public void performApplyModel(View view, Object model, Component parent)
ControlBase
performApplyModel
in interface Component
performApplyModel
in class ControlBase
view
- view instance to which the component belongsmodel
- top level object containing the data (could be the form or a
top level business object, dto)ComponentBase.performApplyModel(org.kuali.rice.krad.uif.view.View,
java.lang.Object, org.kuali.rice.krad.uif.component.Component)
public Map<String,String> filterSearchCriteria(String propertyName, Map<String,String> searchCriteria)
FilterableLookupCriteriaControl
filterSearchCriteria
in interface FilterableLookupCriteriaControl
propertyName
- the propertyName of the current componentsearchCriteria
- the search criteria to be filtered
FilterableLookupCriteriaControl.filterSearchCriteria(String, java.util.Map)
protected void buildUserQuickfinder(View view, InputField field)
view
- view instance that contains the fieldfield
- field instance the quickfinder should be associated withpublic String getPrincipalIdPropertyName()
public void setPrincipalIdPropertyName(String principalIdPropertyName)
principalIdPropertyName
- public String getPersonNamePropertyName()
public void setPersonNamePropertyName(String personNamePropertyName)
personNamePropertyName
- public String getPersonObjectPropertyName()
public void setPersonObjectPropertyName(String personObjectPropertyName)
personObjectPropertyName
- protected <T> void copyProperties(T component)
ComponentBase
copyProperties
in class TextControl
component
- base beanComponentBase.copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |