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.journal.service;
022:
023: /**
024: * <a href="JournalStructureLocalService.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.journal.service.impl.JournalStructureLocalServiceImpl</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.journal.service.JournalStructureLocalServiceFactory
045: * @see com.liferay.portlet.journal.service.JournalStructureLocalServiceUtil
046: *
047: */
048: public interface JournalStructureLocalService {
049: public com.liferay.portlet.journal.model.JournalStructure addJournalStructure(
050: com.liferay.portlet.journal.model.JournalStructure 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.journal.model.JournalStructure updateJournalStructure(
063: com.liferay.portlet.journal.model.JournalStructure model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence();
067:
068: public void setJournalArticlePersistence(
069: com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence);
070:
071: public com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder();
072:
073: public void setJournalArticleFinder(
074: com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder);
075:
076: public com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence();
077:
078: public void setJournalArticleImagePersistence(
079: com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence);
080:
081: public com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence();
082:
083: public void setJournalArticleResourcePersistence(
084: com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence);
085:
086: public com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence();
087:
088: public void setJournalContentSearchPersistence(
089: com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence);
090:
091: public com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence();
092:
093: public void setJournalFeedPersistence(
094: com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence);
095:
096: public com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder();
097:
098: public void setJournalFeedFinder(
099: com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder);
100:
101: public com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence();
102:
103: public void setJournalStructurePersistence(
104: com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence);
105:
106: public com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder();
107:
108: public void setJournalStructureFinder(
109: com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder);
110:
111: public com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence();
112:
113: public void setJournalTemplatePersistence(
114: com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence);
115:
116: public com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder();
117:
118: public void setJournalTemplateFinder(
119: com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder);
120:
121: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
122:
123: public void setResourcePersistence(
124: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
125:
126: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
127:
128: public void setResourceFinder(
129: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
130:
131: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
132:
133: public void setUserPersistence(
134: com.liferay.portal.service.persistence.UserPersistence userPersistence);
135:
136: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
137:
138: public void setUserFinder(
139: com.liferay.portal.service.persistence.UserFinder userFinder);
140:
141: public com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence();
142:
143: public void setWebDAVPropsPersistence(
144: com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence);
145:
146: public void afterPropertiesSet();
147:
148: public com.liferay.portlet.journal.model.JournalStructure addStructure(
149: long userId, java.lang.String structureId,
150: boolean autoStructureId, long plid, java.lang.String name,
151: java.lang.String description, java.lang.String xsd,
152: boolean addCommunityPermissions, boolean addGuestPermissions)
153: throws com.liferay.portal.SystemException,
154: com.liferay.portal.PortalException;
155:
156: public com.liferay.portlet.journal.model.JournalStructure addStructure(
157: java.lang.String uuid, long userId,
158: java.lang.String structureId, boolean autoStructureId,
159: long plid, java.lang.String name,
160: java.lang.String description, java.lang.String xsd,
161: boolean addCommunityPermissions, boolean addGuestPermissions)
162: throws com.liferay.portal.SystemException,
163: com.liferay.portal.PortalException;
164:
165: public com.liferay.portlet.journal.model.JournalStructure addStructure(
166: long userId, java.lang.String structureId,
167: boolean autoStructureId, long plid, java.lang.String name,
168: java.lang.String description, java.lang.String xsd,
169: java.lang.String[] communityPermissions,
170: java.lang.String[] guestPermissions)
171: throws com.liferay.portal.SystemException,
172: com.liferay.portal.PortalException;
173:
174: public com.liferay.portlet.journal.model.JournalStructure addStructure(
175: java.lang.String uuid, long userId,
176: java.lang.String structureId, boolean autoStructureId,
177: long plid, java.lang.String name,
178: java.lang.String description, java.lang.String xsd,
179: java.lang.Boolean addCommunityPermissions,
180: java.lang.Boolean addGuestPermissions,
181: java.lang.String[] communityPermissions,
182: java.lang.String[] guestPermissions)
183: throws com.liferay.portal.SystemException,
184: com.liferay.portal.PortalException;
185:
186: public com.liferay.portlet.journal.model.JournalStructure addStructureToGroup(
187: java.lang.String uuid, long userId,
188: java.lang.String structureId, boolean autoStructureId,
189: long groupId, java.lang.String name,
190: java.lang.String description, java.lang.String xsd,
191: java.lang.Boolean addCommunityPermissions,
192: java.lang.Boolean addGuestPermissions,
193: java.lang.String[] communityPermissions,
194: java.lang.String[] guestPermissions)
195: throws com.liferay.portal.SystemException,
196: com.liferay.portal.PortalException;
197:
198: public void addStructureResources(long groupId,
199: java.lang.String structureId,
200: boolean addCommunityPermissions, boolean addGuestPermissions)
201: throws com.liferay.portal.SystemException,
202: com.liferay.portal.PortalException;
203:
204: public void addStructureResources(
205: com.liferay.portlet.journal.model.JournalStructure structure,
206: boolean addCommunityPermissions, boolean addGuestPermissions)
207: throws com.liferay.portal.SystemException,
208: com.liferay.portal.PortalException;
209:
210: public void addStructureResources(long groupId,
211: java.lang.String structureId,
212: java.lang.String[] communityPermissions,
213: java.lang.String[] guestPermissions)
214: throws com.liferay.portal.SystemException,
215: com.liferay.portal.PortalException;
216:
217: public void addStructureResources(
218: com.liferay.portlet.journal.model.JournalStructure structure,
219: java.lang.String[] communityPermissions,
220: java.lang.String[] guestPermissions)
221: throws com.liferay.portal.SystemException,
222: com.liferay.portal.PortalException;
223:
224: public void checkNewLine(long groupId, java.lang.String structureId)
225: throws com.liferay.portal.SystemException,
226: com.liferay.portal.PortalException;
227:
228: public void deleteStructure(long groupId,
229: java.lang.String structureId)
230: throws com.liferay.portal.SystemException,
231: com.liferay.portal.PortalException;
232:
233: public void deleteStructure(
234: com.liferay.portlet.journal.model.JournalStructure structure)
235: throws com.liferay.portal.SystemException,
236: com.liferay.portal.PortalException;
237:
238: public void deleteStructures(long groupId)
239: throws com.liferay.portal.SystemException,
240: com.liferay.portal.PortalException;
241:
242: public com.liferay.portlet.journal.model.JournalStructure getStructure(
243: long id) throws com.liferay.portal.SystemException,
244: com.liferay.portal.PortalException;
245:
246: public com.liferay.portlet.journal.model.JournalStructure getStructure(
247: long groupId, java.lang.String structureId)
248: throws com.liferay.portal.SystemException,
249: com.liferay.portal.PortalException;
250:
251: public java.util.List getStructures()
252: throws com.liferay.portal.SystemException;
253:
254: public java.util.List getStructures(long groupId)
255: throws com.liferay.portal.SystemException;
256:
257: public java.util.List getStructures(long groupId, int begin, int end)
258: throws com.liferay.portal.SystemException;
259:
260: public int getStructuresCount(long groupId)
261: throws com.liferay.portal.SystemException;
262:
263: public java.util.List search(long companyId, long groupId,
264: java.lang.String keywords, int begin, int end,
265: com.liferay.portal.kernel.util.OrderByComparator obc)
266: throws com.liferay.portal.SystemException;
267:
268: public java.util.List search(long companyId, long groupId,
269: java.lang.String structureId, java.lang.String name,
270: java.lang.String description, boolean andOperator,
271: int begin, int end,
272: com.liferay.portal.kernel.util.OrderByComparator obc)
273: throws com.liferay.portal.SystemException;
274:
275: public int searchCount(long companyId, long groupId,
276: java.lang.String keywords)
277: throws com.liferay.portal.SystemException;
278:
279: public int searchCount(long companyId, long groupId,
280: java.lang.String structureId, java.lang.String name,
281: java.lang.String description, boolean andOperator)
282: throws com.liferay.portal.SystemException;
283:
284: public com.liferay.portlet.journal.model.JournalStructure updateStructure(
285: long groupId, java.lang.String structureId,
286: java.lang.String name, java.lang.String description,
287: java.lang.String xsd)
288: throws com.liferay.portal.SystemException,
289: com.liferay.portal.PortalException;
290: }
|