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="WikiNodeLocalService.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.WikiNodeLocalServiceImpl</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.WikiNodeLocalServiceFactory
045: * @see com.liferay.portlet.wiki.service.WikiNodeLocalServiceUtil
046: *
047: */
048: public interface WikiNodeLocalService {
049: public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
050: com.liferay.portlet.wiki.model.WikiNode 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.WikiNode updateWikiNode(
063: com.liferay.portlet.wiki.model.WikiNode 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.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence();
107:
108: public void setTagsEntryPersistence(
109: com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence);
110:
111: public com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder();
112:
113: public void setTagsEntryFinder(
114: com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder);
115:
116: public void afterPropertiesSet();
117:
118: public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
119: long plid, java.lang.String name,
120: java.lang.String description,
121: boolean addCommunityPermissions, boolean addGuestPermissions)
122: throws com.liferay.portal.SystemException,
123: com.liferay.portal.PortalException;
124:
125: public com.liferay.portlet.wiki.model.WikiNode addNode(
126: java.lang.String uuid, long userId, long plid,
127: java.lang.String name, java.lang.String description,
128: boolean addCommunityPermissions, boolean addGuestPermissions)
129: throws com.liferay.portal.SystemException,
130: com.liferay.portal.PortalException;
131:
132: public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
133: long plid, java.lang.String name,
134: java.lang.String description,
135: java.lang.String[] communityPermissions,
136: java.lang.String[] guestPermissions)
137: throws com.liferay.portal.SystemException,
138: com.liferay.portal.PortalException;
139:
140: public com.liferay.portlet.wiki.model.WikiNode addNode(
141: java.lang.String uuid, long userId, long plid,
142: java.lang.String name, java.lang.String description,
143: java.lang.Boolean addCommunityPermissions,
144: java.lang.Boolean addGuestPermissions,
145: java.lang.String[] communityPermissions,
146: java.lang.String[] guestPermissions)
147: throws com.liferay.portal.SystemException,
148: com.liferay.portal.PortalException;
149:
150: public void addNodeResources(long nodeId,
151: boolean addCommunityPermissions, boolean addGuestPermissions)
152: throws com.liferay.portal.SystemException,
153: com.liferay.portal.PortalException;
154:
155: public void addNodeResources(
156: com.liferay.portlet.wiki.model.WikiNode node,
157: boolean addCommunityPermissions, boolean addGuestPermissions)
158: throws com.liferay.portal.SystemException,
159: com.liferay.portal.PortalException;
160:
161: public void addNodeResources(long nodeId,
162: java.lang.String[] communityPermissions,
163: java.lang.String[] guestPermissions)
164: throws com.liferay.portal.SystemException,
165: com.liferay.portal.PortalException;
166:
167: public void addNodeResources(
168: com.liferay.portlet.wiki.model.WikiNode node,
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 deleteNode(long nodeId)
175: throws com.liferay.portal.SystemException,
176: com.liferay.portal.PortalException;
177:
178: public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
179: throws com.liferay.portal.SystemException,
180: com.liferay.portal.PortalException;
181:
182: public void deleteNodes(long groupId)
183: throws com.liferay.portal.SystemException,
184: com.liferay.portal.PortalException;
185:
186: public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
187: throws com.liferay.portal.SystemException,
188: com.liferay.portal.PortalException;
189:
190: public java.util.List getNodes(long groupId)
191: throws com.liferay.portal.SystemException;
192:
193: public java.util.List getNodes(long groupId, int begin, int end)
194: throws com.liferay.portal.SystemException;
195:
196: public int getNodesCount(long groupId)
197: throws com.liferay.portal.SystemException;
198:
199: public void reIndex(java.lang.String[] ids)
200: throws com.liferay.portal.SystemException;
201:
202: public com.liferay.portal.kernel.search.Hits search(long companyId,
203: long groupId, long[] nodeIds, java.lang.String keywords)
204: throws com.liferay.portal.SystemException;
205:
206: public com.liferay.portlet.wiki.model.WikiNode updateNode(
207: long nodeId, java.lang.String name,
208: java.lang.String description)
209: throws com.liferay.portal.SystemException,
210: com.liferay.portal.PortalException;
211: }
|