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.

Author:
Brian Wing Shun Chan
See Also:
JournalArticleResourceLocalService

Constructor Summary
JournalArticleResourceLocalServiceUtil()
           
 
Method Summary
static JournalArticleResource addJournalArticleResource(JournalArticleResource journalArticleResource)
           
static JournalArticleResource createJournalArticleResource(long resourcePrimKey)
           
static void deleteArticleResource(long groupId, java.lang.String articleId)
           
static void deleteJournalArticleResource(JournalArticleResource journalArticleResource)
           
static void deleteJournalArticleResource(long resourcePrimKey)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 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 getJournalArticleResource(long resourcePrimKey)
           
static java.util.List<JournalArticleResource> getJournalArticleResources(int start, int end)
           
static int getJournalArticleResourcesCount()
           
static JournalArticleResourceLocalService getService()
           
 void setService(JournalArticleResourceLocalService service)
           
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

createJournalArticleResource

public static JournalArticleResource createJournalArticleResource(long resourcePrimKey)

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.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

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

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

getJournalArticleResources

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

getJournalArticleResourcesCount

public static int getJournalArticleResourcesCount()
                                           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.SystemException
Throws:
com.liferay.portal.SystemException

getArticleResources

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

getService

public static JournalArticleResourceLocalService getService()

setService

public void setService(JournalArticleResourceLocalService service)