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

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface JournalArticleImagePersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 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 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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticleImage> findByGroupId(long groupId)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticleImage> findByGroupId(long groupId,
                                                                int start,
                                                                int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticleImage> findByTempImage(boolean tempImage)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTempImage

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticleImage> findByTempImage(boolean tempImage,
                                                                  int start,
                                                                  int end)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByTempImage

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

findWithDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticleImage> findAll()
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticleImage> findAll(int start,
                                                          int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByTempImage

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByTempImage(boolean tempImage)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A_V

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException