com.liferay.portlet.documentlibrary.service
Interface DLFileEntryLocalService

All Known Implementing Classes:
DLFileEntryLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface DLFileEntryLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
DLFileEntryLocalServiceUtil
Generated:

Method Summary
 DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
           
 DLFileEntry addFileEntry(java.lang.String uuid, long userId, long groupId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, byte[] bytes, ServiceContext serviceContext)
           
 DLFileEntry addFileEntry(java.lang.String uuid, long userId, long groupId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext)
           
 DLFileEntry addFileEntry(java.lang.String uuid, long userId, long groupId, long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, java.io.InputStream is, long size, ServiceContext serviceContext)
           
 void addFileEntryResources(DLFileEntry fileEntry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileEntryResources(DLFileEntry fileEntry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFileEntryResources(long fileEntryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFileEntryResources(long fileEntryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 DLFileEntry addOrOverwriteFileEntry(long userId, long groupId, long folderId, java.lang.String name, java.lang.String sourceName, java.lang.String title, java.lang.String description, java.lang.String versionDescription, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext)
           
 DLFileEntry createDLFileEntry(long fileEntryId)
           
 void deleteDLFileEntry(DLFileEntry dlFileEntry)
           
 void deleteDLFileEntry(long fileEntryId)
           
 void deleteFileEntries(long groupId, long folderId)
           
 void deleteFileEntry(DLFileEntry fileEntry)
           
 void deleteFileEntry(long groupId, long folderId, java.lang.String name)
           
 void deleteFileEntry(long groupId, long folderId, java.lang.String name, java.lang.String version)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end)
           
 java.util.List<DLFileEntry> getCompanyFileEntries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getCompanyFileEntriesCount(long companyId)
           
 java.util.List<DLFileEntry> getDLFileEntries(int start, int end)
           
 int getDLFileEntriesCount()
           
 DLFileEntry getDLFileEntry(long fileEntryId)
           
 java.io.InputStream getFileAsStream(long companyId, long userId, long groupId, long folderId, java.lang.String name)
           
 java.io.InputStream getFileAsStream(long companyId, long userId, long groupId, long folderId, java.lang.String name, java.lang.String version)
           
 java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId)
           
 java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end)
           
 java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getFileEntriesCount(long groupId, long folderId)
           
 DLFileEntry getFileEntry(long fileEntryId)
           
 DLFileEntry getFileEntry(long groupId, long folderId, java.lang.String name)
           
 DLFileEntry getFileEntryByTitle(long groupId, long folderId, java.lang.String title)
           
 DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 int getFoldersFileEntriesCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
           
 java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end)
           
 java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end)
           
 java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getGroupFileEntriesCount(long groupId)
           
 int getGroupFileEntriesCount(long groupId, long userId)
           
 java.util.List<DLFileEntry> getNoAssetFileEntries()
           
 void updateAsset(long userId, DLFileEntry fileEntry, long[] assetCategoryIds, java.lang.String[] assetTagNames)
           
 DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
           
 DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry, boolean merge)
           
 DLFileEntry updateFileEntry(long userId, long groupId, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String versionDescription, boolean majorVersion, java.lang.String extraSettings, byte[] bytes, ServiceContext serviceContext)
           
 DLFileEntry updateFileEntry(long userId, long groupId, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String versionDescription, boolean majorVersion, java.lang.String extraSettings, java.io.File file, ServiceContext serviceContext)
           
 DLFileEntry updateFileEntry(long userId, long groupId, long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String versionDescription, boolean majorVersion, java.lang.String extraSettings, java.io.InputStream is, long size, ServiceContext serviceContext)
           
 DLFileEntry updateWorkflowStatus(long userId, long fileEntryId, ServiceContext serviceContext)
           
 

Method Detail

addDLFileEntry

DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

createDLFileEntry

DLFileEntry createDLFileEntry(long fileEntryId)

deleteDLFileEntry

void deleteDLFileEntry(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

deleteDLFileEntry

void deleteDLFileEntry(DLFileEntry dlFileEntry)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDLFileEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getDLFileEntry(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

getDLFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getDLFileEntries(int start,
                                                           int end)
                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getDLFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getDLFileEntriesCount()
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateDLFileEntry

DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateDLFileEntry

DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry,
                              boolean merge)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addFileEntry

DLFileEntry addFileEntry(java.lang.String uuid,
                         long userId,
                         long groupId,
                         long folderId,
                         java.lang.String name,
                         java.lang.String title,
                         java.lang.String description,
                         java.lang.String versionDescription,
                         java.lang.String extraSettings,
                         byte[] bytes,
                         ServiceContext serviceContext)
                         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

addFileEntry

DLFileEntry addFileEntry(java.lang.String uuid,
                         long userId,
                         long groupId,
                         long folderId,
                         java.lang.String name,
                         java.lang.String title,
                         java.lang.String description,
                         java.lang.String versionDescription,
                         java.lang.String extraSettings,
                         java.io.File file,
                         ServiceContext serviceContext)
                         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

addFileEntry

DLFileEntry addFileEntry(java.lang.String uuid,
                         long userId,
                         long groupId,
                         long folderId,
                         java.lang.String name,
                         java.lang.String title,
                         java.lang.String description,
                         java.lang.String versionDescription,
                         java.lang.String extraSettings,
                         java.io.InputStream is,
                         long size,
                         ServiceContext serviceContext)
                         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

addFileEntryResources

void addFileEntryResources(DLFileEntry fileEntry,
                           boolean addCommunityPermissions,
                           boolean addGuestPermissions)
                           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

addFileEntryResources

void addFileEntryResources(DLFileEntry fileEntry,
                           java.lang.String[] communityPermissions,
                           java.lang.String[] guestPermissions)
                           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

addFileEntryResources

void addFileEntryResources(long fileEntryId,
                           boolean addCommunityPermissions,
                           boolean addGuestPermissions)
                           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

addFileEntryResources

void addFileEntryResources(long fileEntryId,
                           java.lang.String[] communityPermissions,
                           java.lang.String[] guestPermissions)
                           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

addOrOverwriteFileEntry

DLFileEntry addOrOverwriteFileEntry(long userId,
                                    long groupId,
                                    long folderId,
                                    java.lang.String name,
                                    java.lang.String sourceName,
                                    java.lang.String title,
                                    java.lang.String description,
                                    java.lang.String versionDescription,
                                    java.lang.String extraSettings,
                                    java.io.File file,
                                    ServiceContext serviceContext)
                                    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

deleteFileEntries

void deleteFileEntries(long groupId,
                       long folderId)
                       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

deleteFileEntry

void deleteFileEntry(DLFileEntry fileEntry)
                     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

deleteFileEntry

void deleteFileEntry(long groupId,
                     long folderId,
                     java.lang.String name)
                     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

deleteFileEntry

void deleteFileEntry(long groupId,
                     long folderId,
                     java.lang.String name,
                     java.lang.String version)
                     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

getCompanyFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getCompanyFileEntries(long companyId,
                                                                int start,
                                                                int end)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getCompanyFileEntries(long companyId,
                                                                int start,
                                                                int end,
                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCompanyFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyFileEntriesCount(long companyId)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileAsStream

java.io.InputStream getFileAsStream(long companyId,
                                    long userId,
                                    long groupId,
                                    long folderId,
                                    java.lang.String name)
                                    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

getFileAsStream

java.io.InputStream getFileAsStream(long companyId,
                                    long userId,
                                    long groupId,
                                    long folderId,
                                    java.lang.String name,
                                    java.lang.String version)
                                    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

getFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getFileEntries(long groupId,
                                                         long folderId)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getFileEntries(long groupId,
                                                         long folderId,
                                                         int start,
                                                         int end)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getFileEntries(long groupId,
                                                         long folderId,
                                                         int start,
                                                         int end,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileEntriesCount(long groupId,
                                      long folderId)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFileEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getFileEntry(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

getFileEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getFileEntry(long groupId,
                                       long folderId,
                                       java.lang.String name)
                         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

getFileEntryByTitle

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getFileEntryByTitle(long groupId,
                                              long folderId,
                                              java.lang.String title)
                                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

getFileEntryByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid,
                                                       long groupId)
                                         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

getFoldersFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersFileEntriesCount(long groupId,
                                             java.util.List<java.lang.Long> folderIds,
                                             int status)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
                                                              int start,
                                                              int end)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
                                                              int start,
                                                              int end,
                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
                                                              long userId,
                                                              int start,
                                                              int end)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getGroupFileEntries(long groupId,
                                                              long userId,
                                                              int start,
                                                              int end,
                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupFileEntriesCount(long groupId)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroupFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupFileEntriesCount(long groupId,
                                           long userId)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getNoAssetFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileEntry> getNoAssetFileEntries()
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateAsset

void updateAsset(long userId,
                 DLFileEntry fileEntry,
                 long[] assetCategoryIds,
                 java.lang.String[] assetTagNames)
                 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

updateFileEntry

DLFileEntry updateFileEntry(long userId,
                            long groupId,
                            long folderId,
                            long newFolderId,
                            java.lang.String name,
                            java.lang.String sourceFileName,
                            java.lang.String title,
                            java.lang.String description,
                            java.lang.String versionDescription,
                            boolean majorVersion,
                            java.lang.String extraSettings,
                            byte[] bytes,
                            ServiceContext serviceContext)
                            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

updateFileEntry

DLFileEntry updateFileEntry(long userId,
                            long groupId,
                            long folderId,
                            long newFolderId,
                            java.lang.String name,
                            java.lang.String sourceFileName,
                            java.lang.String title,
                            java.lang.String description,
                            java.lang.String versionDescription,
                            boolean majorVersion,
                            java.lang.String extraSettings,
                            java.io.File file,
                            ServiceContext serviceContext)
                            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

updateFileEntry

DLFileEntry updateFileEntry(long userId,
                            long groupId,
                            long folderId,
                            long newFolderId,
                            java.lang.String name,
                            java.lang.String sourceFileName,
                            java.lang.String title,
                            java.lang.String description,
                            java.lang.String versionDescription,
                            boolean majorVersion,
                            java.lang.String extraSettings,
                            java.io.InputStream is,
                            long size,
                            ServiceContext serviceContext)
                            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

updateWorkflowStatus

DLFileEntry updateWorkflowStatus(long userId,
                                 long fileEntryId,
                                 ServiceContext serviceContext)
                                 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