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.documentlibrary.service;
022:
023: /**
024: * <a href="DLFolderLocalService.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.documentlibrary.service.impl.DLFolderLocalServiceImpl</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.documentlibrary.service.DLFolderLocalServiceFactory
045: * @see com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil
046: *
047: */
048: public interface DLFolderLocalService {
049: public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
050: com.liferay.portlet.documentlibrary.model.DLFolder 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.documentlibrary.model.DLFolder updateDLFolder(
063: com.liferay.portlet.documentlibrary.model.DLFolder model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence getDLFileEntryPersistence();
067:
068: public void setDLFileEntryPersistence(
069: com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence dlFileEntryPersistence);
070:
071: public com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder getDLFileEntryFinder();
072:
073: public void setDLFileEntryFinder(
074: com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder dlFileEntryFinder);
075:
076: public com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryAndShortcutFinder getDLFileEntryAndShortcutFinder();
077:
078: public void setDLFileEntryAndShortcutFinder(
079: com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryAndShortcutFinder dlFileEntryAndShortcutFinder);
080:
081: public com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence getDLFileRankPersistence();
082:
083: public void setDLFileRankPersistence(
084: com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence dlFileRankPersistence);
085:
086: public com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder getDLFileRankFinder();
087:
088: public void setDLFileRankFinder(
089: com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder dlFileRankFinder);
090:
091: public com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence getDLFileShortcutPersistence();
092:
093: public void setDLFileShortcutPersistence(
094: com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence dlFileShortcutPersistence);
095:
096: public com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutFinder getDLFileShortcutFinder();
097:
098: public void setDLFileShortcutFinder(
099: com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutFinder dlFileShortcutFinder);
100:
101: public com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence getDLFileVersionPersistence();
102:
103: public void setDLFileVersionPersistence(
104: com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence dlFileVersionPersistence);
105:
106: public com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence getDLFolderPersistence();
107:
108: public void setDLFolderPersistence(
109: com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence dlFolderPersistence);
110:
111: public com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence();
112:
113: public void setLayoutPersistence(
114: com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence);
115:
116: public com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder();
117:
118: public void setLayoutFinder(
119: com.liferay.portal.service.persistence.LayoutFinder layoutFinder);
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.documentlibrary.model.DLFolder addFolder(
149: long userId, long plid, long parentFolderId,
150: java.lang.String name, java.lang.String description,
151: boolean addCommunityPermissions, boolean addGuestPermissions)
152: throws com.liferay.portal.SystemException,
153: com.liferay.portal.PortalException;
154:
155: public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
156: java.lang.String uuid, long userId, long plid,
157: long parentFolderId, java.lang.String name,
158: java.lang.String description,
159: boolean addCommunityPermissions, boolean addGuestPermissions)
160: throws com.liferay.portal.SystemException,
161: com.liferay.portal.PortalException;
162:
163: public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
164: long userId, long plid, long parentFolderId,
165: java.lang.String name, java.lang.String description,
166: java.lang.String[] communityPermissions,
167: java.lang.String[] guestPermissions)
168: throws com.liferay.portal.SystemException,
169: com.liferay.portal.PortalException;
170:
171: public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
172: java.lang.String uuid, long userId, long plid,
173: long parentFolderId, java.lang.String name,
174: java.lang.String description,
175: java.lang.Boolean addCommunityPermissions,
176: java.lang.Boolean addGuestPermissions,
177: java.lang.String[] communityPermissions,
178: java.lang.String[] guestPermissions)
179: throws com.liferay.portal.SystemException,
180: com.liferay.portal.PortalException;
181:
182: public com.liferay.portlet.documentlibrary.model.DLFolder addFolderToGroup(
183: java.lang.String uuid, long userId, long groupId,
184: long parentFolderId, java.lang.String name,
185: java.lang.String description,
186: java.lang.Boolean addCommunityPermissions,
187: java.lang.Boolean addGuestPermissions,
188: java.lang.String[] communityPermissions,
189: java.lang.String[] guestPermissions)
190: throws com.liferay.portal.SystemException,
191: com.liferay.portal.PortalException;
192:
193: public void addFolderResources(long folderId,
194: boolean addCommunityPermissions, boolean addGuestPermissions)
195: throws com.liferay.portal.SystemException,
196: com.liferay.portal.PortalException;
197:
198: public void addFolderResources(
199: com.liferay.portlet.documentlibrary.model.DLFolder folder,
200: boolean addCommunityPermissions, boolean addGuestPermissions)
201: throws com.liferay.portal.SystemException,
202: com.liferay.portal.PortalException;
203:
204: public void addFolderResources(long folderId,
205: java.lang.String[] communityPermissions,
206: java.lang.String[] guestPermissions)
207: throws com.liferay.portal.SystemException,
208: com.liferay.portal.PortalException;
209:
210: public void addFolderResources(
211: com.liferay.portlet.documentlibrary.model.DLFolder folder,
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 deleteFolder(long folderId)
218: throws com.liferay.portal.SystemException,
219: com.liferay.portal.PortalException;
220:
221: public void deleteFolder(
222: com.liferay.portlet.documentlibrary.model.DLFolder folder)
223: throws com.liferay.portal.SystemException,
224: com.liferay.portal.PortalException;
225:
226: public void deleteFolders(long groupId)
227: throws com.liferay.portal.SystemException,
228: com.liferay.portal.PortalException;
229:
230: public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
231: long folderId) throws com.liferay.portal.SystemException,
232: com.liferay.portal.PortalException;
233:
234: public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
235: long groupId, long parentFolderId, java.lang.String name)
236: throws com.liferay.portal.SystemException,
237: com.liferay.portal.PortalException;
238:
239: public java.util.List getFolders(long companyId)
240: throws com.liferay.portal.SystemException;
241:
242: public java.util.List getFolders(long groupId, long parentFolderId)
243: throws com.liferay.portal.SystemException;
244:
245: public java.util.List getFolders(long groupId, long parentFolderId,
246: int begin, int end)
247: throws com.liferay.portal.SystemException;
248:
249: public int getFoldersCount(long groupId, long parentFolderId)
250: throws com.liferay.portal.SystemException;
251:
252: public void getSubfolderIds(java.util.List folderIds, long groupId,
253: long folderId) throws com.liferay.portal.SystemException;
254:
255: public void reIndex(java.lang.String[] ids)
256: throws com.liferay.portal.SystemException;
257:
258: public com.liferay.portal.kernel.search.Hits search(long companyId,
259: long groupId, long[] folderIds, java.lang.String keywords)
260: throws com.liferay.portal.SystemException,
261: com.liferay.portal.PortalException;
262:
263: public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
264: long folderId, long parentFolderId, java.lang.String name,
265: java.lang.String description)
266: throws com.liferay.portal.SystemException,
267: com.liferay.portal.PortalException;
268: }
|