Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* 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 aQute.bnd.annotation.ProviderType;
import com.liferay.asset.kernel.model.AssetEntry;
import com.liferay.document.library.kernel.model.DLFileShortcut;
import com.liferay.document.library.kernel.model.DLFolder;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.messaging.async.Async;
import com.liferay.portal.kernel.repository.model.FileEntry;
import com.liferay.portal.kernel.repository.model.FileShortcut;
import com.liferay.portal.kernel.repository.model.FileVersion;
import com.liferay.portal.kernel.repository.model.Folder;
import com.liferay.portal.kernel.service.BaseLocalService;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.transaction.Isolation;
import com.liferay.portal.kernel.transaction.Propagation;
import com.liferay.portal.kernel.transaction.Transactional;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* Provides the local service interface for DLAppHelper. Methods of this
* service will not have security checks based on the propagated JAAS
* credentials because this service can only be accessed from within the same
* VM.
*
* @author Brian Wing Shun Chan
* @see DLAppHelperLocalServiceUtil
* @generated
*/
@ProviderType
@Transactional(
isolation = Isolation.PORTAL,
rollbackFor = {PortalException.class, SystemException.class}
)
public interface DLAppHelperLocalService extends BaseLocalService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link DLAppHelperLocalServiceUtil} to access the dl app helper local service. Add custom service methods to com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
public void addFolder(
long userId, Folder folder, ServiceContext serviceContext)
throws PortalException;
public void cancelCheckOut(
long userId, FileEntry fileEntry, FileVersion sourceFileVersion,
FileVersion destinationFileVersion, FileVersion draftFileVersion,
ServiceContext serviceContext)
throws PortalException;
public void cancelCheckOuts(long groupId) throws PortalException;
public void checkAssetEntry(
long userId, FileEntry fileEntry, FileVersion fileVersion)
throws PortalException;
public void deleteFileEntry(FileEntry fileEntry) throws PortalException;
public void deleteFolder(Folder folder) throws PortalException;
public void deleteRepositoryFileEntries(long repositoryId)
throws PortalException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public long getCheckedOutFileEntriesCount(long groupId)
throws PortalException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public void getFileAsStream(
long userId, FileEntry fileEntry, boolean incrementCounter);
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public List getFileShortcuts(
long groupId, long folderId, boolean active, int status);
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public int getFileShortcutsCount(
long groupId, long folderId, boolean active, int status);
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public List getNoAssetFileEntries();
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
public String getOSGiServiceIdentifier();
public void moveDependentsToTrash(DLFolder dlFolder) throws PortalException;
/**
* @deprecated As of Wilberforce (7.0.x), replaced by {@link
#moveDependentsToTrash(DLFolder)}
*/
@Deprecated
public void moveDependentsToTrash(
List