com.liferay.portlet.journal.service
Interface JournalArticleImageLocalService


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

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.journal.service.impl.JournalArticleImageLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
JournalArticleImageLocalServiceUtil

Method Summary
 void addArticleImageId(long articleImageId, long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
           
 JournalArticleImage addJournalArticleImage(JournalArticleImage journalArticleImage)
           
 JournalArticleImage createJournalArticleImage(long articleImageId)
           
 void deleteArticleImage(JournalArticleImage articleImage)
           
 void deleteArticleImage(long articleImageId)
           
 void deleteArticleImage(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
           
 void deleteImages(long groupId, java.lang.String articleId, double version)
           
 void deleteJournalArticleImage(JournalArticleImage journalArticleImage)
           
 void deleteJournalArticleImage(long articleImageId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 JournalArticleImage getArticleImage(long articleImageId)
           
 long getArticleImageId(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId)
           
 long getArticleImageId(long groupId, java.lang.String articleId, double version, java.lang.String elInstanceId, java.lang.String elName, java.lang.String languageId, boolean tempImage)
           
 java.util.List<JournalArticleImage> getArticleImages(long groupId)
           
 JournalArticleImage getJournalArticleImage(long articleImageId)
           
 java.util.List<JournalArticleImage> getJournalArticleImages(int start, int end)
           
 int getJournalArticleImagesCount()
           
 JournalArticleImage updateJournalArticleImage(JournalArticleImage journalArticleImage)
           
 

Method Detail

addJournalArticleImage

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

createJournalArticleImage

JournalArticleImage createJournalArticleImage(long articleImageId)

deleteJournalArticleImage

void deleteJournalArticleImage(long articleImageId)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteJournalArticleImage

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

dynamicQuery

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

dynamicQuery

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

getJournalArticleImage

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticleImage getJournalArticleImage(long articleImageId)
                                           throws com.liferay.portal.SystemException,
                                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getJournalArticleImages

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

getJournalArticleImagesCount

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

updateJournalArticleImage

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

addArticleImageId

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

deleteArticleImage

void deleteArticleImage(long articleImageId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteArticleImage

void deleteArticleImage(JournalArticleImage articleImage)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteArticleImage

void deleteArticleImage(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

deleteImages

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

getArticleImage

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticleImage getArticleImage(long articleImageId)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getArticleImageId

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

getArticleImageId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long getArticleImageId(long groupId,
                                     java.lang.String articleId,
                                     double version,
                                     java.lang.String elInstanceId,
                                     java.lang.String elName,
                                     java.lang.String languageId,
                                     boolean tempImage)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getArticleImages

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