Liferay 6.0.5

com.liferay.documentlibrary.service
Interface DLService

All Known Implementing Classes:
DLServiceImpl

@Transactional(rollbackFor={PortalException.class,SystemException.class})
public interface DLService


Method Summary
 void addDirectory(long companyId, long repositoryId, String dirName)
           
 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 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)
           
 String[] getFileNames(long companyId, long repositoryId, String dirName)
           
 long getFileSize(long companyId, long repositoryId, String fileName)
           
 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 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)
           
 

Method Detail

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,
             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

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

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

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 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

updateFile

void updateFile(long companyId,
                String portletId,
                long groupId,
                long repositoryId,
                String fileName,
                String newFileName,
                boolean reindex)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5