com.liferay.portlet.imagegallery.service.persistence
Class IGImagePersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portlet.imagegallery.service.persistence.IGImagePersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence

public class IGImagePersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
protected  com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence igFolderPersistence
           
protected  com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence igImagePersistence
           
protected  com.liferay.portal.service.persistence.ImagePersistence imagePersistence
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence
           
protected  com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
IGImagePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 int countAll()
           
 int countByCustom1ImageId(long custom1ImageId)
           
 int countByCustom2ImageId(long custom2ImageId)
           
 int countByF_N(long folderId, java.lang.String name)
           
 int countByFolderId(long folderId)
           
 int countByLargeImageId(long largeImageId)
           
 int countBySmallImageId(long smallImageId)
           
 int countByUuid(java.lang.String uuid)
           
 com.liferay.portlet.imagegallery.model.IGImage create(long imageId)
           
 com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(long custom1ImageId)
           
 com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(long custom2ImageId)
           
 com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(long largeImageId)
           
 com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(long imageId)
           
 com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(long smallImageId)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll()
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(int start, int end)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByCustom1ImageId(long custom1ImageId)
           
 com.liferay.portlet.imagegallery.model.IGImage findByCustom2ImageId(long custom2ImageId)
           
 com.liferay.portlet.imagegallery.model.IGImage findByF_N_First(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByF_N_Last(long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage[] findByF_N_PrevAndNext(long imageId, long folderId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(long folderId, java.lang.String name)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(long folderId, java.lang.String name, int start, int end)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(long folderId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByFolderId_First(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByFolderId_Last(long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage[] findByFolderId_PrevAndNext(long imageId, long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(long folderId)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(long folderId, int start, int end)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByLargeImageId(long largeImageId)
           
 com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(long imageId)
           
 com.liferay.portlet.imagegallery.model.IGImage findBySmallImageId(long smallImageId)
           
 com.liferay.portlet.imagegallery.model.IGImage findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.imagegallery.model.IGImage[] findByUuid_PrevAndNext(long imageId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(java.lang.String uuid)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 com.liferay.portlet.imagegallery.model.IGImage remove(com.liferay.portlet.imagegallery.model.IGImage igImage)
           
 com.liferay.portlet.imagegallery.model.IGImage remove(long imageId)
           
 void removeAll()
           
 void removeByCustom1ImageId(long custom1ImageId)
           
 void removeByCustom2ImageId(long custom2ImageId)
           
 void removeByF_N(long folderId, java.lang.String name)
           
 void removeByFolderId(long folderId)
           
 void removeByLargeImageId(long largeImageId)
           
 void removeBySmallImageId(long smallImageId)
           
 void removeByUuid(java.lang.String uuid)
           
protected  com.liferay.portlet.imagegallery.model.IGImage removeImpl(com.liferay.portlet.imagegallery.model.IGImage igImage)
           
 com.liferay.portlet.imagegallery.model.IGImage update(com.liferay.portlet.imagegallery.model.IGImage igImage)
          Deprecated. Use update(IGImage igImage, boolean merge).
 com.liferay.portlet.imagegallery.model.IGImage update(com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
          Add, update, or merge, the entity.
 com.liferay.portlet.imagegallery.model.IGImage updateImpl(com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
           
 
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
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Field Detail

igFolderPersistence

@BeanReference(name="com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence.impl")
protected com.liferay.portlet.imagegallery.service.persistence.IGFolderPersistence igFolderPersistence

igImagePersistence

@BeanReference(name="com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence.impl")
protected com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence igImagePersistence

imagePersistence

@BeanReference(name="com.liferay.portal.service.persistence.ImagePersistence.impl")
protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence

resourcePersistence

@BeanReference(name="com.liferay.portal.service.persistence.ResourcePersistence.impl")
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(name="com.liferay.portal.service.persistence.UserPersistence.impl")
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

tagsAssetPersistence

@BeanReference(name="com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
protected com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence

tagsEntryPersistence

@BeanReference(name="com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
protected com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence
Constructor Detail

IGImagePersistenceImpl

public IGImagePersistenceImpl()
Method Detail

create

public com.liferay.portlet.imagegallery.model.IGImage create(long imageId)
Specified by:
create in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence

remove

public com.liferay.portlet.imagegallery.model.IGImage remove(long imageId)
                                                      throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                             com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

remove

public com.liferay.portlet.imagegallery.model.IGImage remove(com.liferay.portlet.imagegallery.model.IGImage igImage)
                                                      throws com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

removeImpl

protected com.liferay.portlet.imagegallery.model.IGImage removeImpl(com.liferay.portlet.imagegallery.model.IGImage igImage)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.imagegallery.model.IGImage update(com.liferay.portlet.imagegallery.model.IGImage igImage)
                                                      throws com.liferay.portal.SystemException
Deprecated. Use update(IGImage igImage, boolean merge).

Specified by:
update in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.imagegallery.model.IGImage update(com.liferay.portlet.imagegallery.model.IGImage igImage,
                                                             boolean merge)
                                                      throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Specified by:
update in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Parameters:
igImage - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when igImage is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

public com.liferay.portlet.imagegallery.model.IGImage updateImpl(com.liferay.portlet.imagegallery.model.IGImage igImage,
                                                                 boolean merge)
                                                          throws com.liferay.portal.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.imagegallery.model.IGImage findByPrimaryKey(long imageId)
                                                                throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                       com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.imagegallery.model.IGImage fetchByPrimaryKey(long imageId)
                                                                 throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(java.lang.String uuid)
                                                                          throws com.liferay.portal.SystemException
Specified by:
findByUuid in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(java.lang.String uuid,
                                                                                 int start,
                                                                                 int end)
                                                                          throws com.liferay.portal.SystemException
Specified by:
findByUuid in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByUuid(java.lang.String uuid,
                                                                                 int start,
                                                                                 int end,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                          throws com.liferay.portal.SystemException
Specified by:
findByUuid in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByUuid_First

public com.liferay.portlet.imagegallery.model.IGImage findByUuid_First(java.lang.String uuid,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                       com.liferay.portal.SystemException
Specified by:
findByUuid_First in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findByUuid_Last

public com.liferay.portlet.imagegallery.model.IGImage findByUuid_Last(java.lang.String uuid,
                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                               throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                      com.liferay.portal.SystemException
Specified by:
findByUuid_Last in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findByUuid_PrevAndNext

public com.liferay.portlet.imagegallery.model.IGImage[] findByUuid_PrevAndNext(long imageId,
                                                                               java.lang.String uuid,
                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                        throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                               com.liferay.portal.SystemException
Specified by:
findByUuid_PrevAndNext in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findByFolderId

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(long folderId)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByFolderId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByFolderId

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(long folderId,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByFolderId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByFolderId

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByFolderId(long folderId,
                                                                                     int start,
                                                                                     int end,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByFolderId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByFolderId_First

public com.liferay.portlet.imagegallery.model.IGImage findByFolderId_First(long folderId,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                           com.liferay.portal.SystemException
Specified by:
findByFolderId_First in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findByFolderId_Last

public com.liferay.portlet.imagegallery.model.IGImage findByFolderId_Last(long folderId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                          com.liferay.portal.SystemException
Specified by:
findByFolderId_Last in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findByFolderId_PrevAndNext

public com.liferay.portlet.imagegallery.model.IGImage[] findByFolderId_PrevAndNext(long imageId,
                                                                                   long folderId,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                                   com.liferay.portal.SystemException
Specified by:
findByFolderId_PrevAndNext in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findBySmallImageId

public com.liferay.portlet.imagegallery.model.IGImage findBySmallImageId(long smallImageId)
                                                                  throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                         com.liferay.portal.SystemException
Specified by:
findBySmallImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

fetchBySmallImageId

public com.liferay.portlet.imagegallery.model.IGImage fetchBySmallImageId(long smallImageId)
                                                                   throws com.liferay.portal.SystemException
Specified by:
fetchBySmallImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByLargeImageId

public com.liferay.portlet.imagegallery.model.IGImage findByLargeImageId(long largeImageId)
                                                                  throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                         com.liferay.portal.SystemException
Specified by:
findByLargeImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

fetchByLargeImageId

public com.liferay.portlet.imagegallery.model.IGImage fetchByLargeImageId(long largeImageId)
                                                                   throws com.liferay.portal.SystemException
Specified by:
fetchByLargeImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByCustom1ImageId

public com.liferay.portlet.imagegallery.model.IGImage findByCustom1ImageId(long custom1ImageId)
                                                                    throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                           com.liferay.portal.SystemException
Specified by:
findByCustom1ImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

fetchByCustom1ImageId

public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom1ImageId(long custom1ImageId)
                                                                     throws com.liferay.portal.SystemException
Specified by:
fetchByCustom1ImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByCustom2ImageId

public com.liferay.portlet.imagegallery.model.IGImage findByCustom2ImageId(long custom2ImageId)
                                                                    throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                           com.liferay.portal.SystemException
Specified by:
findByCustom2ImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

fetchByCustom2ImageId

public com.liferay.portlet.imagegallery.model.IGImage fetchByCustom2ImageId(long custom2ImageId)
                                                                     throws com.liferay.portal.SystemException
Specified by:
fetchByCustom2ImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByF_N

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(long folderId,
                                                                                java.lang.String name)
                                                                         throws com.liferay.portal.SystemException
Specified by:
findByF_N in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByF_N

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(long folderId,
                                                                                java.lang.String name,
                                                                                int start,
                                                                                int end)
                                                                         throws com.liferay.portal.SystemException
Specified by:
findByF_N in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByF_N

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findByF_N(long folderId,
                                                                                java.lang.String name,
                                                                                int start,
                                                                                int end,
                                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                         throws com.liferay.portal.SystemException
Specified by:
findByF_N in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findByF_N_First

public com.liferay.portlet.imagegallery.model.IGImage findByF_N_First(long folderId,
                                                                      java.lang.String name,
                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                               throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                      com.liferay.portal.SystemException
Specified by:
findByF_N_First in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findByF_N_Last

public com.liferay.portlet.imagegallery.model.IGImage findByF_N_Last(long folderId,
                                                                     java.lang.String name,
                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                              throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                     com.liferay.portal.SystemException
Specified by:
findByF_N_Last in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findByF_N_PrevAndNext

public com.liferay.portlet.imagegallery.model.IGImage[] findByF_N_PrevAndNext(long imageId,
                                                                              long folderId,
                                                                              java.lang.String name,
                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                       throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                                                              com.liferay.portal.SystemException
Specified by:
findByF_N_PrevAndNext in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                             int start,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll()
                                                                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(int start,
                                                                              int end)
                                                                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> findAll(int start,
                                                                              int end,
                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

removeByUuid

public void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.SystemException
Specified by:
removeByUuid in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

removeByFolderId

public void removeByFolderId(long folderId)
                      throws com.liferay.portal.SystemException
Specified by:
removeByFolderId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

removeBySmallImageId

public void removeBySmallImageId(long smallImageId)
                          throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                 com.liferay.portal.SystemException
Specified by:
removeBySmallImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

removeByLargeImageId

public void removeByLargeImageId(long largeImageId)
                          throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                 com.liferay.portal.SystemException
Specified by:
removeByLargeImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

removeByCustom1ImageId

public void removeByCustom1ImageId(long custom1ImageId)
                            throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                   com.liferay.portal.SystemException
Specified by:
removeByCustom1ImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

removeByCustom2ImageId

public void removeByCustom2ImageId(long custom2ImageId)
                            throws com.liferay.portlet.imagegallery.NoSuchImageException,
                                   com.liferay.portal.SystemException
Specified by:
removeByCustom2ImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portlet.imagegallery.NoSuchImageException
com.liferay.portal.SystemException

removeByF_N

public void removeByF_N(long folderId,
                        java.lang.String name)
                 throws com.liferay.portal.SystemException
Specified by:
removeByF_N in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

countByUuid

public int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Specified by:
countByUuid in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

countByFolderId

public int countByFolderId(long folderId)
                    throws com.liferay.portal.SystemException
Specified by:
countByFolderId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

countBySmallImageId

public int countBySmallImageId(long smallImageId)
                        throws com.liferay.portal.SystemException
Specified by:
countBySmallImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

countByLargeImageId

public int countByLargeImageId(long largeImageId)
                        throws com.liferay.portal.SystemException
Specified by:
countByLargeImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

countByCustom1ImageId

public int countByCustom1ImageId(long custom1ImageId)
                          throws com.liferay.portal.SystemException
Specified by:
countByCustom1ImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

countByCustom2ImageId

public int countByCustom2ImageId(long custom2ImageId)
                          throws com.liferay.portal.SystemException
Specified by:
countByCustom2ImageId in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

countByF_N

public int countByF_N(long folderId,
                      java.lang.String name)
               throws com.liferay.portal.SystemException
Specified by:
countByF_N in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface com.liferay.portlet.imagegallery.service.persistence.IGImagePersistence
Throws:
com.liferay.portal.SystemException

afterPropertiesSet

public void afterPropertiesSet()