com.liferay.portlet.journal.service.persistence
Interface JournalArticleImagePersistence

All Superinterfaces:
BasePersistence

public interface JournalArticleImagePersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void cacheResult(JournalArticleImage journalArticleImage)
           
 void cacheResult(java.util.List<JournalArticleImage> journalArticleImages)
           
 void clearCache()
           
 int countAll()
           
 int countByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
           
 int countByG_A_V(long groupId, java.lang.String articleId, double version)
           
 int countByGroupId(long groupId)
           
 int countByTempImage(boolean tempImage)
           
 JournalArticleImage create(long articleImageId)
           
 JournalArticleImage fetchByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
           
 JournalArticleImage fetchByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId, boolean retrieveFromCache)
           
 JournalArticleImage fetchByPrimaryKey(long articleImageId)
           
 java.util.List<JournalArticleImage> findAll()
           
 java.util.List<JournalArticleImage> findAll(int start, int end)
           
 java.util.List<JournalArticleImage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage findByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
           
 JournalArticleImage findByG_A_V_First(long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage findByG_A_V_Last(long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage[] findByG_A_V_PrevAndNext(long articleImageId, long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version)
           
 java.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version, int start, int end)
           
 java.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage[] findByGroupId_PrevAndNext(long articleImageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticleImage> findByGroupId(long groupId)
           
 java.util.List<JournalArticleImage> findByGroupId(long groupId, int start, int end)
           
 java.util.List<JournalArticleImage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage findByPrimaryKey(long articleImageId)
           
 JournalArticleImage findByTempImage_First(boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage findByTempImage_Last(boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticleImage[] findByTempImage_PrevAndNext(long articleImageId, boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticleImage> findByTempImage(boolean tempImage)
           
 java.util.List<JournalArticleImage> findByTempImage(boolean tempImage, int start, int end)
           
 java.util.List<JournalArticleImage> findByTempImage(boolean tempImage, 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)
           
 JournalArticleImage remove(JournalArticleImage journalArticleImage)
           
 JournalArticleImage remove(long articleImageId)
           
 void removeAll()
           
 void removeByG_A_V_E_E_L(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
           
 void removeByG_A_V(long groupId, java.lang.String articleId, double version)
           
 void removeByGroupId(long groupId)
           
 void removeByTempImage(boolean tempImage)
           
 JournalArticleImage update(JournalArticleImage journalArticleImage)
          Deprecated. Use update(JournalArticleImage journalArticleImage, boolean merge).
 JournalArticleImage update(JournalArticleImage journalArticleImage, boolean merge)
          Add, update, or merge, the entity.
 JournalArticleImage updateImpl(JournalArticleImage journalArticleImage, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(JournalArticleImage journalArticleImage)

cacheResult

void cacheResult(java.util.List<JournalArticleImage> journalArticleImages)

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

JournalArticleImage create(long articleImageId)

remove

JournalArticleImage remove(long articleImageId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

remove

JournalArticleImage remove(JournalArticleImage journalArticleImage)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

JournalArticleImage update(JournalArticleImage journalArticleImage)
                           throws com.liferay.portal.SystemException
Deprecated. Use update(JournalArticleImage journalArticleImage, boolean merge).

Throws:
com.liferay.portal.SystemException

update

JournalArticleImage update(JournalArticleImage journalArticleImage,
                           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.

Parameters:
journalArticleImage - 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 journalArticleImage 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

JournalArticleImage updateImpl(JournalArticleImage journalArticleImage,
                               boolean merge)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

JournalArticleImage findByPrimaryKey(long articleImageId)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

fetchByPrimaryKey

JournalArticleImage fetchByPrimaryKey(long articleImageId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<JournalArticleImage> findByGroupId(long groupId)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<JournalArticleImage> findByGroupId(long groupId,
                                                  int start,
                                                  int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<JournalArticleImage> findByGroupId(long groupId,
                                                  int start,
                                                  int end,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

JournalArticleImage findByGroupId_First(long groupId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByGroupId_Last

JournalArticleImage findByGroupId_Last(long groupId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByGroupId_PrevAndNext

JournalArticleImage[] findByGroupId_PrevAndNext(long articleImageId,
                                                long groupId,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException,
                                                       NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByTempImage

java.util.List<JournalArticleImage> findByTempImage(boolean tempImage)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTempImage

java.util.List<JournalArticleImage> findByTempImage(boolean tempImage,
                                                    int start,
                                                    int end)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTempImage

java.util.List<JournalArticleImage> findByTempImage(boolean tempImage,
                                                    int start,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTempImage_First

JournalArticleImage findByTempImage_First(boolean tempImage,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByTempImage_Last

JournalArticleImage findByTempImage_Last(boolean tempImage,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByTempImage_PrevAndNext

JournalArticleImage[] findByTempImage_PrevAndNext(long articleImageId,
                                                  boolean tempImage,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.SystemException,
                                                         NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByG_A_V

java.util.List<JournalArticleImage> findByG_A_V(long groupId,
                                                java.lang.String articleId,
                                                double version)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A_V

java.util.List<JournalArticleImage> findByG_A_V(long groupId,
                                                java.lang.String articleId,
                                                double version,
                                                int start,
                                                int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A_V

java.util.List<JournalArticleImage> findByG_A_V(long groupId,
                                                java.lang.String articleId,
                                                double version,
                                                int start,
                                                int end,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A_V_First

JournalArticleImage findByG_A_V_First(long groupId,
                                      java.lang.String articleId,
                                      double version,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByG_A_V_Last

JournalArticleImage findByG_A_V_Last(long groupId,
                                     java.lang.String articleId,
                                     double version,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByG_A_V_PrevAndNext

JournalArticleImage[] findByG_A_V_PrevAndNext(long articleImageId,
                                              long groupId,
                                              java.lang.String articleId,
                                              double version,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

findByG_A_V_E_E_L

JournalArticleImage findByG_A_V_E_E_L(long groupId,
                                      java.lang.String articleId,
                                      double version,
                                      java.lang.String elInstanceId,
                                      java.lang.String elName,
                                      java.lang.String languageId)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

fetchByG_A_V_E_E_L

JournalArticleImage fetchByG_A_V_E_E_L(long groupId,
                                       java.lang.String articleId,
                                       double version,
                                       java.lang.String elInstanceId,
                                       java.lang.String elName,
                                       java.lang.String languageId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByG_A_V_E_E_L

JournalArticleImage fetchByG_A_V_E_E_L(long groupId,
                                       java.lang.String articleId,
                                       double version,
                                       java.lang.String elInstanceId,
                                       java.lang.String elName,
                                       java.lang.String languageId,
                                       boolean retrieveFromCache)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<JournalArticleImage> findAll()
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<JournalArticleImage> findAll(int start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<JournalArticleImage> findAll(int start,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByTempImage

void removeByTempImage(boolean tempImage)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_A_V

void removeByG_A_V(long groupId,
                   java.lang.String articleId,
                   double version)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_A_V_E_E_L

void removeByG_A_V_E_E_L(long groupId,
                         java.lang.String articleId,
                         double version,
                         java.lang.String elInstanceId,
                         java.lang.String elName,
                         java.lang.String languageId)
                         throws com.liferay.portal.SystemException,
                                NoSuchArticleImageException
Throws:
com.liferay.portal.SystemException
NoSuchArticleImageException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByTempImage

int countByTempImage(boolean tempImage)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A_V

int countByG_A_V(long groupId,
                 java.lang.String articleId,
                 double version)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A_V_E_E_L

int countByG_A_V_E_E_L(long groupId,
                       java.lang.String articleId,
                       double version,
                       java.lang.String elInstanceId,
                       java.lang.String elName,
                       java.lang.String languageId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException