001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017
018
027 public class DLFolderServiceWrapper implements DLFolderService {
028 public DLFolderServiceWrapper(DLFolderService dlFolderService) {
029 _dlFolderService = dlFolderService;
030 }
031
032 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
033 long groupId, long parentFolderId, java.lang.String name,
034 java.lang.String description,
035 com.liferay.portal.service.ServiceContext serviceContext)
036 throws com.liferay.portal.kernel.exception.PortalException,
037 com.liferay.portal.kernel.exception.SystemException {
038 return _dlFolderService.addFolder(groupId, parentFolderId, name,
039 description, serviceContext);
040 }
041
042 public com.liferay.portlet.documentlibrary.model.DLFolder copyFolder(
043 long groupId, long sourceFolderId, long parentFolderId,
044 java.lang.String name, java.lang.String description,
045 com.liferay.portal.service.ServiceContext serviceContext)
046 throws com.liferay.portal.kernel.exception.PortalException,
047 com.liferay.portal.kernel.exception.SystemException,
048 java.rmi.RemoteException {
049 return _dlFolderService.copyFolder(groupId, sourceFolderId,
050 parentFolderId, name, description, serviceContext);
051 }
052
053 public void deleteFolder(long folderId)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException,
056 java.rmi.RemoteException {
057 _dlFolderService.deleteFolder(folderId);
058 }
059
060 public void deleteFolder(long groupId, long parentFolderId,
061 java.lang.String name)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException,
064 java.rmi.RemoteException {
065 _dlFolderService.deleteFolder(groupId, parentFolderId, name);
066 }
067
068 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
069 long groupId, java.util.List<java.lang.Long> folderIds, int status,
070 int start, int end)
071 throws com.liferay.portal.kernel.exception.SystemException {
072 return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
073 folderIds, status, start, end);
074 }
075
076 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
077 long groupId, long folderId, int status, int start, int end)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
080 folderId, status, start, end);
081 }
082
083 public int getFileEntriesAndFileShortcutsCount(long groupId,
084 java.util.List<java.lang.Long> folderIds, int status)
085 throws com.liferay.portal.kernel.exception.SystemException {
086 return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
087 folderIds, status);
088 }
089
090 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
091 int status) throws com.liferay.portal.kernel.exception.SystemException {
092 return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
093 folderId, status);
094 }
095
096 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
097 long folderId)
098 throws com.liferay.portal.kernel.exception.PortalException,
099 com.liferay.portal.kernel.exception.SystemException {
100 return _dlFolderService.getFolder(folderId);
101 }
102
103 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
104 long groupId, long parentFolderId, java.lang.String name)
105 throws com.liferay.portal.kernel.exception.PortalException,
106 com.liferay.portal.kernel.exception.SystemException {
107 return _dlFolderService.getFolder(groupId, parentFolderId, name);
108 }
109
110 public long getFolderId(long groupId, long parentFolderId,
111 java.lang.String name)
112 throws com.liferay.portal.kernel.exception.PortalException,
113 com.liferay.portal.kernel.exception.SystemException {
114 return _dlFolderService.getFolderId(groupId, parentFolderId, name);
115 }
116
117 public long[] getFolderIds(long groupId, long folderId)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return _dlFolderService.getFolderIds(groupId, folderId);
120 }
121
122 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
123 long groupId, long parentFolderId)
124 throws com.liferay.portal.kernel.exception.SystemException {
125 return _dlFolderService.getFolders(groupId, parentFolderId);
126 }
127
128 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
129 long groupId, long parentFolderId, int start, int end)
130 throws com.liferay.portal.kernel.exception.SystemException {
131 return _dlFolderService.getFolders(groupId, parentFolderId, start, end);
132 }
133
134 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
135 long groupId, java.util.List<java.lang.Long> folderIds, int status,
136 int start, int end)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
139 folderIds, status, start, end);
140 }
141
142 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
143 long groupId, long folderId, int status, int start, int end)
144 throws com.liferay.portal.kernel.exception.PortalException,
145 com.liferay.portal.kernel.exception.SystemException {
146 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
147 folderId, status, start, end);
148 }
149
150 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
151 java.util.List<java.lang.Long> folderIds, int status)
152 throws com.liferay.portal.kernel.exception.SystemException {
153 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
154 folderIds, status);
155 }
156
157 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
158 long folderId, int status)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
162 folderId, status);
163 }
164
165 public int getFoldersCount(long groupId, long parentFolderId)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return _dlFolderService.getFoldersCount(groupId, parentFolderId);
168 }
169
170 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
171 long groupId, long folderId)
172 throws com.liferay.portal.kernel.exception.SystemException {
173 _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
174 }
175
176 public boolean hasInheritableLock(long folderId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return _dlFolderService.hasInheritableLock(folderId);
180 }
181
182 public com.liferay.portal.model.Lock lockFolder(long folderId)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException,
185 java.rmi.RemoteException {
186 return _dlFolderService.lockFolder(folderId);
187 }
188
189 public com.liferay.portal.model.Lock lockFolder(long folderId,
190 java.lang.String owner, boolean inheritable, long expirationTime)
191 throws com.liferay.portal.kernel.exception.PortalException,
192 com.liferay.portal.kernel.exception.SystemException,
193 java.rmi.RemoteException {
194 return _dlFolderService.lockFolder(folderId, owner, inheritable,
195 expirationTime);
196 }
197
198 public com.liferay.portal.model.Lock refreshFolderLock(
199 java.lang.String lockUuid, long expirationTime)
200 throws com.liferay.portal.kernel.exception.PortalException,
201 com.liferay.portal.kernel.exception.SystemException {
202 return _dlFolderService.refreshFolderLock(lockUuid, expirationTime);
203 }
204
205 public void unlockFolder(long groupId, long folderId,
206 java.lang.String lockUuid)
207 throws com.liferay.portal.kernel.exception.PortalException,
208 com.liferay.portal.kernel.exception.SystemException {
209 _dlFolderService.unlockFolder(groupId, folderId, lockUuid);
210 }
211
212 public void unlockFolder(long groupId, long parentFolderId,
213 java.lang.String name, java.lang.String lockUuid)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException {
216 _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
217 }
218
219 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
220 long folderId, long parentFolderId, java.lang.String name,
221 java.lang.String description,
222 com.liferay.portal.service.ServiceContext serviceContext)
223 throws com.liferay.portal.kernel.exception.PortalException,
224 com.liferay.portal.kernel.exception.SystemException,
225 java.rmi.RemoteException {
226 return _dlFolderService.updateFolder(folderId, parentFolderId, name,
227 description, serviceContext);
228 }
229
230 public boolean verifyInheritableLock(long folderId,
231 java.lang.String lockUuid)
232 throws com.liferay.portal.kernel.exception.PortalException,
233 com.liferay.portal.kernel.exception.SystemException {
234 return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
235 }
236
237 public DLFolderService getWrappedDLFolderService() {
238 return _dlFolderService;
239 }
240
241 private DLFolderService _dlFolderService;
242 }