com.liferay.portlet.journal.service
Class JournalArticleResourceLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceUtil

public class JournalArticleResourceLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.journal.service.JournalArticleResourceLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
JournalArticleResourceLocalService, JournalArticleResourceLocalServiceFactory

Constructor Summary
JournalArticleResourceLocalServiceUtil()
           
 
Method Summary
static JournalArticleResource addJournalArticleResource(JournalArticleResource journalArticleResource)
           
static void deleteArticleResource(long groupId, java.lang.String articleId)
           
static void deleteJournalArticleResource(JournalArticleResource journalArticleResource)
           
static void deleteJournalArticleResource(long resourcePrimKey)
           
static java.util.List<JournalArticleResource> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<JournalArticleResource> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static JournalArticleResource getArticleResource(long articleResourcePrimKey)
           
static long getArticleResourcePrimKey(long groupId, java.lang.String articleId)
           
static java.util.List<JournalArticleResource> getArticleResources(long groupId)
           
static JournalArticleResource updateJournalArticleResource(JournalArticleResource journalArticleResource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalArticleResourceLocalServiceUtil

public JournalArticleResourceLocalServiceUtil()
Method Detail

addJournalArticleResource

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

deleteJournalArticleResource

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

deleteJournalArticleResource

public static void deleteJournalArticleResource(JournalArticleResource journalArticleResource)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<JournalArticleResource> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<JournalArticleResource> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                                  int begin,
                                                                  int end)
                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateJournalArticleResource

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

deleteArticleResource

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

public static JournalArticleResource getArticleResource(long articleResourcePrimKey)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getArticleResourcePrimKey

public static long getArticleResourcePrimKey(long groupId,
                                             java.lang.String articleId)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getArticleResources

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