Class DoubleDuplicateAttributeConfiguration
java.lang.Object
org.ametys.cms.duplicate.contents.attr.AbstractDuplicateAttributeConfiguration<Double>
org.ametys.cms.duplicate.contents.attr.impl.DoubleDuplicateAttributeConfiguration
- All Implemented Interfaces:
 DuplicateAttributeConfiguration<Double>
public class DoubleDuplicateAttributeConfiguration
extends AbstractDuplicateAttributeConfiguration<Double>
Represents a 
DuplicateAttributeConfiguration for a Double- 
Field Summary
Fields inherited from class org.ametys.cms.duplicate.contents.attr.AbstractDuplicateAttributeConfiguration
_checkNearDuplicate, _path, _type, ROLE - 
Constructor Summary
ConstructorsConstructorDescriptionDoubleDuplicateAttributeConfiguration(Configuration configuration, String attributeType) Create a new DoubleDuplicateAttributeConfiguration - 
Method Summary
Modifier and TypeMethodDescriptionprotected QuerygetDuplicateQuery(Double value) Get the query to check if other contents have the same valueprotected QueryGet the query to check if a field is filledMethods inherited from class org.ametys.cms.duplicate.contents.attr.AbstractDuplicateAttributeConfiguration
_computeCheckNearDuplicate, checkNearDuplicate, getDuplicate, getNearDuplicateQuery, getPath, getQuery, getType, isEmpty, setPath, setType 
- 
Constructor Details
- 
DoubleDuplicateAttributeConfiguration
public DoubleDuplicateAttributeConfiguration(Configuration configuration, String attributeType) throws ConfigurationException Create a new DoubleDuplicateAttributeConfiguration- Parameters:
 configuration- the configuration used to create the DuplicateAttributeConfigurationattributeType- the attribute type id- Throws:
 ConfigurationException- if the configuration is not valid.
 
 - 
 - 
Method Details
- 
getExistQuery
Description copied from class:AbstractDuplicateAttributeConfigurationGet the query to check if a field is filled- Specified by:
 getExistQueryin classAbstractDuplicateAttributeConfiguration<Double>- Returns:
 - the query
 
 - 
getDuplicateQuery
Description copied from class:AbstractDuplicateAttributeConfigurationGet the query to check if other contents have the same value- Specified by:
 getDuplicateQueryin classAbstractDuplicateAttributeConfiguration<Double>- Parameters:
 value- the value to check- Returns:
 - the query
 
 
 -