Liferay 6.1.2-ce-ga3

com.liferay.portlet.journal.service.persistence
Class JournalTemplateFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<JournalTemplate>
      extended by com.liferay.portlet.journal.service.persistence.JournalTemplateFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<JournalTemplate>, JournalTemplateFinder

public class JournalTemplateFinderImpl
extends BasePersistenceImpl<JournalTemplate>
implements JournalTemplateFinder


Field Summary
static String COUNT_BY_C_G_T_S_N_D
           
static String FIND_BY_C_G_T_S_N_D
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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
JournalTemplateFinderImpl()
           
 
Method Summary
 int countByC_G_T_S_N_D(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator)
           
 int countByKeywords(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator)
           
protected  int doCountByC_G_T_S_N_D(long companyId, long[] groupIds, String[] templateIds, String structureId, String structureIdComparator, String[] names, String[] descriptions, boolean andOperator, boolean inlineSQLHelper)
           
protected  List<JournalTemplate> doFindByC_G_T_S_N_D(long companyId, long[] groupIds, String[] templateIds, String structureId, String structureIdComparator, String[] names, String[] descriptions, boolean andOperator, int start, int end, OrderByComparator obc, boolean inlineSQLHelper)
           
 int filterCountByC_G_T_S_N_D(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator)
           
 int filterCountByKeywords(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator)
           
 List<JournalTemplate> filterFindByC_G_T_S_N_D(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<JournalTemplate> filterFindByKeywords(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator, int start, int end, OrderByComparator obc)
           
 List<JournalTemplate> findByC_G_T_S_N_D(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<JournalTemplate> findByKeywords(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator, int start, int end, OrderByComparator obc)
           
protected  String getGroupIds(long[] groupIds)
           
protected  String replaceStructureIdComparator(String sql)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_C_G_T_S_N_D

public static final String COUNT_BY_C_G_T_S_N_D

FIND_BY_C_G_T_S_N_D

public static final String FIND_BY_C_G_T_S_N_D
Constructor Detail

JournalTemplateFinderImpl

public JournalTemplateFinderImpl()
Method Detail

countByKeywords

public int countByKeywords(long companyId,
                           long[] groupIds,
                           String keywords,
                           String structureId,
                           String structureIdComparator)
                    throws SystemException
Specified by:
countByKeywords in interface JournalTemplateFinder
Throws:
SystemException

countByC_G_T_S_N_D

public int countByC_G_T_S_N_D(long companyId,
                              long[] groupIds,
                              String templateId,
                              String structureId,
                              String structureIdComparator,
                              String name,
                              String description,
                              boolean andOperator)
                       throws SystemException
Specified by:
countByC_G_T_S_N_D in interface JournalTemplateFinder
Throws:
SystemException

filterCountByKeywords

public int filterCountByKeywords(long companyId,
                                 long[] groupIds,
                                 String keywords,
                                 String structureId,
                                 String structureIdComparator)
                          throws SystemException
Specified by:
filterCountByKeywords in interface JournalTemplateFinder
Throws:
SystemException

filterCountByC_G_T_S_N_D

public int filterCountByC_G_T_S_N_D(long companyId,
                                    long[] groupIds,
                                    String templateId,
                                    String structureId,
                                    String structureIdComparator,
                                    String name,
                                    String description,
                                    boolean andOperator)
                             throws SystemException
Specified by:
filterCountByC_G_T_S_N_D in interface JournalTemplateFinder
Throws:
SystemException

filterFindByKeywords

public List<JournalTemplate> filterFindByKeywords(long companyId,
                                                  long[] groupIds,
                                                  String keywords,
                                                  String structureId,
                                                  String structureIdComparator,
                                                  int start,
                                                  int end,
                                                  OrderByComparator obc)
                                           throws SystemException
Specified by:
filterFindByKeywords in interface JournalTemplateFinder
Throws:
SystemException

filterFindByC_G_T_S_N_D

public List<JournalTemplate> filterFindByC_G_T_S_N_D(long companyId,
                                                     long[] groupIds,
                                                     String templateId,
                                                     String structureId,
                                                     String structureIdComparator,
                                                     String name,
                                                     String description,
                                                     boolean andOperator,
                                                     int start,
                                                     int end,
                                                     OrderByComparator obc)
                                              throws SystemException
Specified by:
filterFindByC_G_T_S_N_D in interface JournalTemplateFinder
Throws:
SystemException

findByKeywords

public List<JournalTemplate> findByKeywords(long companyId,
                                            long[] groupIds,
                                            String keywords,
                                            String structureId,
                                            String structureIdComparator,
                                            int start,
                                            int end,
                                            OrderByComparator obc)
                                     throws SystemException
Specified by:
findByKeywords in interface JournalTemplateFinder
Throws:
SystemException

findByC_G_T_S_N_D

public List<JournalTemplate> findByC_G_T_S_N_D(long companyId,
                                               long[] groupIds,
                                               String templateId,
                                               String structureId,
                                               String structureIdComparator,
                                               String name,
                                               String description,
                                               boolean andOperator,
                                               int start,
                                               int end,
                                               OrderByComparator obc)
                                        throws SystemException
Specified by:
findByC_G_T_S_N_D in interface JournalTemplateFinder
Throws:
SystemException

doCountByC_G_T_S_N_D

protected int doCountByC_G_T_S_N_D(long companyId,
                                   long[] groupIds,
                                   String[] templateIds,
                                   String structureId,
                                   String structureIdComparator,
                                   String[] names,
                                   String[] descriptions,
                                   boolean andOperator,
                                   boolean inlineSQLHelper)
                            throws SystemException
Throws:
SystemException

doFindByC_G_T_S_N_D

protected List<JournalTemplate> doFindByC_G_T_S_N_D(long companyId,
                                                    long[] groupIds,
                                                    String[] templateIds,
                                                    String structureId,
                                                    String structureIdComparator,
                                                    String[] names,
                                                    String[] descriptions,
                                                    boolean andOperator,
                                                    int start,
                                                    int end,
                                                    OrderByComparator obc,
                                                    boolean inlineSQLHelper)
                                             throws SystemException
Throws:
SystemException

getGroupIds

protected String getGroupIds(long[] groupIds)

replaceStructureIdComparator

protected String replaceStructureIdComparator(String sql)

Liferay 6.1.2-ce-ga3