com.liferay.documentlibrary.service
Interface DLLocalService
@Transactional(rollbackFor={PortalException.class,SystemException.class})
public interface DLLocalService
|
Method Summary |
void |
addDirectory(long companyId,
long repositoryId,
String dirName)
|
void |
addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
boolean validateFileExtension,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
InputStream is)
|
void |
addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
|
void |
addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
File file)
|
void |
checkRoot(long companyId)
|
void |
deleteDirectory(long companyId,
String portletId,
long repositoryId,
String dirName)
|
void |
deleteFile(long companyId,
String portletId,
long repositoryId,
String fileName)
|
void |
deleteFile(long companyId,
String portletId,
long repositoryId,
String fileName,
String versionNumber)
|
byte[] |
getFile(long companyId,
long repositoryId,
String fileName)
|
byte[] |
getFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
|
InputStream |
getFileAsStream(long companyId,
long repositoryId,
String fileName)
|
InputStream |
getFileAsStream(long companyId,
long repositoryId,
String fileName,
String versionNumber)
|
String[] |
getFileNames(long companyId,
long repositoryId,
String dirName)
|
long |
getFileSize(long companyId,
long repositoryId,
String fileName)
|
boolean |
hasFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
|
void |
move(String srcDir,
String destDir)
|
Hits |
search(long companyId,
String portletId,
long groupId,
long userId,
long[] repositoryIds,
String keywords,
int start,
int end)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
long newRepositoryId,
String fileName,
long fileEntryId)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String newFileName,
boolean reindex)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String fileExtension,
boolean validateFileExtension,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
InputStream is)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
|
void |
updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
File file)
|
void |
validate(String fileName,
boolean validateFileExtension)
|
void |
validate(String fileName,
boolean validateFileExtension,
byte[] bytes)
|
void |
validate(String fileName,
boolean validateFileExtension,
File file)
|
void |
validate(String fileName,
boolean validateFileExtension,
InputStream is)
|
void |
validate(String fileName,
String fileExtension,
String sourceFileName,
boolean validateFileExtension,
InputStream is)
|
addDirectory
void addDirectory(long companyId,
long repositoryId,
String dirName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFile
void addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
boolean validateFileExtension,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
InputStream is)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFile
void addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFile
void addFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkRoot
void checkRoot(long companyId)
throws SystemException
- Throws:
SystemException
deleteDirectory
void deleteDirectory(long companyId,
String portletId,
long repositoryId,
String dirName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFile
void deleteFile(long companyId,
String portletId,
long repositoryId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFile
void deleteFile(long companyId,
String portletId,
long repositoryId,
String fileName,
String versionNumber)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFile
byte[] getFile(long companyId,
long repositoryId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFile
byte[] getFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileAsStream
InputStream getFileAsStream(long companyId,
long repositoryId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileAsStream
InputStream getFileAsStream(long companyId,
long repositoryId,
String fileName,
String versionNumber)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileNames
String[] getFileNames(long companyId,
long repositoryId,
String dirName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileSize
long getFileSize(long companyId,
long repositoryId,
String fileName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasFile
boolean hasFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
move
void move(String srcDir,
String destDir)
throws SystemException
- Throws:
SystemException
search
Hits search(long companyId,
String portletId,
long groupId,
long userId,
long[] repositoryIds,
String keywords,
int start,
int end)
throws SystemException
- Throws:
SystemException
updateFile
void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
long newRepositoryId,
String fileName,
long fileEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFile
void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String newFileName,
boolean reindex)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFile
void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String fileExtension,
boolean validateFileExtension,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
InputStream is)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFile
void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
byte[] bytes)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFile
void updateFile(long companyId,
String portletId,
long groupId,
long repositoryId,
String fileName,
String versionNumber,
String sourceFileName,
long fileEntryId,
String properties,
Date modifiedDate,
ServiceContext serviceContext,
File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
void validate(String fileName,
boolean validateFileExtension)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
void validate(String fileName,
boolean validateFileExtension,
byte[] bytes)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
void validate(String fileName,
boolean validateFileExtension,
File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
void validate(String fileName,
boolean validateFileExtension,
InputStream is)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
void validate(String fileName,
String fileExtension,
String sourceFileName,
boolean validateFileExtension,
InputStream is)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException