1
22
23 package com.liferay.portlet.documentlibrary.service;
24
25
26
42 public class DLFolderServiceWrapper implements DLFolderService {
43 public DLFolderServiceWrapper(DLFolderService dlFolderService) {
44 _dlFolderService = dlFolderService;
45 }
46
47 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
48 long groupId, long parentFolderId, java.lang.String name,
49 java.lang.String description,
50 com.liferay.portal.service.ServiceContext serviceContext)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException {
53 return _dlFolderService.addFolder(groupId, parentFolderId, name,
54 description, serviceContext);
55 }
56
57 public com.liferay.portlet.documentlibrary.model.DLFolder copyFolder(
58 long groupId, long sourceFolderId, long parentFolderId,
59 java.lang.String name, java.lang.String description,
60 com.liferay.portal.service.ServiceContext serviceContext)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException, java.rmi.RemoteException {
63 return _dlFolderService.copyFolder(groupId, sourceFolderId,
64 parentFolderId, name, description, serviceContext);
65 }
66
67 public void deleteFolder(long folderId)
68 throws com.liferay.portal.PortalException,
69 com.liferay.portal.SystemException, java.rmi.RemoteException {
70 _dlFolderService.deleteFolder(folderId);
71 }
72
73 public void deleteFolder(long groupId, long parentFolderId,
74 java.lang.String name)
75 throws com.liferay.portal.PortalException,
76 com.liferay.portal.SystemException, java.rmi.RemoteException {
77 _dlFolderService.deleteFolder(groupId, parentFolderId, name);
78 }
79
80 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
81 long folderId)
82 throws com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException {
84 return _dlFolderService.getFolder(folderId);
85 }
86
87 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
88 long groupId, long parentFolderId, java.lang.String name)
89 throws com.liferay.portal.PortalException,
90 com.liferay.portal.SystemException {
91 return _dlFolderService.getFolder(groupId, parentFolderId, name);
92 }
93
94 public long getFolderId(long groupId, long parentFolderId,
95 java.lang.String name)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException {
98 return _dlFolderService.getFolderId(groupId, parentFolderId, name);
99 }
100
101 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
102 long groupId, long parentFolderId)
103 throws com.liferay.portal.PortalException,
104 com.liferay.portal.SystemException {
105 return _dlFolderService.getFolders(groupId, parentFolderId);
106 }
107
108 public boolean hasInheritableLock(long folderId)
109 throws com.liferay.portal.PortalException,
110 com.liferay.portal.SystemException {
111 return _dlFolderService.hasInheritableLock(folderId);
112 }
113
114 public com.liferay.portal.model.Lock lockFolder(long folderId)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException, java.rmi.RemoteException {
117 return _dlFolderService.lockFolder(folderId);
118 }
119
120 public com.liferay.portal.model.Lock lockFolder(long folderId,
121 java.lang.String owner, boolean inheritable, long expirationTime)
122 throws com.liferay.portal.PortalException,
123 com.liferay.portal.SystemException, java.rmi.RemoteException {
124 return _dlFolderService.lockFolder(folderId, owner, inheritable,
125 expirationTime);
126 }
127
128 public com.liferay.portal.model.Lock refreshFolderLock(
129 java.lang.String lockUuid, long expirationTime)
130 throws com.liferay.portal.PortalException,
131 com.liferay.portal.SystemException {
132 return _dlFolderService.refreshFolderLock(lockUuid, expirationTime);
133 }
134
135 public void reIndexSearch(long companyId)
136 throws com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException {
138 _dlFolderService.reIndexSearch(companyId);
139 }
140
141 public void unlockFolder(long groupId, long parentFolderId,
142 java.lang.String name, java.lang.String lockUuid)
143 throws com.liferay.portal.PortalException,
144 com.liferay.portal.SystemException {
145 _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
146 }
147
148 public void unlockFolder(long folderId, java.lang.String lockUuid)
149 throws com.liferay.portal.PortalException,
150 com.liferay.portal.SystemException {
151 _dlFolderService.unlockFolder(folderId, lockUuid);
152 }
153
154 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
155 long folderId, long parentFolderId, java.lang.String name,
156 java.lang.String description,
157 com.liferay.portal.service.ServiceContext serviceContext)
158 throws com.liferay.portal.PortalException,
159 com.liferay.portal.SystemException, java.rmi.RemoteException {
160 return _dlFolderService.updateFolder(folderId, parentFolderId, name,
161 description, serviceContext);
162 }
163
164 public boolean verifyInheritableLock(long folderId,
165 java.lang.String lockUuid)
166 throws com.liferay.portal.PortalException,
167 com.liferay.portal.SystemException {
168 return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
169 }
170
171 public DLFolderService getWrappedDLFolderService() {
172 return _dlFolderService;
173 }
174
175 private DLFolderService _dlFolderService;
176 }