com.liferay.portlet.journal.service.persistence
Class JournalArticleImageUtil

java.lang.Object
  extended by com.liferay.portlet.journal.service.persistence.JournalArticleImageUtil

public class JournalArticleImageUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
JournalArticleImageUtil()
           
 
Method Summary
static int countAll()
           
static 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)
           
static int countByG_A_V(long groupId, java.lang.String articleId, double version)
           
static int countByGroupId(long groupId)
           
static int countByTempImage(boolean tempImage)
           
static JournalArticleImage create(long articleImageId)
           
static 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)
           
static JournalArticleImage fetchByPrimaryKey(long articleImageId)
           
static java.util.List<JournalArticleImage> findAll()
           
static java.util.List<JournalArticleImage> findAll(int start, int end)
           
static java.util.List<JournalArticleImage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static 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)
           
static JournalArticleImage findByG_A_V_First(long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static JournalArticleImage findByG_A_V_Last(long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static JournalArticleImage[] findByG_A_V_PrevAndNext(long articleImageId, long groupId, java.lang.String articleId, double version, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version)
           
static java.util.List<JournalArticleImage> findByG_A_V(long groupId, java.lang.String articleId, double version, int start, int end)
           
static 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)
           
static JournalArticleImage findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static JournalArticleImage findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static JournalArticleImage[] findByGroupId_PrevAndNext(long articleImageId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<JournalArticleImage> findByGroupId(long groupId)
           
static java.util.List<JournalArticleImage> findByGroupId(long groupId, int start, int end)
           
static java.util.List<JournalArticleImage> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static JournalArticleImage findByPrimaryKey(long articleImageId)
           
static JournalArticleImage findByTempImage_First(boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static JournalArticleImage findByTempImage_Last(boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static JournalArticleImage[] findByTempImage_PrevAndNext(long articleImageId, boolean tempImage, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<JournalArticleImage> findByTempImage(boolean tempImage)
           
static java.util.List<JournalArticleImage> findByTempImage(boolean tempImage, int start, int end)
           
static java.util.List<JournalArticleImage> findByTempImage(boolean tempImage, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static JournalArticleImagePersistence getPersistence()
           
static JournalArticleImage remove(JournalArticleImage journalArticleImage)
           
static JournalArticleImage remove(long articleImageId)
           
static void removeAll()
           
static 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)
           
static void removeByG_A_V(long groupId, java.lang.String articleId, double version)
           
static void removeByGroupId(long groupId)
           
static void removeByTempImage(boolean tempImage)
           
 void setPersistence(JournalArticleImagePersistence persistence)
           
static JournalArticleImage update(JournalArticleImage journalArticleImage)
          Deprecated. Use update(JournalArticleImage journalArticleImage, boolean merge).
static JournalArticleImage update(JournalArticleImage journalArticleImage, boolean merge)
          Add, update, or merge, the entity.
static JournalArticleImage updateImpl(JournalArticleImage journalArticleImage, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalArticleImageUtil

public JournalArticleImageUtil()
Method Detail

create

public static JournalArticleImage create(long articleImageId)

remove

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

remove

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

update

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

Throws:
com.liferay.portal.SystemException

update

public static 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

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByGroupId

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

findByGroupId

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

findByGroupId

public static 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

public static 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

public static 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

public static 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

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

findByTempImage

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

findByTempImage

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

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

findAll

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

findAll

public static 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

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

removeByTempImage

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

removeByG_A_V

public static 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

public static 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

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

countByGroupId

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

countByTempImage

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

countByG_A_V

public static 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

public static 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

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

getPersistence

public static JournalArticleImagePersistence getPersistence()

setPersistence

public void setPersistence(JournalArticleImagePersistence persistence)