com.liferay.documentlibrary.service
Interface DLService
@Transactional(rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface DLService
Method Summary |
void |
addDirectory(long companyId,
long repositoryId,
java.lang.String dirName)
|
void |
addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
|
void |
addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
ServiceContext serviceContext,
java.io.File file)
|
void |
deleteDirectory(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String dirName)
|
void |
deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName)
|
void |
deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber)
|
byte[] |
getFile(long companyId,
long repositoryId,
java.lang.String fileName)
|
byte[] |
getFile(long companyId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber)
|
java.lang.String[] |
getFileNames(long companyId,
long repositoryId,
java.lang.String dirName)
|
long |
getFileSize(long companyId,
long repositoryId,
java.lang.String fileName)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
long newRepositoryId,
java.lang.String fileName,
long fileEntryId)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
java.lang.String newFileName,
boolean reindex)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
|
void |
updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
ServiceContext serviceContext,
java.io.File file)
|
addDirectory
void addDirectory(long companyId,
long repositoryId,
java.lang.String dirName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFile
void addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFile
void addFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
ServiceContext serviceContext,
java.io.File file)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteDirectory
void deleteDirectory(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String dirName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFile
void deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFile
void deleteFile(long companyId,
java.lang.String portletId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFile
byte[] getFile(long companyId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFile
byte[] getFile(long companyId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFileNames
java.lang.String[] getFileNames(long companyId,
long repositoryId,
java.lang.String dirName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFileSize
long getFileSize(long companyId,
long repositoryId,
java.lang.String fileName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateFile
void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
long newRepositoryId,
java.lang.String fileName,
long fileEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateFile
void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateFile
void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber,
java.lang.String sourceFileName,
long fileEntryId,
java.lang.String properties,
java.util.Date modifiedDate,
ServiceContext serviceContext,
java.io.File file)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateFile
void updateFile(long companyId,
java.lang.String portletId,
long groupId,
long repositoryId,
java.lang.String fileName,
java.lang.String newFileName,
boolean reindex)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException