Liferay 7.0-ce-m3

com.liferay.portlet.mobiledevicerules.service.persistence.impl
Class MDRRuleGroupFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<MDRRuleGroup>
      extended by com.liferay.portlet.mobiledevicerules.service.persistence.impl.MDRRuleGroupFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<MDRRuleGroup>, MDRRuleGroupFinder

public class MDRRuleGroupFinderImpl
extends BasePersistenceImpl<MDRRuleGroup>
implements MDRRuleGroupFinder


Field Summary
static String COUNT_BY_G_N
           
static String FIND_BY_G_N
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
MDRRuleGroupFinderImpl()
           
 
Method Summary
 int countByG_N(long groupId, String[] names, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int countByG_N(long groupId, String name, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int countByKeywords(long groupId, String keywords, LinkedHashMap<String,Object> params)
           
 List<MDRRuleGroup> findByG_N(long groupId, String[] names, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end)
           
 List<MDRRuleGroup> findByG_N(long groupId, String name, LinkedHashMap<String,Object> params, boolean andOperator)
           
 List<MDRRuleGroup> findByG_N(long groupId, String name, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end)
           
 List<MDRRuleGroup> findByKeywords(long groupId, String keywords, LinkedHashMap<String,Object> params, int start, int end)
           
protected  String getGroupIds(Map<String,Object> params)
           
protected  void setGroupIds(QueryPos qPos, long groupId, Map<String,Object> params)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_G_N

public static final String COUNT_BY_G_N

FIND_BY_G_N

public static final String FIND_BY_G_N
Constructor Detail

MDRRuleGroupFinderImpl

public MDRRuleGroupFinderImpl()
Method Detail

countByKeywords

public int countByKeywords(long groupId,
                           String keywords,
                           LinkedHashMap<String,Object> params)
Specified by:
countByKeywords in interface MDRRuleGroupFinder

countByG_N

public int countByG_N(long groupId,
                      String name,
                      LinkedHashMap<String,Object> params,
                      boolean andOperator)
Specified by:
countByG_N in interface MDRRuleGroupFinder

countByG_N

public int countByG_N(long groupId,
                      String[] names,
                      LinkedHashMap<String,Object> params,
                      boolean andOperator)
Specified by:
countByG_N in interface MDRRuleGroupFinder

findByKeywords

public List<MDRRuleGroup> findByKeywords(long groupId,
                                         String keywords,
                                         LinkedHashMap<String,Object> params,
                                         int start,
                                         int end)
Specified by:
findByKeywords in interface MDRRuleGroupFinder

findByG_N

public List<MDRRuleGroup> findByG_N(long groupId,
                                    String name,
                                    LinkedHashMap<String,Object> params,
                                    boolean andOperator)
Specified by:
findByG_N in interface MDRRuleGroupFinder

findByG_N

public List<MDRRuleGroup> findByG_N(long groupId,
                                    String name,
                                    LinkedHashMap<String,Object> params,
                                    boolean andOperator,
                                    int start,
                                    int end)
Specified by:
findByG_N in interface MDRRuleGroupFinder

findByG_N

public List<MDRRuleGroup> findByG_N(long groupId,
                                    String[] names,
                                    LinkedHashMap<String,Object> params,
                                    boolean andOperator,
                                    int start,
                                    int end)
Specified by:
findByG_N in interface MDRRuleGroupFinder

getGroupIds

protected String getGroupIds(Map<String,Object> params)

setGroupIds

protected void setGroupIds(QueryPos qPos,
                           long groupId,
                           Map<String,Object> params)
                    throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m3