Liferay 6.1.2-ce-ga3

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_TAG_IDS
           
 
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
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> findEntries(AssetEntryQuery entryQuery)
           
protected  String getClassNameIds(long[] classNameIds)
           
protected  String getDates(Date publishDate, Date expirationDate)
           
protected  String getGroupIds(long[] groupIds)
           
protected  String getTagIds(long[] tagIds)
           
protected  void setDates(QueryPos qPos, Date publishDate, Date expirationDate)
           
 
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

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 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(long[] categoryIds,
                                     StringBundler sb)
                              throws SystemException
Throws:
SystemException

buildAllTagsSQL

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

buildAnyCategoriesSQL

protected void buildAnyCategoriesSQL(long[] categoryIds,
                                     StringBundler sb)
                              throws SystemException
Throws:
SystemException

buildAnyTagsSQL

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

buildAssetQuerySQL

protected SQLQuery buildAssetQuerySQL(AssetEntryQuery entryQuery,
                                      boolean count,
                                      Session session)
                               throws SystemException
Throws:
SystemException

buildClassTypeIdsSQL

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

buildNotAllCategoriesSQL

protected void buildNotAllCategoriesSQL(long[] categoryIds,
                                        StringBundler sb)
                                 throws SystemException
Throws:
SystemException

buildNotAllTagsSQL

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

buildNotAnyCategoriesSQL

protected void buildNotAnyCategoriesSQL(long[] notCategoryIds,
                                        StringBundler sb)
                                 throws SystemException
Throws:
SystemException

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)

getTagIds

protected String getTagIds(long[] tagIds)

setDates

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

Liferay 6.1.2-ce-ga3