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