com.liferay.portlet.wiki.service
Interface WikiPageResourceLocalService

All Known Implementing Classes:
WikiPageResourceLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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
Generated:

Method Summary
 WikiPageResource addPageResource(long nodeId, java.lang.String title)
           
 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 dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 WikiPageResource getPageResource(long pageResourcePrimKey)
           
 WikiPageResource getPageResource(long nodeId, java.lang.String title)
           
 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)
           
 WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource, boolean merge)
           
 

Method Detail

addWikiPageResource

WikiPageResource addWikiPageResource(WikiPageResource wikiPageResource)
                                     throws SystemException
Throws:
SystemException

createWikiPageResource

WikiPageResource createWikiPageResource(long resourcePrimKey)

deleteWikiPageResource

void deleteWikiPageResource(long resourcePrimKey)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

deleteWikiPageResource

void deleteWikiPageResource(WikiPageResource wikiPageResource)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getWikiPageResource

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

getWikiPageResources

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

getWikiPageResourcesCount

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

updateWikiPageResource

WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
                                        throws SystemException
Throws:
SystemException

updateWikiPageResource

WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource,
                                        boolean merge)
                                        throws SystemException
Throws:
SystemException

addPageResource

WikiPageResource addPageResource(long nodeId,
                                 java.lang.String title)
                                 throws SystemException
Throws:
SystemException

deletePageResource

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

getPageResource

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

getPageResource

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiPageResource getPageResource(long nodeId,
                                                                          java.lang.String title)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getPageResourcePrimKey

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