001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.dynamicdatamapping.storage.query;
016    
017    /**
018     * @author Marcellus Tavares
019     */
020    public interface ConditionFactory {
021    
022            public Junction conjunction();
023    
024            public Junction disjunction();
025    
026            public Condition eq(String name, Object value);
027    
028            public Condition gt(String name, Object value);
029    
030            public Condition gte(String name, Object value);
031    
032            public Condition in(String name, Object value);
033    
034            public Condition like(String name, Object value);
035    
036            public Condition lt(String name, Object value);
037    
038            public Condition lte(String name, Object value);
039    
040            public Condition ne(String name, Object value);
041    
042            public Condition notIn(String name, Object value);
043    
044    }