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