Class AssetEntryFinderImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
com.liferay.portlet.asset.service.persistence.impl.AssetEntryFinderBaseImpl
com.liferay.portlet.asset.service.persistence.impl.AssetEntryFinderImpl
All Implemented Interfaces:
com.liferay.asset.kernel.service.persistence.AssetEntryFinder, com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>

public class AssetEntryFinderImpl extends AssetEntryFinderBaseImpl implements com.liferay.asset.kernel.service.persistence.AssetEntryFinder
Author:
Brian Wing Shun Chan, Jorge Ferrer, Shuyang Zhou
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portlet.asset.service.persistence.impl.AssetEntryFinderBaseImpl

    assetEntryPersistence

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    buildAllCategoriesSQL(long[] categoryIds, com.liferay.petra.string.StringBundler sb)
     
    protected void
    buildAllTagsSQL(long[][] tagIds, com.liferay.petra.string.StringBundler sb)
     
    protected void
    buildAnyCategoriesSQL(long[] categoryIds, com.liferay.petra.string.StringBundler sb)
     
    protected String
    buildAnyTagsSQL(long[] tagIds, com.liferay.petra.string.StringBundler sb)
     
    protected com.liferay.portal.kernel.dao.orm.SQLQuery
    buildAssetQuerySQL(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery, boolean count, com.liferay.portal.kernel.dao.orm.Session session)
     
    protected void
    buildClassTypeIdsSQL(long[] classTypeIds, com.liferay.petra.string.StringBundler sb)
     
    protected void
    buildNotAllCategoriesSQL(long[] categoryIds, com.liferay.petra.string.StringBundler sb)
     
    protected void
    buildNotAllTagsSQL(long[][] tagIds, com.liferay.petra.string.StringBundler sb)
     
    protected void
    buildNotAnyCategoriesSQL(long[] notCategoryIds, com.liferay.petra.string.StringBundler sb)
     
    protected String
    buildNotAnyTagsSQL(long[] notTagIds, com.liferay.petra.string.StringBundler sb)
     
    int
    countEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
     
    List<com.liferay.asset.kernel.model.AssetEntry>
    findEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
     
    protected String
    getClassNameIds(long[] classNameIds)
     
    protected String
    getDates(Date publishDate, Date expirationDate)
     
    protected String
    getGroupIds(long[] groupIds)
     
    protected List<Long>
    getSubcategoryIds(long parentCategoryId)
     
    protected String
    getTagIds(long[] tagIds)
     
    protected void
    setDates(com.liferay.portal.kernel.dao.orm.QueryPos queryPos, Date publishDate, Date expirationDate)
     

    Methods inherited from class com.liferay.portlet.asset.service.persistence.impl.AssetEntryFinderBaseImpl

    getAssetEntryPersistence, setAssetEntryPersistence

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, cacheResult, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getEntityCache, getFinderCache, getListeners, getModelClass, getPKDBName, getSelectSQL, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeByFunction, removeConjunction, removeImpl, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update, updateImpl

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, dslQueryCount
  • Field Details

    • FIND_BY_AND_CATEGORY_IDS

      public static final String FIND_BY_AND_CATEGORY_IDS
    • FIND_BY_AND_TAG_IDS

      public static final String FIND_BY_AND_TAG_IDS
  • Constructor Details

    • AssetEntryFinderImpl

      public AssetEntryFinderImpl()
  • Method Details

    • countEntries

      public int countEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
      Specified by:
      countEntries in interface com.liferay.asset.kernel.service.persistence.AssetEntryFinder
    • findEntries

      public List<com.liferay.asset.kernel.model.AssetEntry> findEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
      Specified by:
      findEntries in interface com.liferay.asset.kernel.service.persistence.AssetEntryFinder
    • buildAllCategoriesSQL

      protected void buildAllCategoriesSQL(long[] categoryIds, com.liferay.petra.string.StringBundler sb)
    • buildAllTagsSQL

      protected void buildAllTagsSQL(long[][] tagIds, com.liferay.petra.string.StringBundler sb)
    • buildAnyCategoriesSQL

      protected void buildAnyCategoriesSQL(long[] categoryIds, com.liferay.petra.string.StringBundler sb)
    • buildAnyTagsSQL

      protected String buildAnyTagsSQL(long[] tagIds, com.liferay.petra.string.StringBundler sb)
    • buildAssetQuerySQL

      protected com.liferay.portal.kernel.dao.orm.SQLQuery buildAssetQuerySQL(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery, boolean count, com.liferay.portal.kernel.dao.orm.Session session)
    • buildClassTypeIdsSQL

      protected void buildClassTypeIdsSQL(long[] classTypeIds, com.liferay.petra.string.StringBundler sb)
    • buildNotAllCategoriesSQL

      protected void buildNotAllCategoriesSQL(long[] categoryIds, com.liferay.petra.string.StringBundler sb)
    • buildNotAllTagsSQL

      protected void buildNotAllTagsSQL(long[][] tagIds, com.liferay.petra.string.StringBundler sb)
    • buildNotAnyCategoriesSQL

      protected void buildNotAnyCategoriesSQL(long[] notCategoryIds, com.liferay.petra.string.StringBundler sb)
    • buildNotAnyTagsSQL

      protected String buildNotAnyTagsSQL(long[] notTagIds, com.liferay.petra.string.StringBundler sb)
    • getClassNameIds

      protected String getClassNameIds(long[] classNameIds)
    • getDates

      protected String getDates(Date publishDate, Date expirationDate)
    • getGroupIds

      protected String getGroupIds(long[] groupIds)
    • getSubcategoryIds

      protected List<Long> getSubcategoryIds(long parentCategoryId)
    • getTagIds

      protected String getTagIds(long[] tagIds)
    • setDates

      protected void setDates(com.liferay.portal.kernel.dao.orm.QueryPos queryPos, Date publishDate, Date expirationDate)