Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.service
Class DLFileEntryServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileEntryServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<DLFileEntryService>, DLFileEntryService

@ProviderType
public class DLFileEntryServiceWrapper
extends Object
implements DLFileEntryService, ServiceWrapper<DLFileEntryService>

Provides a wrapper for DLFileEntryService.

See Also:
DLFileEntryService

Constructor Summary
DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
           
 
Method Summary
 DLFileEntry addFileEntry(long groupId, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, long fileEntryTypeId, Map<String,Fields> fieldsMap, File file, InputStream is, long size, ServiceContext serviceContext)
           
 DLFileVersion cancelCheckOut(long fileEntryId)
           
 void checkInFileEntry(long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext)
           
 void checkInFileEntry(long fileEntryId, String lockUuid)
          Deprecated. As of 6.2.0, replaced by checkInFileEntry(long, String, ServiceContext)
 void checkInFileEntry(long fileEntryId, String lockUuid, ServiceContext serviceContext)
           
 DLFileEntry checkOutFileEntry(long fileEntryId)
          Deprecated. As of 6.2.0, replaced by checkOutFileEntry(long, ServiceContext)
 DLFileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext)
           
 DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime)
          Deprecated. As of 6.2.0, replaced by checkOutFileEntry(long, String, long, ServiceContext)
 DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext)
           
 DLFileEntry copyFileEntry(long groupId, long repositoryId, long fileEntryId, long destFolderId, ServiceContext serviceContext)
           
 void deleteFileEntry(long fileEntryId)
           
 void deleteFileEntry(long groupId, long folderId, String title)
           
 void deleteFileVersion(long fileEntryId, String version)
           
 DLFileEntry fetchFileEntryByImageId(long imageId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 InputStream getFileAsStream(long fileEntryId, String version)
           
 InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter)
           
 List<DLFileEntry> getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator obc)
           
 List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc)
           
 List<DLFileEntry> getFileEntries(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator obc)
           
 List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int start, int end, OrderByComparator obc)
           
 int getFileEntriesCount(long groupId, long folderId)
           
 int getFileEntriesCount(long groupId, long folderId, int status)
           
 int getFileEntriesCount(long groupId, long folderId, long fileEntryTypeId)
           
 int getFileEntriesCount(long groupId, long folderId, String[] mimeTypes)
           
 DLFileEntry getFileEntry(long fileEntryId)
           
 DLFileEntry getFileEntry(long groupId, long folderId, String title)
           
 DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId)
           
 Lock getFileEntryLock(long fileEntryId)
           
 int getFoldersFileEntriesCount(long groupId, List<Long> folderIds, int status)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, int start, int end, OrderByComparator obc)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator obc)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator obc)
           
 int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId)
           
 int getGroupFileEntriesCount(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status)
           
 int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status)
           
 DLFileEntryService getWrappedDLFileEntryService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 DLFileEntryService getWrappedService()
           
 boolean hasFileEntryLock(long fileEntryId)
           
 boolean isFileEntryCheckedOut(long fileEntryId)
           
 DLFileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext)
           
 Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime)
           
 void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext)
           
 Hits search(long groupId, long creatorUserId, int status, int start, int end)
           
 Hits search(long groupId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDLFileEntryService(DLFileEntryService dlFileEntryService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryService)
 void setWrappedService(DLFileEntryService dlFileEntryService)
           
 DLFileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, long fileEntryTypeId, Map<String,Fields> fieldsMap, File file, InputStream is, long size, ServiceContext serviceContext)
           
 boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid)
           
 boolean verifyFileEntryLock(long fileEntryId, String lockUuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryServiceWrapper

public DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface DLFileEntryService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface DLFileEntryService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileEntry

public DLFileEntry addFileEntry(long groupId,
                                long repositoryId,
                                long folderId,
                                String sourceFileName,
                                String mimeType,
                                String title,
                                String description,
                                String changeLog,
                                long fileEntryTypeId,
                                Map<String,Fields> fieldsMap,
                                File file,
                                InputStream is,
                                long size,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Specified by:
addFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

cancelCheckOut

public DLFileVersion cancelCheckOut(long fileEntryId)
                             throws PortalException,
                                    SystemException
Specified by:
cancelCheckOut in interface DLFileEntryService
Throws:
PortalException
SystemException

checkInFileEntry

public void checkInFileEntry(long fileEntryId,
                             boolean major,
                             String changeLog,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Specified by:
checkInFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

checkInFileEntry

public void checkInFileEntry(long fileEntryId,
                             String lockUuid)
                      throws PortalException,
                             SystemException
Deprecated. As of 6.2.0, replaced by checkInFileEntry(long, String, ServiceContext)

Specified by:
checkInFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

checkInFileEntry

public void checkInFileEntry(long fileEntryId,
                             String lockUuid,
                             ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Specified by:
checkInFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

checkOutFileEntry

public DLFileEntry checkOutFileEntry(long fileEntryId)
                              throws PortalException,
                                     SystemException
Deprecated. As of 6.2.0, replaced by checkOutFileEntry(long, ServiceContext)

Specified by:
checkOutFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

checkOutFileEntry

public DLFileEntry checkOutFileEntry(long fileEntryId,
                                     ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Specified by:
checkOutFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

checkOutFileEntry

public DLFileEntry checkOutFileEntry(long fileEntryId,
                                     String owner,
                                     long expirationTime)
                              throws PortalException,
                                     SystemException
Deprecated. As of 6.2.0, replaced by checkOutFileEntry(long, String, long, ServiceContext)

Specified by:
checkOutFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

checkOutFileEntry

public DLFileEntry checkOutFileEntry(long fileEntryId,
                                     String owner,
                                     long expirationTime,
                                     ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Specified by:
checkOutFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

copyFileEntry

public DLFileEntry copyFileEntry(long groupId,
                                 long repositoryId,
                                 long fileEntryId,
                                 long destFolderId,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
copyFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

deleteFileEntry

public void deleteFileEntry(long fileEntryId)
                     throws PortalException,
                            SystemException
Specified by:
deleteFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

deleteFileEntry

public void deleteFileEntry(long groupId,
                            long folderId,
                            String title)
                     throws PortalException,
                            SystemException
Specified by:
deleteFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

deleteFileVersion

public void deleteFileVersion(long fileEntryId,
                              String version)
                       throws PortalException,
                              SystemException
Specified by:
deleteFileVersion in interface DLFileEntryService
Throws:
PortalException
SystemException

fetchFileEntryByImageId

public DLFileEntry fetchFileEntryByImageId(long imageId)
                                    throws PortalException,
                                           SystemException
Specified by:
fetchFileEntryByImageId in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileAsStream

public InputStream getFileAsStream(long fileEntryId,
                                   String version)
                            throws PortalException,
                                   SystemException
Specified by:
getFileAsStream in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileAsStream

public InputStream getFileAsStream(long fileEntryId,
                                   String version,
                                   boolean incrementCounter)
                            throws PortalException,
                                   SystemException
Specified by:
getFileAsStream in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileEntries

public List<DLFileEntry> getFileEntries(long groupId,
                                        long folderId,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator obc)
                                 throws PortalException,
                                        SystemException
Specified by:
getFileEntries in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileEntries

public List<DLFileEntry> getFileEntries(long groupId,
                                        long folderId,
                                        int start,
                                        int end,
                                        OrderByComparator obc)
                                 throws PortalException,
                                        SystemException
Specified by:
getFileEntries in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileEntries

public List<DLFileEntry> getFileEntries(long groupId,
                                        long folderId,
                                        long fileEntryTypeId,
                                        int start,
                                        int end,
                                        OrderByComparator obc)
                                 throws PortalException,
                                        SystemException
Specified by:
getFileEntries in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileEntries

public List<DLFileEntry> getFileEntries(long groupId,
                                        long folderId,
                                        String[] mimeTypes,
                                        int start,
                                        int end,
                                        OrderByComparator obc)
                                 throws PortalException,
                                        SystemException
Specified by:
getFileEntries in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileEntriesCount

public int getFileEntriesCount(long groupId,
                               long folderId)
                        throws SystemException
Specified by:
getFileEntriesCount in interface DLFileEntryService
Throws:
SystemException

getFileEntriesCount

public int getFileEntriesCount(long groupId,
                               long folderId,
                               int status)
                        throws SystemException
Specified by:
getFileEntriesCount in interface DLFileEntryService
Throws:
SystemException

getFileEntriesCount

public int getFileEntriesCount(long groupId,
                               long folderId,
                               long fileEntryTypeId)
                        throws SystemException
Specified by:
getFileEntriesCount in interface DLFileEntryService
Throws:
SystemException

getFileEntriesCount

public int getFileEntriesCount(long groupId,
                               long folderId,
                               String[] mimeTypes)
                        throws SystemException
Specified by:
getFileEntriesCount in interface DLFileEntryService
Throws:
SystemException

getFileEntry

public DLFileEntry getFileEntry(long fileEntryId)
                         throws PortalException,
                                SystemException
Specified by:
getFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileEntry

public DLFileEntry getFileEntry(long groupId,
                                long folderId,
                                String title)
                         throws PortalException,
                                SystemException
Specified by:
getFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileEntryByUuidAndGroupId

public DLFileEntry getFileEntryByUuidAndGroupId(String uuid,
                                                long groupId)
                                         throws PortalException,
                                                SystemException
Specified by:
getFileEntryByUuidAndGroupId in interface DLFileEntryService
Throws:
PortalException
SystemException

getFileEntryLock

public Lock getFileEntryLock(long fileEntryId)
Specified by:
getFileEntryLock in interface DLFileEntryService

getFoldersFileEntriesCount

public int getFoldersFileEntriesCount(long groupId,
                                      List<Long> folderIds,
                                      int status)
                               throws SystemException
Specified by:
getFoldersFileEntriesCount in interface DLFileEntryService
Throws:
SystemException

getGroupFileEntries

public List<DLFileEntry> getGroupFileEntries(long groupId,
                                             long userId,
                                             long rootFolderId,
                                             int start,
                                             int end,
                                             OrderByComparator obc)
                                      throws PortalException,
                                             SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryService
Throws:
PortalException
SystemException

getGroupFileEntries

public List<DLFileEntry> getGroupFileEntries(long groupId,
                                             long userId,
                                             long rootFolderId,
                                             String[] mimeTypes,
                                             int status,
                                             int start,
                                             int end,
                                             OrderByComparator obc)
                                      throws PortalException,
                                             SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryService
Throws:
PortalException
SystemException

getGroupFileEntries

public List<DLFileEntry> getGroupFileEntries(long groupId,
                                             long userId,
                                             long repositoryId,
                                             long rootFolderId,
                                             String[] mimeTypes,
                                             int status,
                                             int start,
                                             int end,
                                             OrderByComparator obc)
                                      throws PortalException,
                                             SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryService
Throws:
PortalException
SystemException

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId,
                                    long userId,
                                    long rootFolderId)
                             throws PortalException,
                                    SystemException
Specified by:
getGroupFileEntriesCount in interface DLFileEntryService
Throws:
PortalException
SystemException

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId,
                                    long userId,
                                    long rootFolderId,
                                    String[] mimeTypes,
                                    int status)
                             throws PortalException,
                                    SystemException
Specified by:
getGroupFileEntriesCount in interface DLFileEntryService
Throws:
PortalException
SystemException

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId,
                                    long userId,
                                    long repositoryId,
                                    long rootFolderId,
                                    String[] mimeTypes,
                                    int status)
                             throws PortalException,
                                    SystemException
Specified by:
getGroupFileEntriesCount in interface DLFileEntryService
Throws:
PortalException
SystemException

hasFileEntryLock

public boolean hasFileEntryLock(long fileEntryId)
                         throws PortalException,
                                SystemException
Specified by:
hasFileEntryLock in interface DLFileEntryService
Throws:
PortalException
SystemException

isFileEntryCheckedOut

public boolean isFileEntryCheckedOut(long fileEntryId)
                              throws PortalException,
                                     SystemException
Specified by:
isFileEntryCheckedOut in interface DLFileEntryService
Throws:
PortalException
SystemException

moveFileEntry

public DLFileEntry moveFileEntry(long fileEntryId,
                                 long newFolderId,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
moveFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

refreshFileEntryLock

public Lock refreshFileEntryLock(String lockUuid,
                                 long companyId,
                                 long expirationTime)
                          throws PortalException,
                                 SystemException
Specified by:
refreshFileEntryLock in interface DLFileEntryService
Throws:
PortalException
SystemException

revertFileEntry

public void revertFileEntry(long fileEntryId,
                            String version,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Specified by:
revertFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

search

public Hits search(long groupId,
                   long creatorUserId,
                   int status,
                   int start,
                   int end)
            throws PortalException,
                   SystemException
Specified by:
search in interface DLFileEntryService
Throws:
PortalException
SystemException

search

public Hits search(long groupId,
                   long creatorUserId,
                   long folderId,
                   String[] mimeTypes,
                   int status,
                   int start,
                   int end)
            throws PortalException,
                   SystemException
Specified by:
search in interface DLFileEntryService
Throws:
PortalException
SystemException

updateFileEntry

public DLFileEntry updateFileEntry(long fileEntryId,
                                   String sourceFileName,
                                   String mimeType,
                                   String title,
                                   String description,
                                   String changeLog,
                                   boolean majorVersion,
                                   long fileEntryTypeId,
                                   Map<String,Fields> fieldsMap,
                                   File file,
                                   InputStream is,
                                   long size,
                                   ServiceContext serviceContext)
                            throws PortalException,
                                   SystemException
Specified by:
updateFileEntry in interface DLFileEntryService
Throws:
PortalException
SystemException

verifyFileEntryCheckOut

public boolean verifyFileEntryCheckOut(long fileEntryId,
                                       String lockUuid)
                                throws PortalException,
                                       SystemException
Specified by:
verifyFileEntryCheckOut in interface DLFileEntryService
Throws:
PortalException
SystemException

verifyFileEntryLock

public boolean verifyFileEntryLock(long fileEntryId,
                                   String lockUuid)
                            throws PortalException,
                                   SystemException
Specified by:
verifyFileEntryLock in interface DLFileEntryService
Throws:
PortalException
SystemException

getWrappedDLFileEntryService

public DLFileEntryService getWrappedDLFileEntryService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedDLFileEntryService

public void setWrappedDLFileEntryService(DLFileEntryService dlFileEntryService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryService)


getWrappedService

public DLFileEntryService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DLFileEntryService>

setWrappedService

public void setWrappedService(DLFileEntryService dlFileEntryService)
Specified by:
setWrappedService in interface ServiceWrapper<DLFileEntryService>

Liferay 6.2-ce-ga5