001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.wiki.service;
022:
023: /**
024: * <a href="WikiPageLocalService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * 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.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.wiki.service.WikiPageLocalServiceFactory
045: * @see com.liferay.portlet.wiki.service.WikiPageLocalServiceUtil
046: *
047: */
048: public interface WikiPageLocalService {
049: public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
050: com.liferay.portlet.wiki.model.WikiPage model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
063: com.liferay.portlet.wiki.model.WikiPage model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.wiki.service.persistence.WikiNodePersistence getWikiNodePersistence();
067:
068: public void setWikiNodePersistence(
069: com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence);
070:
071: public com.liferay.portlet.wiki.service.persistence.WikiPagePersistence getWikiPagePersistence();
072:
073: public void setWikiPagePersistence(
074: com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence);
075:
076: public com.liferay.portlet.wiki.service.persistence.WikiPageFinder getWikiPageFinder();
077:
078: public void setWikiPageFinder(
079: com.liferay.portlet.wiki.service.persistence.WikiPageFinder wikiPageFinder);
080:
081: public com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence getWikiPageResourcePersistence();
082:
083: public void setWikiPageResourcePersistence(
084: com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence);
085:
086: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
087:
088: public void setResourcePersistence(
089: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
090:
091: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
092:
093: public void setResourceFinder(
094: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
095:
096: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
097:
098: public void setUserPersistence(
099: com.liferay.portal.service.persistence.UserPersistence userPersistence);
100:
101: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
102:
103: public void setUserFinder(
104: com.liferay.portal.service.persistence.UserFinder userFinder);
105:
106: public com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence();
107:
108: public void setMBMessagePersistence(
109: com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence);
110:
111: public com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder();
112:
113: public void setMBMessageFinder(
114: com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder);
115:
116: public com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence();
117:
118: public void setTagsAssetPersistence(
119: com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence);
120:
121: public com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder();
122:
123: public void setTagsAssetFinder(
124: com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder);
125:
126: public void afterPropertiesSet();
127:
128: public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
129: long nodeId, java.lang.String title)
130: throws com.liferay.portal.SystemException,
131: com.liferay.portal.PortalException;
132:
133: public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
134: long nodeId, java.lang.String title, double version,
135: java.lang.String content, java.lang.String format,
136: boolean head, java.lang.String[] tagsEntries)
137: throws com.liferay.portal.SystemException,
138: com.liferay.portal.PortalException;
139:
140: public com.liferay.portlet.wiki.model.WikiPage addPage(
141: java.lang.String uuid, long userId, long nodeId,
142: java.lang.String title, double version,
143: java.lang.String content, java.lang.String format,
144: boolean head, java.lang.String[] tagsEntries)
145: throws com.liferay.portal.SystemException,
146: com.liferay.portal.PortalException;
147:
148: public void addPageResources(long nodeId, java.lang.String title,
149: boolean addCommunityPermissions, boolean addGuestPermissions)
150: throws com.liferay.portal.SystemException,
151: com.liferay.portal.PortalException;
152:
153: public void addPageResources(
154: com.liferay.portlet.wiki.model.WikiNode node,
155: com.liferay.portlet.wiki.model.WikiPage page,
156: boolean addCommunityPermissions, boolean addGuestPermissions)
157: throws com.liferay.portal.SystemException,
158: com.liferay.portal.PortalException;
159:
160: public void addPageResources(long nodeId, java.lang.String title,
161: java.lang.String[] communityPermissions,
162: java.lang.String[] guestPermissions)
163: throws com.liferay.portal.SystemException,
164: com.liferay.portal.PortalException;
165:
166: public void addPageResources(
167: com.liferay.portlet.wiki.model.WikiNode node,
168: com.liferay.portlet.wiki.model.WikiPage page,
169: java.lang.String[] communityPermissions,
170: java.lang.String[] guestPermissions)
171: throws com.liferay.portal.SystemException,
172: com.liferay.portal.PortalException;
173:
174: public void deletePage(long nodeId, java.lang.String title)
175: throws com.liferay.portal.SystemException,
176: com.liferay.portal.PortalException;
177:
178: public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
179: throws com.liferay.portal.SystemException,
180: com.liferay.portal.PortalException;
181:
182: public void deletePages(long nodeId)
183: throws com.liferay.portal.SystemException,
184: com.liferay.portal.PortalException;
185:
186: public java.util.List getNoAssetPages()
187: throws com.liferay.portal.SystemException;
188:
189: public java.util.List getLinks(long nodeId, java.lang.String title)
190: throws com.liferay.portal.SystemException;
191:
192: public java.util.List getOrphans(long nodeId)
193: throws com.liferay.portal.SystemException;
194:
195: public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
196: java.lang.String title)
197: throws com.liferay.portal.SystemException,
198: com.liferay.portal.PortalException;
199:
200: public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
201: java.lang.String title, double version)
202: throws com.liferay.portal.SystemException,
203: com.liferay.portal.PortalException;
204:
205: public java.util.List getPages(long nodeId, int begin, int end)
206: throws com.liferay.portal.SystemException;
207:
208: public java.util.List getPages(long nodeId, java.lang.String title,
209: int begin, int end)
210: throws com.liferay.portal.SystemException;
211:
212: public java.util.List getPages(long nodeId, boolean head,
213: int begin, int end)
214: throws com.liferay.portal.SystemException;
215:
216: public java.util.List getPages(long nodeId, java.lang.String title,
217: boolean head, int begin, int end)
218: throws com.liferay.portal.SystemException;
219:
220: public int getPagesCount(long nodeId)
221: throws com.liferay.portal.SystemException;
222:
223: public int getPagesCount(long nodeId, java.lang.String title)
224: throws com.liferay.portal.SystemException;
225:
226: public int getPagesCount(long nodeId, boolean head)
227: throws com.liferay.portal.SystemException;
228:
229: public int getPagesCount(long nodeId, java.lang.String title,
230: boolean head) throws com.liferay.portal.SystemException;
231:
232: public java.util.List getRecentChanges(long nodeId, int begin,
233: int end) throws com.liferay.portal.SystemException;
234:
235: public int getRecentChangesCount(long nodeId)
236: throws com.liferay.portal.SystemException;
237:
238: public com.liferay.portlet.wiki.model.WikiPage revertPage(
239: long userId, long nodeId, java.lang.String title,
240: double version) throws com.liferay.portal.SystemException,
241: com.liferay.portal.PortalException;
242:
243: public com.liferay.portlet.wiki.model.WikiPage updatePage(
244: long userId, long nodeId, java.lang.String title,
245: java.lang.String content, java.lang.String format,
246: java.lang.String[] tagsEntries)
247: throws com.liferay.portal.SystemException,
248: com.liferay.portal.PortalException;
249:
250: public void updateTagsAsset(long userId,
251: com.liferay.portlet.wiki.model.WikiPage page,
252: java.lang.String[] tagsEntries)
253: throws com.liferay.portal.SystemException,
254: com.liferay.portal.PortalException;
255: }
|