/portal-kernel/src/com/liferay/document/library/kernel/service/DLFolderServiceWrapper.java
Java | 422 lines | 303 code | 85 blank | 34 comment | 0 complexity | 386a126415aaa07dbec1e68ca99a5f6c MD5 | raw file
- /**
- * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
- package com.liferay.document.library.kernel.service;
- import com.liferay.portal.kernel.service.ServiceWrapper;
- import org.osgi.annotation.versioning.ProviderType;
- /**
- * Provides a wrapper for {@link DLFolderService}.
- *
- * @author Brian Wing Shun Chan
- * @see DLFolderService
- * @generated
- */
- @ProviderType
- public class DLFolderServiceWrapper
- implements DLFolderService, ServiceWrapper<DLFolderService> {
- public DLFolderServiceWrapper(DLFolderService dlFolderService) {
- _dlFolderService = dlFolderService;
- }
- @Override
- public com.liferay.document.library.kernel.model.DLFolder addFolder(
- long groupId, long repositoryId, boolean mountPoint,
- long parentFolderId, String name, String description,
- com.liferay.portal.kernel.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.addFolder(
- groupId, repositoryId, mountPoint, parentFolderId, name,
- description, serviceContext);
- }
- @Override
- public void deleteFolder(long folderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- _dlFolderService.deleteFolder(folderId);
- }
- @Override
- public void deleteFolder(long folderId, boolean includeTrashedEntries)
- throws com.liferay.portal.kernel.exception.PortalException {
- _dlFolderService.deleteFolder(folderId, includeTrashedEntries);
- }
- @Override
- public void deleteFolder(long groupId, long parentFolderId, String name)
- throws com.liferay.portal.kernel.exception.PortalException {
- _dlFolderService.deleteFolder(groupId, parentFolderId, name);
- }
- @Override
- public java.util.List<Object> getFileEntriesAndFileShortcuts(
- long groupId, long folderId, int status, int start, int end)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFileEntriesAndFileShortcuts(
- groupId, folderId, status, start, end);
- }
- @Override
- public int getFileEntriesAndFileShortcutsCount(
- long groupId, long folderId, int status)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFileEntriesAndFileShortcutsCount(
- groupId, folderId, status);
- }
- @Override
- public int getFileEntriesAndFileShortcutsCount(
- long groupId, long folderId, int status, String[] mimeTypes)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFileEntriesAndFileShortcutsCount(
- groupId, folderId, status, mimeTypes);
- }
- @Override
- public com.liferay.document.library.kernel.model.DLFolder getFolder(
- long folderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFolder(folderId);
- }
- @Override
- public com.liferay.document.library.kernel.model.DLFolder getFolder(
- long groupId, long parentFolderId, String name)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFolder(groupId, parentFolderId, name);
- }
- @Override
- public java.util.List<Long> getFolderIds(long groupId, long folderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFolderIds(groupId, folderId);
- }
- @Override
- public java.util.List<com.liferay.document.library.kernel.model.DLFolder>
- getFolders(
- long groupId, long parentFolderId, int status,
- boolean includeMountfolders, int start, int end,
- com.liferay.portal.kernel.util.OrderByComparator
- <com.liferay.document.library.kernel.model.DLFolder> obc)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFolders(
- groupId, parentFolderId, status, includeMountfolders, start, end,
- obc);
- }
- @Override
- public java.util.List<com.liferay.document.library.kernel.model.DLFolder>
- getFolders(
- long groupId, long parentFolderId, int start, int end,
- com.liferay.portal.kernel.util.OrderByComparator
- <com.liferay.document.library.kernel.model.DLFolder> obc)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFolders(
- groupId, parentFolderId, start, end, obc);
- }
- @Override
- public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
- long groupId, long folderId, int status,
- boolean includeMountFolders, int start, int end,
- com.liferay.portal.kernel.util.OrderByComparator<?> obc)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(
- groupId, folderId, status, includeMountFolders, start, end, obc);
- }
- @Override
- public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
- long groupId, long folderId, int status, String[] mimeTypes,
- boolean includeMountFolders, int start, int end,
- com.liferay.portal.kernel.util.OrderByComparator<?> obc)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(
- groupId, folderId, status, mimeTypes, includeMountFolders, start,
- end, obc);
- }
- @Override
- public java.util.List<Object> getFoldersAndFileEntriesAndFileShortcuts(
- long groupId, long folderId, String[] mimeTypes,
- boolean includeMountFolders,
- com.liferay.portal.kernel.dao.orm.QueryDefinition<?>
- queryDefinition)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFoldersAndFileEntriesAndFileShortcuts(
- groupId, folderId, mimeTypes, includeMountFolders, queryDefinition);
- }
- @Override
- public int getFoldersAndFileEntriesAndFileShortcutsCount(
- long groupId, long folderId, int status,
- boolean includeMountFolders)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(
- groupId, folderId, status, includeMountFolders);
- }
- @Override
- public int getFoldersAndFileEntriesAndFileShortcutsCount(
- long groupId, long folderId, int status, String[] mimeTypes,
- boolean includeMountFolders)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(
- groupId, folderId, status, mimeTypes, includeMountFolders);
- }
- @Override
- public int getFoldersAndFileEntriesAndFileShortcutsCount(
- long groupId, long folderId, String[] mimeTypes,
- boolean includeMountFolders,
- com.liferay.portal.kernel.dao.orm.QueryDefinition<?>
- queryDefinition)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFoldersAndFileEntriesAndFileShortcutsCount(
- groupId, folderId, mimeTypes, includeMountFolders, queryDefinition);
- }
- @Override
- public int getFoldersCount(long groupId, long parentFolderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFoldersCount(groupId, parentFolderId);
- }
- @Override
- public int getFoldersCount(
- long groupId, long parentFolderId, int status,
- boolean includeMountfolders)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getFoldersCount(
- groupId, parentFolderId, status, includeMountfolders);
- }
- @Override
- public java.util.List<com.liferay.document.library.kernel.model.DLFolder>
- getMountFolders(
- long groupId, long parentFolderId, int start, int end,
- com.liferay.portal.kernel.util.OrderByComparator
- <com.liferay.document.library.kernel.model.DLFolder> obc)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getMountFolders(
- groupId, parentFolderId, start, end, obc);
- }
- @Override
- public int getMountFoldersCount(long groupId, long parentFolderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getMountFoldersCount(groupId, parentFolderId);
- }
- /**
- * Returns the OSGi service identifier.
- *
- * @return the OSGi service identifier
- */
- @Override
- public String getOSGiServiceIdentifier() {
- return _dlFolderService.getOSGiServiceIdentifier();
- }
- /**
- * @deprecated As of Wilberforce (7.0.x), replaced by {@link
- #getSubfolderIds(List, long, long, boolean)}
- */
- @Deprecated
- @Override
- public void getSubfolderIds(
- java.util.List<Long> folderIds, long groupId, long folderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- _dlFolderService.getSubfolderIds(folderIds, groupId, folderId);
- }
- @Override
- public void getSubfolderIds(
- java.util.List<Long> folderIds, long groupId, long folderId,
- boolean recurse)
- throws com.liferay.portal.kernel.exception.PortalException {
- _dlFolderService.getSubfolderIds(folderIds, groupId, folderId, recurse);
- }
- @Override
- public java.util.List<Long> getSubfolderIds(
- long groupId, long folderId, boolean recurse)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.getSubfolderIds(groupId, folderId, recurse);
- }
- @Override
- public boolean hasFolderLock(long folderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.hasFolderLock(folderId);
- }
- @Override
- public boolean hasInheritableLock(long folderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.hasInheritableLock(folderId);
- }
- @Override
- public boolean isFolderLocked(long folderId) {
- return _dlFolderService.isFolderLocked(folderId);
- }
- @Override
- public com.liferay.portal.kernel.lock.Lock lockFolder(long folderId)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.lockFolder(folderId);
- }
- @Override
- public com.liferay.portal.kernel.lock.Lock lockFolder(
- long folderId, String owner, boolean inheritable,
- long expirationTime)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.lockFolder(
- folderId, owner, inheritable, expirationTime);
- }
- @Override
- public com.liferay.document.library.kernel.model.DLFolder moveFolder(
- long folderId, long parentFolderId,
- com.liferay.portal.kernel.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.moveFolder(
- folderId, parentFolderId, serviceContext);
- }
- @Override
- public com.liferay.portal.kernel.lock.Lock refreshFolderLock(
- String lockUuid, long companyId, long expirationTime)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.refreshFolderLock(
- lockUuid, companyId, expirationTime);
- }
- @Override
- public void unlockFolder(
- long groupId, long parentFolderId, String name, String lockUuid)
- throws com.liferay.portal.kernel.exception.PortalException {
- _dlFolderService.unlockFolder(groupId, parentFolderId, name, lockUuid);
- }
- @Override
- public void unlockFolder(long folderId, String lockUuid)
- throws com.liferay.portal.kernel.exception.PortalException {
- _dlFolderService.unlockFolder(folderId, lockUuid);
- }
- @Override
- public com.liferay.document.library.kernel.model.DLFolder updateFolder(
- long folderId, long parentFolderId, String name, String description,
- long defaultFileEntryTypeId, java.util.List<Long> fileEntryTypeIds,
- int restrictionType,
- com.liferay.portal.kernel.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.updateFolder(
- folderId, parentFolderId, name, description, defaultFileEntryTypeId,
- fileEntryTypeIds, restrictionType, serviceContext);
- }
- /**
- * @deprecated As of Wilberforce (7.0.x), replaced by more general {@link
- #updateFolder(long, String, String, long, List, int,
- ServiceContext)}
- */
- @Deprecated
- @Override
- public com.liferay.document.library.kernel.model.DLFolder updateFolder(
- long folderId, String name, String description,
- long defaultFileEntryTypeId, java.util.List<Long> fileEntryTypeIds,
- boolean overrideFileEntryTypes,
- com.liferay.portal.kernel.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.updateFolder(
- folderId, name, description, defaultFileEntryTypeId,
- fileEntryTypeIds, overrideFileEntryTypes, serviceContext);
- }
- @Override
- public com.liferay.document.library.kernel.model.DLFolder updateFolder(
- long folderId, String name, String description,
- long defaultFileEntryTypeId, java.util.List<Long> fileEntryTypeIds,
- int restrictionType,
- com.liferay.portal.kernel.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.updateFolder(
- folderId, name, description, defaultFileEntryTypeId,
- fileEntryTypeIds, restrictionType, serviceContext);
- }
- @Override
- public boolean verifyInheritableLock(long folderId, String lockUuid)
- throws com.liferay.portal.kernel.exception.PortalException {
- return _dlFolderService.verifyInheritableLock(folderId, lockUuid);
- }
- @Override
- public DLFolderService getWrappedService() {
- return _dlFolderService;
- }
- @Override
- public void setWrappedService(DLFolderService dlFolderService) {
- _dlFolderService = dlFolderService;
- }
- private DLFolderService _dlFolderService;
- }