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