Liferay 6.0.5

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

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

public class AssetEntryFinderImpl
extends BasePersistenceImpl<AssetEntry>
implements AssetEntryFinder


Field Summary
static String FIND_BY_AND_CATEGORY_IDS
           
static String FIND_BY_AND_CATEGORY_IDS_TREE
           
static String FIND_BY_AND_TAG_IDS
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, 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
AssetEntryFinderImpl()
           
 
Method Summary
protected  void buildAllCategoriesSQL(String sqlId, long[] categoryIds, StringBundler sb)
           
protected  void buildAllTagsSQL(long[] tagIds, StringBundler sb)
           
protected  SQLQuery buildAssetQuerySQL(AssetEntryQuery entryQuery, boolean count, Session session)
           
protected  void buildNotAnyCategoriesSQL(String sqlId, long[] categoryIds, StringBundler sb)
           
protected  void buildNotAnyTagsSQL(long[] tagIds, StringBundler sb)
           
 int countEntries(AssetEntryQuery entryQuery)
           
 List<AssetEntry> findEntries(AssetEntryQuery entryQuery)
           
protected  String getCategoryIds(long[] categoryIds, String operator)
           
protected  String getClassNameIds(long[] classNameIds)
           
protected  String getDates(Date publishDate, Date expirationDate)
           
protected  String getGroupIds(long[] groupIds)
           
protected  String getNotCategoryIds(String sqlId, long[] notCategoryIds)
           
protected  String getNotTagIds(long[] notTagIds)
           
protected  String getTagIds(long[] tagIds, String operator)
           
protected  void setDates(QueryPos qPos, Date publishDate, Date expirationDate)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, 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

FIND_BY_AND_CATEGORY_IDS

public static String FIND_BY_AND_CATEGORY_IDS

FIND_BY_AND_CATEGORY_IDS_TREE

public static String FIND_BY_AND_CATEGORY_IDS_TREE

FIND_BY_AND_TAG_IDS

public static String FIND_BY_AND_TAG_IDS
Constructor Detail

AssetEntryFinderImpl

public AssetEntryFinderImpl()
Method Detail

countEntries

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

findEntries

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

buildAllCategoriesSQL

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

buildAllTagsSQL

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

buildAssetQuerySQL

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

buildNotAnyCategoriesSQL

protected void buildNotAnyCategoriesSQL(String sqlId,
                                        long[] categoryIds,
                                        StringBundler sb)

buildNotAnyTagsSQL

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

getCategoryIds

protected String getCategoryIds(long[] categoryIds,
                                String operator)

getClassNameIds

protected String getClassNameIds(long[] classNameIds)

getDates

protected String getDates(Date publishDate,
                          Date expirationDate)

getGroupIds

protected String getGroupIds(long[] groupIds)

getNotCategoryIds

protected String getNotCategoryIds(String sqlId,
                                   long[] notCategoryIds)

getNotTagIds

protected String getNotTagIds(long[] notTagIds)

getTagIds

protected String getTagIds(long[] tagIds,
                           String operator)

setDates

protected void setDates(QueryPos qPos,
                        Date publishDate,
                        Date expirationDate)

Liferay 6.0.5