Liferay 7.0-ce-b4

com.liferay.portlet.asset.service.persistence.impl
Class AssetEntryFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AssetEntry>
      extended by com.liferay.portlet.asset.service.persistence.impl.AssetEntryFinderBaseImpl
          extended by com.liferay.portlet.asset.service.persistence.impl.AssetEntryFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<AssetEntry>, AssetEntryFinder

public class AssetEntryFinderImpl
extends AssetEntryFinderBaseImpl
implements AssetEntryFinder


Field Summary
static String FIND_BY_AND_CATEGORY_IDS
           
static String FIND_BY_AND_TAG_IDS
           
static String FIND_BY_CLASS_NAME_ID
           
 
Fields inherited from class com.liferay.portlet.asset.service.persistence.impl.AssetEntryFinderBaseImpl
assetEntryPersistence
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, 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
AssetEntryFinderImpl()
           
 
Method Summary
protected  void buildAllCategoriesSQL(long[] categoryIds, StringBundler sb)
           
protected  void buildAllTagsSQL(long[][] tagIds, StringBundler sb)
           
protected  void buildAnyCategoriesSQL(long[] categoryIds, StringBundler sb)
           
protected  String buildAnyTagsSQL(long[] tagIds, StringBundler sb)
           
protected  SQLQuery buildAssetQuerySQL(AssetEntryQuery entryQuery, boolean count, Session session)
           
protected  void buildClassTypeIdsSQL(long[] classTypeIds, StringBundler sb)
           
protected  void buildNotAllCategoriesSQL(long[] categoryIds, StringBundler sb)
           
protected  void buildNotAllTagsSQL(long[][] tagIds, StringBundler sb)
           
protected  void buildNotAnyCategoriesSQL(long[] notCategoryIds, StringBundler sb)
           
protected  String buildNotAnyTagsSQL(long[] notTagIds, StringBundler sb)
           
 int countEntries(AssetEntryQuery entryQuery)
           
 List<AssetEntry> findByDLFileEntryC_T(long classNameId, String treePath)
           
 List<AssetEntry> findByDLFolderC_T(long classNameId, String treePath)
           
 List<AssetEntry> findEntries(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(QueryPos qPos, 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.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, 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

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

FIND_BY_CLASS_NAME_ID

public static final String FIND_BY_CLASS_NAME_ID
Constructor Detail

AssetEntryFinderImpl

public AssetEntryFinderImpl()
Method Detail

countEntries

public int countEntries(AssetEntryQuery entryQuery)
Specified by:
countEntries in interface AssetEntryFinder

findByDLFileEntryC_T

public List<AssetEntry> findByDLFileEntryC_T(long classNameId,
                                             String treePath)
Specified by:
findByDLFileEntryC_T in interface AssetEntryFinder

findByDLFolderC_T

public List<AssetEntry> findByDLFolderC_T(long classNameId,
                                          String treePath)
Specified by:
findByDLFolderC_T in interface AssetEntryFinder

findEntries

public List<AssetEntry> findEntries(AssetEntryQuery entryQuery)
Specified by:
findEntries in interface AssetEntryFinder

buildAllCategoriesSQL

protected void buildAllCategoriesSQL(long[] categoryIds,
                                     StringBundler sb)

buildAllTagsSQL

protected void buildAllTagsSQL(long[][] tagIds,
                               StringBundler sb)

buildAnyCategoriesSQL

protected void buildAnyCategoriesSQL(long[] categoryIds,
                                     StringBundler sb)

buildAnyTagsSQL

protected String buildAnyTagsSQL(long[] tagIds,
                                 StringBundler sb)

buildAssetQuerySQL

protected SQLQuery buildAssetQuerySQL(AssetEntryQuery entryQuery,
                                      boolean count,
                                      Session session)

buildClassTypeIdsSQL

protected void buildClassTypeIdsSQL(long[] classTypeIds,
                                    StringBundler sb)

buildNotAllCategoriesSQL

protected void buildNotAllCategoriesSQL(long[] categoryIds,
                                        StringBundler sb)

buildNotAllTagsSQL

protected void buildNotAllTagsSQL(long[][] tagIds,
                                  StringBundler sb)

buildNotAnyCategoriesSQL

protected void buildNotAnyCategoriesSQL(long[] notCategoryIds,
                                        StringBundler sb)

buildNotAnyTagsSQL

protected String buildNotAnyTagsSQL(long[] notTagIds,
                                    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(QueryPos qPos,
                        Date publishDate,
                        Date expirationDate)

Liferay 7.0-ce-b4