public class OwSearchCriteriaFieldDefOverride extends OwSearchCriteria
Overridden OwSearchCriteria to set specific max, min, default and native values for custom controls.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
ATTRIBUTE_ALLOWWILDCARD, ATTRIBUTE_HIDDEN, ATTRIBUTE_IGNORE_DATE, ATTRIBUTE_IGNORE_TIME, ATTRIBUTE_NONE, ATTRIBUTE_READONLY, ATTRIBUTE_REQUIRED, m_FieldDefinition, m_iAttributes, m_iOp, m_oDefaultValue, m_oValue, m_secondrangecriteria, m_strInstruction, m_strUniqueName, m_wildcarddefinitions
Constructor and Description |
---|
OwSearchCriteriaFieldDefOverride() |
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue()
get the default search value
|
String |
getJavaClassName()
get the java class name of java object associated with this property
|
Object |
getMaxValue()
get the max allowed value, or Integer len for String or null if not defined
|
Object |
getMinValue()
get the min allowed value, or Integer len for String or null if not defined
|
void |
setDefaultValue(Object value_p)
set default value, override default template behavior and do not call inherited FieldDefinition
|
void |
setJavaClassName(String value_p)
set java class name value, override default template behavior and do not call inherited FieldDefinition
|
void |
setMaxValue(Object value_p)
set max value, override default template behavior and do not call inherited FieldDefinition
|
void |
setMinValue(Object value_p)
set min value, override default template behavior and do not call inherited FieldDefinition
|
canValidate, canWildCard, getAttributes, getClassName, getComplexChildClasses, getDescription, getDisplayName, getEnums, getFieldDefinition, getFormat, getInstruction, getNativeType, getNodeFromValue, getOperator, getOperatorDisplayName, getOperators, getOriginalJavaClassName, getSecondRangeCriteria, getTextFormat, getUniqueName, getValue, getValueFromNode, getValueFromString, getWildCardDefinitions, ignoreDate, ignoreTime, isAllowWildcard, isArray, isComplex, isCriteriaOperatorRange, isDateType, isEnum, isHidden, isIgnoreDate, isIgnoreTime, isReadonly, isRequired, isType, setInitialAndDefaultValue, setOperator, setValue, setWildCardDefinitions, toString, validate
public void setMaxValue(Object value_p)
public void setMinValue(Object value_p)
public void setDefaultValue(Object value_p)
public void setJavaClassName(String value_p)
public Object getMaxValue() throws Exception
OwFieldDefinition
getMaxValue
in interface OwFieldDefinition
getMaxValue
in class OwSearchCriteria
Exception
public Object getMinValue() throws Exception
OwFieldDefinition
getMinValue
in interface OwFieldDefinition
getMinValue
in class OwSearchCriteria
Exception
public Object getDefaultValue() throws Exception
OwSearchCriteria
getDefaultValue
in interface OwFieldDefinition
getDefaultValue
in class OwSearchCriteria
Exception
public String getJavaClassName()
OwFieldDefinition
getJavaClassName
in interface OwFieldDefinition
getJavaClassName
in class OwSearchCriteria
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.