com.liferay.portlet.wiki.service
Interface WikiNodeLocalService

All Known Implementing Classes:
WikiNodeLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface WikiNodeLocalService

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.WikiNodeLocalServiceImpl}. 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:
WikiNodeLocalServiceUtil
Generated:

Method Summary
 WikiNode addNode(long userId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 WikiNode addNode(java.lang.String uuid, long userId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 void addNodeResources(long nodeId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addNodeResources(long nodeId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addNodeResources(WikiNode node, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addNodeResources(WikiNode node, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 WikiNode addWikiNode(WikiNode wikiNode)
           
 WikiNode createWikiNode(long nodeId)
           
 void deleteNode(long nodeId)
           
 void deleteNode(WikiNode node)
           
 void deleteNodes(long groupId)
           
 void deleteWikiNode(long nodeId)
           
 void deleteWikiNode(WikiNode wikiNode)
           
 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)
           
 java.util.List<WikiNode> getCompanyNodes(long companyId, int start, int end)
           
 int getCompanyNodesCount(long companyId)
           
 WikiNode getNode(long nodeId)
           
 WikiNode getNode(long groupId, java.lang.String nodeName)
           
 java.util.List<WikiNode> getNodes(long groupId)
           
 java.util.List<WikiNode> getNodes(long groupId, int start, int end)
           
 int getNodesCount(long groupId)
           
 WikiNode getWikiNode(long nodeId)
           
 WikiNode getWikiNodeByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<WikiNode> getWikiNodes(int start, int end)
           
 int getWikiNodesCount()
           
 void importPages(long userId, long nodeId, java.lang.String importer, java.io.File[] files, java.util.Map<java.lang.String,java.lang.String[]> options)
           
 void subscribeNode(long userId, long nodeId)
           
 void unsubscribeNode(long userId, long nodeId)
           
 WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 WikiNode updateWikiNode(WikiNode wikiNode)
           
 WikiNode updateWikiNode(WikiNode wikiNode, boolean merge)
           
 

Method Detail

addWikiNode

WikiNode addWikiNode(WikiNode wikiNode)
                     throws SystemException
Throws:
SystemException

createWikiNode

WikiNode createWikiNode(long nodeId)

deleteWikiNode

void deleteWikiNode(long nodeId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteWikiNode

void deleteWikiNode(WikiNode wikiNode)
                    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

getWikiNode

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiNode getWikiNode(long nodeId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getWikiNodeByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiNode getWikiNodeByUuidAndGroupId(java.lang.String uuid,
                                                                              long groupId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getWikiNodes

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

getWikiNodesCount

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

updateWikiNode

WikiNode updateWikiNode(WikiNode wikiNode)
                        throws SystemException
Throws:
SystemException

updateWikiNode

WikiNode updateWikiNode(WikiNode wikiNode,
                        boolean merge)
                        throws SystemException
Throws:
SystemException

addNode

WikiNode addNode(long userId,
                 java.lang.String name,
                 java.lang.String description,
                 ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

addNode

WikiNode addNode(java.lang.String uuid,
                 long userId,
                 java.lang.String name,
                 java.lang.String description,
                 ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

addNodeResources

void addNodeResources(long nodeId,
                      boolean addCommunityPermissions,
                      boolean addGuestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addNodeResources

void addNodeResources(WikiNode node,
                      boolean addCommunityPermissions,
                      boolean addGuestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addNodeResources

void addNodeResources(long nodeId,
                      java.lang.String[] communityPermissions,
                      java.lang.String[] guestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addNodeResources

void addNodeResources(WikiNode node,
                      java.lang.String[] communityPermissions,
                      java.lang.String[] guestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteNode

void deleteNode(long nodeId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deleteNode

void deleteNode(WikiNode node)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deleteNodes

void deleteNodes(long groupId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getCompanyNodes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<WikiNode> getCompanyNodes(long companyId,
                                                                                  int start,
                                                                                  int end)
                                         throws SystemException
Throws:
SystemException

getCompanyNodesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyNodesCount(long companyId)
                         throws SystemException
Throws:
SystemException

getNode

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiNode getNode(long nodeId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getNode

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WikiNode getNode(long groupId,
                                                          java.lang.String nodeName)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getNodes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<WikiNode> getNodes(long groupId)
                                  throws SystemException
Throws:
SystemException

getNodes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<WikiNode> getNodes(long groupId,
                                                                           int start,
                                                                           int end)
                                  throws SystemException
Throws:
SystemException

getNodesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getNodesCount(long groupId)
                  throws SystemException
Throws:
SystemException

importPages

void importPages(long userId,
                 long nodeId,
                 java.lang.String importer,
                 java.io.File[] files,
                 java.util.Map<java.lang.String,java.lang.String[]> options)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

subscribeNode

void subscribeNode(long userId,
                   long nodeId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

unsubscribeNode

void unsubscribeNode(long userId,
                     long nodeId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateNode

WikiNode updateNode(long nodeId,
                    java.lang.String name,
                    java.lang.String description,
                    ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException