com.liferay.portlet.tags.service.persistence
Class TagsAssetFinderUtil

java.lang.Object
  extended by com.liferay.portlet.tags.service.persistence.TagsAssetFinderUtil

public class TagsAssetFinderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
TagsAssetFinderUtil()
           
 
Method Summary
static int countAssets(long groupId, long[] classNameIds, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
static int countByAndEntryIds(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
static int countByOrEntryIds(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
static java.util.List<TagsAsset> findAssets(long groupId, long[] classNameIds, java.lang.String orderByCol1, java.lang.String orderByCol2, java.lang.String orderByType1, java.lang.String orderByType2, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int start, int end)
           
static java.util.List<TagsAsset> findByAndEntryIds(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, java.lang.String orderByCol1, java.lang.String orderByCol2, java.lang.String orderByType1, java.lang.String orderByType2, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int start, int end)
           
static java.util.List<TagsAsset> findByOrEntryIds(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, java.util.Date publishDate, java.util.Date expirationDate)
           
static java.util.List<TagsAsset> findByOrEntryIds(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, java.lang.String orderByCol1, java.lang.String orderByCol2, java.lang.String orderByType1, java.lang.String orderByType2, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int start, int end)
           
static java.util.List<TagsAsset> findByViewCount(long[] classNameId, boolean asc, int start, int end)
           
static TagsAssetFinder getFinder()
           
 void setFinder(TagsAssetFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsAssetFinderUtil

public TagsAssetFinderUtil()
Method Detail

countAssets

public static int countAssets(long groupId,
                              long[] classNameIds,
                              boolean excludeZeroViewCount,
                              java.util.Date publishDate,
                              java.util.Date expirationDate)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByAndEntryIds

public static int countByAndEntryIds(long groupId,
                                     long[] classNameIds,
                                     long[] entryIds,
                                     long[] notEntryIds,
                                     boolean excludeZeroViewCount,
                                     java.util.Date publishDate,
                                     java.util.Date expirationDate)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByOrEntryIds

public static int countByOrEntryIds(long groupId,
                                    long[] classNameIds,
                                    long[] entryIds,
                                    long[] notEntryIds,
                                    boolean excludeZeroViewCount,
                                    java.util.Date publishDate,
                                    java.util.Date expirationDate)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAssets

public static java.util.List<TagsAsset> findAssets(long groupId,
                                                   long[] classNameIds,
                                                   java.lang.String orderByCol1,
                                                   java.lang.String orderByCol2,
                                                   java.lang.String orderByType1,
                                                   java.lang.String orderByType2,
                                                   boolean excludeZeroViewCount,
                                                   java.util.Date publishDate,
                                                   java.util.Date expirationDate,
                                                   int start,
                                                   int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByAndEntryIds

public static java.util.List<TagsAsset> findByAndEntryIds(long groupId,
                                                          long[] classNameIds,
                                                          long[] entryIds,
                                                          long[] notEntryIds,
                                                          java.lang.String orderByCol1,
                                                          java.lang.String orderByCol2,
                                                          java.lang.String orderByType1,
                                                          java.lang.String orderByType2,
                                                          boolean excludeZeroViewCount,
                                                          java.util.Date publishDate,
                                                          java.util.Date expirationDate,
                                                          int start,
                                                          int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrEntryIds

public static java.util.List<TagsAsset> findByOrEntryIds(long groupId,
                                                         long[] classNameIds,
                                                         long[] entryIds,
                                                         long[] notEntryIds,
                                                         java.util.Date publishDate,
                                                         java.util.Date expirationDate)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrEntryIds

public static java.util.List<TagsAsset> findByOrEntryIds(long groupId,
                                                         long[] classNameIds,
                                                         long[] entryIds,
                                                         long[] notEntryIds,
                                                         java.lang.String orderByCol1,
                                                         java.lang.String orderByCol2,
                                                         java.lang.String orderByType1,
                                                         java.lang.String orderByType2,
                                                         boolean excludeZeroViewCount,
                                                         java.util.Date publishDate,
                                                         java.util.Date expirationDate,
                                                         int start,
                                                         int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByViewCount

public static java.util.List<TagsAsset> findByViewCount(long[] classNameId,
                                                        boolean asc,
                                                        int start,
                                                        int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFinder

public static TagsAssetFinder getFinder()

setFinder

public void setFinder(TagsAssetFinder finder)