com.liferay.portlet.tags.service.persistence
Interface TagsAssetFinder


public interface TagsAssetFinder

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAssets(long groupId, long[] classNameIds, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
 int countByAndEntryIds(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
 int countByOrEntryIds(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate)
           
 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)
           
 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)
           
 java.util.List<TagsAsset> findByOrEntryIds(long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, java.util.Date publishDate, java.util.Date expirationDate)
           
 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)
           
 java.util.List<TagsAsset> findByViewCount(long[] classNameId, boolean asc, int start, int end)
           
 

Method Detail

countAssets

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

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

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

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

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

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

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

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