com.liferay.portlet.wiki.service
Interface WikiPageResourceLocalService


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

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.wiki.service.impl.WikiPageResourceLocalServiceImpl. 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:
WikiPageResourceLocalServiceUtil

Method Summary
 WikiPageResource addWikiPageResource(WikiPageResource wikiPageResource)
           
 WikiPageResource createWikiPageResource(long resourcePrimKey)
           
 void deletePageResource(long nodeId, java.lang.String title)
           
 void deleteWikiPageResource(long resourcePrimKey)
           
 void deleteWikiPageResource(WikiPageResource wikiPageResource)
           
 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)
           
 WikiPageResource getPageResource(long pageResourcePrimKey)
           
 long getPageResourcePrimKey(long nodeId, java.lang.String title)
           
 WikiPageResource getWikiPageResource(long resourcePrimKey)
           
 java.util.List<WikiPageResource> getWikiPageResources(int start, int end)
           
 int getWikiPageResourcesCount()
           
 WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
           
 

Method Detail

addWikiPageResource

WikiPageResource addWikiPageResource(WikiPageResource wikiPageResource)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createWikiPageResource

WikiPageResource createWikiPageResource(long resourcePrimKey)

deleteWikiPageResource

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

deleteWikiPageResource

void deleteWikiPageResource(WikiPageResource wikiPageResource)
                            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

getWikiPageResource

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

getWikiPageResources

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

getWikiPageResourcesCount

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

updateWikiPageResource

WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePageResource

void deletePageResource(long nodeId,
                        java.lang.String title)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPageResource

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiPageResource getPageResource(long pageResourcePrimKey)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPageResourcePrimKey

@Transactional(propagation=SUPPORTS,
               readOnly=true)
long getPageResourcePrimKey(long nodeId,
                                          java.lang.String title)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException