com.liferay.portlet.journal.service
Interface JournalArticleResourceLocalService


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

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.JournalArticleResourceLocalServiceImpl. 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:
JournalArticleResourceLocalServiceUtil

Method Summary
 JournalArticleResource addJournalArticleResource(JournalArticleResource journalArticleResource)
           
 JournalArticleResource createJournalArticleResource(long resourcePrimKey)
           
 void deleteArticleResource(long groupId, java.lang.String articleId)
           
 void deleteJournalArticleResource(JournalArticleResource journalArticleResource)
           
 void deleteJournalArticleResource(long resourcePrimKey)
           
 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)
           
 JournalArticleResource getArticleResource(long articleResourcePrimKey)
           
 long getArticleResourcePrimKey(long groupId, java.lang.String articleId)
           
 java.util.List<JournalArticleResource> getArticleResources(long groupId)
           
 JournalArticleResource getJournalArticleResource(long resourcePrimKey)
           
 java.util.List<JournalArticleResource> getJournalArticleResources(int start, int end)
           
 int getJournalArticleResourcesCount()
           
 JournalArticleResource updateJournalArticleResource(JournalArticleResource journalArticleResource)
           
 

Method Detail

addJournalArticleResource

JournalArticleResource addJournalArticleResource(JournalArticleResource journalArticleResource)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createJournalArticleResource

JournalArticleResource createJournalArticleResource(long resourcePrimKey)

deleteJournalArticleResource

void deleteJournalArticleResource(long resourcePrimKey)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteJournalArticleResource

void deleteJournalArticleResource(JournalArticleResource journalArticleResource)
                                  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

getJournalArticleResource

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticleResource getJournalArticleResource(long resourcePrimKey)
                                                 throws com.liferay.portal.SystemException,
                                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getJournalArticleResources

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

getJournalArticleResourcesCount

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

updateJournalArticleResource

JournalArticleResource updateJournalArticleResource(JournalArticleResource journalArticleResource)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteArticleResource

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

getArticleResource

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticleResource getArticleResource(long articleResourcePrimKey)
                                          throws com.liferay.portal.PortalException,
                                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getArticleResourcePrimKey

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long getArticleResourcePrimKey(long groupId,
                                             java.lang.String articleId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getArticleResources

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