1
14
15 package com.liferay.portlet.wiki.service;
16
17 import com.liferay.portal.kernel.annotation.Isolation;
18 import com.liferay.portal.kernel.annotation.Propagation;
19 import com.liferay.portal.kernel.annotation.Transactional;
20 import com.liferay.portal.kernel.exception.PortalException;
21 import com.liferay.portal.kernel.exception.SystemException;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface WikiNodeService {
50 public com.liferay.portlet.wiki.model.WikiNode addNode(
51 java.lang.String name, java.lang.String description,
52 com.liferay.portal.service.ServiceContext serviceContext)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException;
55
56 public void deleteNode(long nodeId)
57 throws com.liferay.portal.kernel.exception.PortalException,
58 com.liferay.portal.kernel.exception.SystemException;
59
60 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
61 public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
62 throws com.liferay.portal.kernel.exception.PortalException,
63 com.liferay.portal.kernel.exception.SystemException;
64
65 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
66 public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
67 java.lang.String name)
68 throws com.liferay.portal.kernel.exception.PortalException,
69 com.liferay.portal.kernel.exception.SystemException;
70
71 public void importPages(long nodeId, java.lang.String importer,
72 java.io.File[] files, java.util.Map<String, String[]> options)
73 throws com.liferay.portal.kernel.exception.PortalException,
74 com.liferay.portal.kernel.exception.SystemException;
75
76 public void subscribeNode(long nodeId)
77 throws com.liferay.portal.kernel.exception.PortalException,
78 com.liferay.portal.kernel.exception.SystemException;
79
80 public void unsubscribeNode(long nodeId)
81 throws com.liferay.portal.kernel.exception.PortalException,
82 com.liferay.portal.kernel.exception.SystemException;
83
84 public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
85 java.lang.String name, java.lang.String description)
86 throws com.liferay.portal.kernel.exception.PortalException,
87 com.liferay.portal.kernel.exception.SystemException;
88 }