com.liferay.portlet.imagegallery.service.persistence
Class IGImageFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl
com.liferay.portlet.imagegallery.service.persistence.IGImageFinderImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
public class IGImageFinderImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
- implements com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, listeners |
Method Summary |
int |
countByFolderIds(java.util.List<java.lang.Long> folderIds)
|
int |
countByG_U(long groupId,
long userId)
|
int |
countByGroupId(long groupId)
|
java.util.List<com.liferay.portlet.imagegallery.model.IGImage> |
findByG_U(long groupId,
long userId,
int start,
int end)
|
java.util.List<com.liferay.portlet.imagegallery.model.IGImage> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<com.liferay.portlet.imagegallery.model.IGImage> |
findByNoAssets()
|
com.liferay.portlet.imagegallery.model.IGImage |
findByUuid_G(java.lang.String uuid,
long groupId)
|
protected java.lang.String |
getFolderIds(java.util.List<java.lang.Long> folderIds)
|
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
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_FOLDER_IDS
public static java.lang.String COUNT_BY_FOLDER_IDS
COUNT_BY_GROUP_ID
public static java.lang.String COUNT_BY_GROUP_ID
COUNT_BY_G_U
public static java.lang.String COUNT_BY_G_U
FIND_BY_GROUP_ID
public static java.lang.String FIND_BY_GROUP_ID
FIND_BY_NO_ASSETS
public static java.lang.String FIND_BY_NO_ASSETS
FIND_BY_UUID_G
public static java.lang.String FIND_BY_UUID_G
FIND_BY_G_U
public static java.lang.String FIND_BY_G_U
IGImageFinderImpl
public IGImageFinderImpl()
countByFolderIds
public int countByFolderIds(java.util.List<java.lang.Long> folderIds)
throws com.liferay.portal.SystemException
- Specified by:
countByFolderIds
in interface com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
countByGroupId
in interface com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
- Throws:
com.liferay.portal.SystemException
countByG_U
public int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
countByG_U
in interface com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByGroupId
in interface com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
- Throws:
com.liferay.portal.SystemException
findByNoAssets
public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByNoAssets()
throws com.liferay.portal.SystemException
- Specified by:
findByNoAssets
in interface com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
- Throws:
com.liferay.portal.SystemException
findByUuid_G
public com.liferay.portlet.imagegallery.model.IGImage findByUuid_G(java.lang.String uuid,
long groupId)
throws com.liferay.portlet.imagegallery.NoSuchImageException,
com.liferay.portal.SystemException
- Specified by:
findByUuid_G
in interface com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
- Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException
findByG_U
public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByG_U(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_U
in interface com.liferay.portlet.imagegallery.service.persistence.IGImageFinder
- Throws:
com.liferay.portal.SystemException
getFolderIds
protected java.lang.String getFolderIds(java.util.List<java.lang.Long> folderIds)