1
14
15 package com.liferay.portlet.documentlibrary.service;
16
17
18
34 public class DLFolderServiceWrapper implements DLFolderService {
35 public DLFolderServiceWrapper(DLFolderService dlFolderService) {
36 _dlFolderService = dlFolderService;
37 }
38
39 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
40 long groupId, long parentFolderId, java.lang.String name,
41 java.lang.String description,
42 com.liferay.portal.service.ServiceContext serviceContext)
43 throws com.liferay.portal.kernel.exception.PortalException,
44 com.liferay.portal.kernel.exception.SystemException {
45 return _dlFolderService.addFolder(groupId, parentFolderId, name,
46 description, serviceContext);
47 }
48
49 public com.liferay.portlet.documentlibrary.model.DLFolder copyFolder(
50 long groupId, long sourceFolderId, long parentFolderId,
51 java.lang.String name, java.lang.String description,
52 com.liferay.portal.service.ServiceContext serviceContext)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException,
55 java.rmi.RemoteException {
56 return _dlFolderService.copyFolder(groupId, sourceFolderId,
57 parentFolderId, name, description, serviceContext);
58 }
59
60 public void deleteFolder(long folderId)
61 throws com.liferay.portal.kernel.exception.PortalException,
62 com.liferay.portal.kernel.exception.SystemException,
63 java.rmi.RemoteException {
64 _dlFolderService.deleteFolder(folderId);
65 }
66
67 public void deleteFolder(long groupId, long parentFolderId,
68 java.lang.String name)
69 throws com.liferay.portal.kernel.exception.PortalException,
70 com.liferay.portal.kernel.exception.SystemException,
71 java.rmi.RemoteException {
72 _dlFolderService.deleteFolder(groupId, parentFolderId, name);
73 }
74
75 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
76 long groupId, java.util.List<java.lang.Long> folderIds, int status,
77 int start, int end)
78 throws com.liferay.portal.kernel.exception.SystemException {
79 return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
80 folderIds, status, start, end);
81 }
82
83 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
84 long groupId, long folderId, int status, int start, int end)
85 throws com.liferay.portal.kernel.exception.SystemException {
86 return _dlFolderService.getFileEntriesAndFileShortcuts(groupId,
87 folderId, status, start, end);
88 }
89
90 public int getFileEntriesAndFileShortcutsCount(long groupId,
91 java.util.List<java.lang.Long> folderIds, int status)
92 throws com.liferay.portal.kernel.exception.SystemException {
93 return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
94 folderIds, status);
95 }
96
97 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
98 int status) throws com.liferay.portal.kernel.exception.SystemException {
99 return _dlFolderService.getFileEntriesAndFileShortcutsCount(groupId,
100 folderId, status);
101 }
102
103 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
104 long folderId)
105 throws com.liferay.portal.kernel.exception.PortalException,
106 com.liferay.portal.kernel.exception.SystemException {
107 return _dlFolderService.getFolder(folderId);
108 }
109
110 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
111 long groupId, long parentFolderId, java.lang.String name)
112 throws com.liferay.portal.kernel.exception.PortalException,
113 com.liferay.portal.kernel.exception.SystemException {
114 return _dlFolderService.getFolder(groupId, parentFolderId, name);
115 }
116
117 public long getFolderId(long groupId, long parentFolderId,
118 java.lang.String name)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 return _dlFolderService.getFolderId(groupId, parentFolderId, name);
122 }
123
124 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
125 long groupId, long parentFolderId)
126 throws com.liferay.portal.kernel.exception.SystemException {
127 return _dlFolderService.getFolders(groupId, parentFolderId);
128 }
129
130 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
131 long groupId, long parentFolderId, int start, int end)
132 throws com.liferay.portal.kernel.exception.SystemException {
133 return _dlFolderService.getFolders(groupId, parentFolderId, start, end);
134 }
135
136 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
137 long groupId, java.util.List<java.lang.Long> folderIds, int status,
138 int start, int end)
139 throws com.liferay.portal.kernel.exception.SystemException {
140 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
141 folderIds, status, start, end);
142 }
143
144 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
145 long groupId, long folderId, int status, int start, int end)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
149 folderId, status, start, end);
150 }
151
152 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
153 java.util.List<java.lang.Long> folderIds, int status)
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
156 folderIds, status);
157 }
158
159 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
160 long folderId, int status)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
164 folderId, status);
165 }
166
167 public int getFoldersCount(long groupId, long parentFolderId)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _dlFolderService.getFoldersCount(groupId, parentFolderId);
170 }
171
172 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
173 long groupId, long folderId)
174 throws com.liferay.portal.kernel.exception.PortalException,
175 com.liferay.portal.kernel.exception.SystemException {
176 _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
177 }
178
179 public boolean hasInheritableLock(long folderId)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _dlFolderService.hasInheritableLock(folderId);
183 }
184
185 public com.liferay.portal.model.Lock lockFolder(long folderId)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException,
188 java.rmi.RemoteException {
189 return _dlFolderService.lockFolder(folderId);
190 }
191
192 public com.liferay.portal.model.Lock lockFolder(long folderId,
193 java.lang.String owner, boolean inheritable, long expirationTime)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException,
196 java.rmi.RemoteException {
197 return _dlFolderService.lockFolder(folderId, owner, inheritable,
198 expirationTime);
199 }
200
201 public com.liferay.portal.model.Lock refreshFolderLock(
202 java.lang.String lockUuid, long expirationTime)
203 throws com.liferay.portal.kernel.exception.PortalException,
204 com.liferay.portal.kernel.exception.SystemException {
205 return _dlFolderService.refreshFolderLock(lockUuid, expirationTime);
206 }
207
208 public void unlockFolder(long groupId, long folderId,
209 java.lang.String lockUuid)
210 throws com.liferay.portal.kernel.exception.PortalException,
211 com.liferay.portal.kernel.exception.SystemException {
212 _dlFolderService.unlockFolder(groupId, folderId, lockUuid);
213 }
214
215 public void unlockFolder(long groupId, long parentFolderId,
216 java.lang.String name, java.lang.String lockUuid)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException {
219 _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
220 }
221
222 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
223 long folderId, long parentFolderId, java.lang.String name,
224 java.lang.String description,
225 com.liferay.portal.service.ServiceContext serviceContext)
226 throws com.liferay.portal.kernel.exception.PortalException,
227 com.liferay.portal.kernel.exception.SystemException,
228 java.rmi.RemoteException {
229 return _dlFolderService.updateFolder(folderId, parentFolderId, name,
230 description, serviceContext);
231 }
232
233 public boolean verifyInheritableLock(long folderId,
234 java.lang.String lockUuid)
235 throws com.liferay.portal.kernel.exception.PortalException,
236 com.liferay.portal.kernel.exception.SystemException {
237 return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
238 }
239
240 public DLFolderService getWrappedDLFolderService() {
241 return _dlFolderService;
242 }
243
244 private DLFolderService _dlFolderService;
245 }