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="DLFileShortcutLocalService.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.DLFileShortcutLocalServiceImpl</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.DLFileShortcutLocalServiceFactory
045: * @see com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalServiceUtil
046: *
047: */
048: public interface DLFileShortcutLocalService {
049: public com.liferay.portlet.documentlibrary.model.DLFileShortcut addDLFileShortcut(
050: com.liferay.portlet.documentlibrary.model.DLFileShortcut 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.DLFileShortcut updateDLFileShortcut(
063: com.liferay.portlet.documentlibrary.model.DLFileShortcut 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.ResourcePersistence getResourcePersistence();
112:
113: public void setResourcePersistence(
114: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
115:
116: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
117:
118: public void setResourceFinder(
119: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
120:
121: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
122:
123: public void setUserPersistence(
124: com.liferay.portal.service.persistence.UserPersistence userPersistence);
125:
126: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
127:
128: public void setUserFinder(
129: com.liferay.portal.service.persistence.UserFinder userFinder);
130:
131: public void afterPropertiesSet();
132:
133: public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
134: long userId, long folderId, long toFolderId,
135: java.lang.String toName, boolean addCommunityPermissions,
136: boolean addGuestPermissions)
137: throws com.liferay.portal.SystemException,
138: com.liferay.portal.PortalException;
139:
140: public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
141: java.lang.String uuid, long userId, long folderId,
142: long toFolderId, java.lang.String toName,
143: boolean addCommunityPermissions, boolean addGuestPermissions)
144: throws com.liferay.portal.SystemException,
145: com.liferay.portal.PortalException;
146:
147: public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
148: long userId, long folderId, long toFolderId,
149: java.lang.String toName,
150: java.lang.String[] communityPermissions,
151: java.lang.String[] guestPermissions)
152: throws com.liferay.portal.SystemException,
153: com.liferay.portal.PortalException;
154:
155: public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
156: java.lang.String uuid, long userId, long folderId,
157: long toFolderId, java.lang.String toName,
158: java.lang.Boolean addCommunityPermissions,
159: java.lang.Boolean addGuestPermissions,
160: java.lang.String[] communityPermissions,
161: java.lang.String[] guestPermissions)
162: throws com.liferay.portal.SystemException,
163: com.liferay.portal.PortalException;
164:
165: public void addFileShortcutResources(long fileShortcutId,
166: boolean addCommunityPermissions, boolean addGuestPermissions)
167: throws com.liferay.portal.SystemException,
168: com.liferay.portal.PortalException;
169:
170: public void addFileShortcutResources(
171: com.liferay.portlet.documentlibrary.model.DLFolder folder,
172: com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
173: boolean addCommunityPermissions, boolean addGuestPermissions)
174: throws com.liferay.portal.SystemException,
175: com.liferay.portal.PortalException;
176:
177: public void addFileShortcutResources(long fileShortcutId,
178: java.lang.String[] communityPermissions,
179: java.lang.String[] guestPermissions)
180: throws com.liferay.portal.SystemException,
181: com.liferay.portal.PortalException;
182:
183: public void addFileShortcutResources(
184: com.liferay.portlet.documentlibrary.model.DLFolder folder,
185: com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
186: java.lang.String[] communityPermissions,
187: java.lang.String[] guestPermissions)
188: throws com.liferay.portal.SystemException,
189: com.liferay.portal.PortalException;
190:
191: public void deleteFileShortcut(long fileShortcutId)
192: throws com.liferay.portal.SystemException,
193: com.liferay.portal.PortalException;
194:
195: public void deleteFileShortcut(
196: com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
197: throws com.liferay.portal.SystemException,
198: com.liferay.portal.PortalException;
199:
200: public void deleteFileShortcuts(long toFolderId,
201: java.lang.String toName)
202: throws com.liferay.portal.SystemException,
203: com.liferay.portal.PortalException;
204:
205: public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
206: long fileShortcutId)
207: throws com.liferay.portal.SystemException,
208: com.liferay.portal.PortalException;
209:
210: public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
211: long userId, long fileShortcutId, long folderId,
212: long toFolderId, java.lang.String toName)
213: throws com.liferay.portal.SystemException,
214: com.liferay.portal.PortalException;
215:
216: public void updateFileShortcuts(long oldToFolderId,
217: java.lang.String oldToName, long newToFolderId,
218: java.lang.String newToName)
219: throws com.liferay.portal.SystemException,
220: com.liferay.portal.PortalException;
221: }
|