Liferay 6.0.5

com.liferay.documentlibrary.service.impl
Class DLServiceImpl

java.lang.Object
  extended by com.liferay.documentlibrary.service.impl.DLServiceImpl
All Implemented Interfaces:
DLService

public class DLServiceImpl
extends Object
implements DLService


Field Summary
protected  DLLocalService dlLocalService
           
static String GROUP_NAME
           
static String[] GROUP_NAME_ARRAY
           
protected  Hook hook
           
 
Constructor Summary
DLServiceImpl()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP_NAME

public static final String GROUP_NAME

GROUP_NAME_ARRAY

public static final String[] GROUP_NAME_ARRAY

dlLocalService

@BeanReference(type=DLLocalService.class)
protected DLLocalService dlLocalService

hook

@BeanReference(type=Hook.class)
protected Hook hook
Constructor Detail

DLServiceImpl

public DLServiceImpl()
Method Detail

addDirectory

public void addDirectory(long companyId,
                         long repositoryId,
                         String dirName)
                  throws PortalException,
                         SystemException
Specified by:
addDirectory in interface DLService
Throws:
PortalException
SystemException

addFile

public 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
Specified by:
addFile in interface DLService
Throws:
PortalException
SystemException

addFile

public 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
Specified by:
addFile in interface DLService
Throws:
PortalException
SystemException

deleteDirectory

public void deleteDirectory(long companyId,
                            String portletId,
                            long repositoryId,
                            String dirName)
                     throws PortalException,
                            SystemException
Specified by:
deleteDirectory in interface DLService
Throws:
PortalException
SystemException

deleteFile

public void deleteFile(long companyId,
                       String portletId,
                       long repositoryId,
                       String fileName)
                throws PortalException,
                       SystemException
Specified by:
deleteFile in interface DLService
Throws:
PortalException
SystemException

deleteFile

public void deleteFile(long companyId,
                       String portletId,
                       long repositoryId,
                       String fileName,
                       String versionNumber)
                throws PortalException,
                       SystemException
Specified by:
deleteFile in interface DLService
Throws:
PortalException
SystemException

getFile

public byte[] getFile(long companyId,
                      long repositoryId,
                      String fileName)
               throws PortalException,
                      SystemException
Specified by:
getFile in interface DLService
Throws:
PortalException
SystemException

getFile

public byte[] getFile(long companyId,
                      long repositoryId,
                      String fileName,
                      String versionNumber)
               throws PortalException,
                      SystemException
Specified by:
getFile in interface DLService
Throws:
PortalException
SystemException

getFileNames

public String[] getFileNames(long companyId,
                             long repositoryId,
                             String dirName)
                      throws PortalException,
                             SystemException
Specified by:
getFileNames in interface DLService
Throws:
PortalException
SystemException

getFileSize

public long getFileSize(long companyId,
                        long repositoryId,
                        String fileName)
                 throws PortalException,
                        SystemException
Specified by:
getFileSize in interface DLService
Throws:
PortalException
SystemException

updateFile

public void updateFile(long companyId,
                       String portletId,
                       long groupId,
                       long repositoryId,
                       long newRepositoryId,
                       String fileName,
                       long fileEntryId)
                throws PortalException,
                       SystemException
Specified by:
updateFile in interface DLService
Throws:
PortalException
SystemException

updateFile

public 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
Specified by:
updateFile in interface DLService
Throws:
PortalException
SystemException

updateFile

public 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
Specified by:
updateFile in interface DLService
Throws:
PortalException
SystemException

updateFile

public void updateFile(long companyId,
                       String portletId,
                       long groupId,
                       long repositoryId,
                       String fileName,
                       String newFileName,
                       boolean reindex)
                throws PortalException,
                       SystemException
Specified by:
updateFile in interface DLService
Throws:
PortalException
SystemException

Liferay 6.0.5