com.liferay.portlet.tags.service.persistence
Class TagsAssetFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl
com.liferay.portlet.tags.service.persistence.TagsAssetFinderImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.tags.service.persistence.TagsAssetFinder
public class TagsAssetFinderImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
- implements com.liferay.portlet.tags.service.persistence.TagsAssetFinder
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, listeners |
Method Summary |
protected java.lang.String |
checkOrderByCol(java.lang.String orderByCol)
|
protected java.lang.String |
checkOrderByType(java.lang.String orderByType)
|
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<com.liferay.portlet.tags.model.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<com.liferay.portlet.tags.model.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<com.liferay.portlet.tags.model.TagsAsset> |
findByOrEntryIds(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
java.util.Date publishDate,
java.util.Date expirationDate)
|
java.util.List<com.liferay.portlet.tags.model.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<com.liferay.portlet.tags.model.TagsAsset> |
findByViewCount(long[] classNameId,
boolean asc,
int start,
int end)
|
protected java.lang.String |
getClassNameIds(long[] classNameIds)
|
protected java.lang.String |
getDates(java.lang.String sql,
java.util.Date publishDate,
java.util.Date expirationDate)
|
protected java.lang.String |
getEntryIds(long[] entryIds,
java.lang.String operator)
|
protected void |
setClassNamedIds(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
long[] classNameIds)
|
protected void |
setDates(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
java.util.Date publishDate,
java.util.Date expirationDate)
|
protected void |
setEntryIds(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
long[] entryIds)
|
protected void |
setGroupId(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
long groupId)
|
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
clearCache, closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_BY_AND_ENTRY_IDS
public static java.lang.String COUNT_BY_AND_ENTRY_IDS
COUNT_BY_OR_ENTRY_IDS
public static java.lang.String COUNT_BY_OR_ENTRY_IDS
FIND_BY_AND_ENTRY_IDS
public static java.lang.String FIND_BY_AND_ENTRY_IDS
FIND_BY_OR_ENTRY_IDS
public static java.lang.String FIND_BY_OR_ENTRY_IDS
FIND_BY_VIEW_COUNT
public static java.lang.String FIND_BY_VIEW_COUNT
ORDER_BY_COLUMNS
public static java.lang.String[] ORDER_BY_COLUMNS
ORDER_BY_TYPE
public static java.lang.String[] ORDER_BY_TYPE
TagsAssetFinderImpl
public TagsAssetFinderImpl()
countAssets
public int countAssets(long groupId,
long[] classNameIds,
boolean excludeZeroViewCount,
java.util.Date publishDate,
java.util.Date expirationDate)
throws com.liferay.portal.SystemException
- Specified by:
countAssets
in interface com.liferay.portlet.tags.service.persistence.TagsAssetFinder
- Throws:
com.liferay.portal.SystemException
countByAndEntryIds
public 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
- Specified by:
countByAndEntryIds
in interface com.liferay.portlet.tags.service.persistence.TagsAssetFinder
- Throws:
com.liferay.portal.SystemException
countByOrEntryIds
public 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
- Specified by:
countByOrEntryIds
in interface com.liferay.portlet.tags.service.persistence.TagsAssetFinder
- Throws:
com.liferay.portal.SystemException
findAssets
public java.util.List<com.liferay.portlet.tags.model.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
- Specified by:
findAssets
in interface com.liferay.portlet.tags.service.persistence.TagsAssetFinder
- Throws:
com.liferay.portal.SystemException
findByAndEntryIds
public java.util.List<com.liferay.portlet.tags.model.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
- Specified by:
findByAndEntryIds
in interface com.liferay.portlet.tags.service.persistence.TagsAssetFinder
- Throws:
com.liferay.portal.SystemException
findByOrEntryIds
public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByOrEntryIds(long groupId,
long[] classNameIds,
long[] entryIds,
long[] notEntryIds,
java.util.Date publishDate,
java.util.Date expirationDate)
throws com.liferay.portal.SystemException
- Specified by:
findByOrEntryIds
in interface com.liferay.portlet.tags.service.persistence.TagsAssetFinder
- Throws:
com.liferay.portal.SystemException
findByOrEntryIds
public java.util.List<com.liferay.portlet.tags.model.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
- Specified by:
findByOrEntryIds
in interface com.liferay.portlet.tags.service.persistence.TagsAssetFinder
- Throws:
com.liferay.portal.SystemException
findByViewCount
public java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByViewCount(long[] classNameId,
boolean asc,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByViewCount
in interface com.liferay.portlet.tags.service.persistence.TagsAssetFinder
- Throws:
com.liferay.portal.SystemException
checkOrderByCol
protected java.lang.String checkOrderByCol(java.lang.String orderByCol)
checkOrderByType
protected java.lang.String checkOrderByType(java.lang.String orderByType)
getClassNameIds
protected java.lang.String getClassNameIds(long[] classNameIds)
getDates
protected java.lang.String getDates(java.lang.String sql,
java.util.Date publishDate,
java.util.Date expirationDate)
getEntryIds
protected java.lang.String getEntryIds(long[] entryIds,
java.lang.String operator)
setClassNamedIds
protected void setClassNamedIds(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
long[] classNameIds)
setDates
protected void setDates(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
java.util.Date publishDate,
java.util.Date expirationDate)
setGroupId
protected void setGroupId(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
long groupId)
setEntryIds
protected void setEntryIds(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
long[] entryIds)