Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service
Interface DLFileEntryLocalService

All Superinterfaces:
BaseLocalService, PersistedModelLocalService
All Known Implementing Classes:
DLFileEntryLocalServiceBaseImpl, DLFileEntryLocalServiceImpl, DLFileEntryLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DLFileEntryLocalService
extends BaseLocalService, PersistedModelLocalService

The interface for the document library file entry local service.

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.

See Also:
DLFileEntryLocalServiceUtil, DLFileEntryLocalServiceBaseImpl, DLFileEntryLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
          Adds the document library file entry to the database.
 DLFileEntry addFileEntry(long userId, 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 userId, long fileEntryId)
           
 void checkInFileEntry(long userId, long fileEntryId, boolean majorVersion, String changeLog, ServiceContext serviceContext)
           
 void checkInFileEntry(long userId, long fileEntryId, String lockUuid)
           
 DLFileEntry checkOutFileEntry(long userId, long fileEntryId)
          Deprecated. checkOutFileEntry(long, long, ServiceContext)
 DLFileEntry checkOutFileEntry(long userId, long fileEntryId, ServiceContext serviceContext)
           
 DLFileEntry checkOutFileEntry(long userId, long fileEntryId, String owner, long expirationTime)
          Deprecated. checkOutFileEntry(long, long, String, long, ServiceContext)
 DLFileEntry checkOutFileEntry(long userId, long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext)
           
 void convertExtraSettings(String[] keys)
           
 void copyFileEntryMetadata(long companyId, long fileEntryTypeId, long fileEntryId, long fromFileVersionId, long toFileVersionId, ServiceContext serviceContext)
           
 DLFileEntry createDLFileEntry(long fileEntryId)
          Creates a new document library file entry with the primary key.
 DLFileEntry deleteDLFileEntry(DLFileEntry dlFileEntry)
          Deletes the document library file entry from the database.
 DLFileEntry deleteDLFileEntry(long fileEntryId)
          Deletes the document library file entry with the primary key from the database.
 void deleteFileEntries(long groupId, long folderId)
           
 void deleteFileEntry(long fileEntryId)
           
 void deleteFileEntry(long userId, long fileEntryId)
           
 void deleteFileVersion(long userId, long fileEntryId, String version)
           
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 DLFileEntry fetchDLFileEntry(long fileEntryId)
           
 DLFileEntry fetchFileEntryByAnyImageId(long imageId)
           
 DLFileEntry fetchFileEntryByName(long groupId, long folderId, String name)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<DLFileEntry> getDLFileEntries(int start, int end)
          Returns a range of all the document library file entries.
 int getDLFileEntriesCount()
          Returns the number of document library file entries.
 DLFileEntry getDLFileEntry(long fileEntryId)
          Returns the document library file entry with the primary key.
 DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid, long groupId)
          Returns the document library file entry with the UUID in the group.
 List<DLFileEntry> getExtraSettingsFileEntries(int start, int end)
           
 File getFile(long userId, long fileEntryId, String version, boolean incrementCounter)
           
 InputStream getFileAsStream(long userId, long fileEntryId, String version)
           
 InputStream getFileAsStream(long userId, long fileEntryId, String version, boolean incrementCounter)
           
 List<DLFileEntry> getFileEntries(int start, int end)
           
 List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc)
           
 List<DLFileEntry> getFileEntries(long folderId, String name)
           
 int getFileEntriesCount()
           
 int getFileEntriesCount(long groupId, long folderId)
           
 DLFileEntry getFileEntry(long fileEntryId)
           
 DLFileEntry getFileEntry(long groupId, long folderId, String title)
           
 DLFileEntry getFileEntryByName(long groupId, long folderId, String name)
           
 DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end, OrderByComparator obc)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, OrderByComparator obc)
           
 int getGroupFileEntriesCount(long groupId)
           
 int getGroupFileEntriesCount(long groupId, long userId)
           
 List<DLFileEntry> getMisversionedFileEntries()
           
 List<DLFileEntry> getNoAssetFileEntries()
           
 List<DLFileEntry> getOrphanedFileEntries()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 boolean hasExtraSettings()
           
 boolean hasFileEntryLock(long userId, long fileEntryId)
           
 boolean isFileEntryCheckedOut(long fileEntryId)
           
 DLFileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext)
           
 void revertFileEntry(long userId, long fileEntryId, String version, ServiceContext serviceContext)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
          Updates the document library file entry in the database or adds it if it does not yet exist.
 DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry, boolean merge)
          Updates the document library file entry in the database or adds it if it does not yet exist.
 DLFileEntry updateFileEntry(long userId, 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)
           
 void updateSmallImage(long smallImageId, long largeImageId)
           
 DLFileEntry updateStatus(long userId, long fileVersionId, int status, Map<String,Serializable> workflowContext, ServiceContext serviceContext)
           
 boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid)
           
 boolean verifyFileEntryLock(long fileEntryId, String lockUuid)
           
 

Method Detail

addDLFileEntry

DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry)
                           throws SystemException
Adds the document library file entry to the database. Also notifies the appropriate model listeners.

Parameters:
dlFileEntry - the document library file entry
Returns:
the document library file entry that was added
Throws:
SystemException - if a system exception occurred

createDLFileEntry

DLFileEntry createDLFileEntry(long fileEntryId)
Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.

Parameters:
fileEntryId - the primary key for the new document library file entry
Returns:
the new document library file entry

deleteDLFileEntry

DLFileEntry deleteDLFileEntry(long fileEntryId)
                              throws PortalException,
                                     SystemException
Deletes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
fileEntryId - the primary key of the document library file entry
Returns:
the document library file entry that was removed
Throws:
PortalException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

deleteDLFileEntry

DLFileEntry deleteDLFileEntry(DLFileEntry dlFileEntry)
                              throws SystemException
Deletes the document library file entry from the database. Also notifies the appropriate model listeners.

Parameters:
dlFileEntry - the document library file entry
Returns:
the document library file entry that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

DynamicQuery dynamicQuery()

dynamicQuery

List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

List dynamicQuery(DynamicQuery dynamicQuery,
                  int start,
                  int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

List dynamicQuery(DynamicQuery dynamicQuery,
                  int start,
                  int end,
                  OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchDLFileEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry fetchDLFileEntry(long fileEntryId)
                             throws SystemException
Throws:
SystemException

getDLFileEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getDLFileEntry(long fileEntryId)
                           throws PortalException,
                                  SystemException
Returns the document library file entry with the primary key.

Parameters:
fileEntryId - the primary key of the document library file entry
Returns:
the document library file entry
Throws:
PortalException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Throws:
PortalException
SystemException

getDLFileEntryByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid,
                                                                                    long groupId)
                                           throws PortalException,
                                                  SystemException
Returns the document library file entry with the UUID in the group.

Parameters:
uuid - the UUID of document library file entry
groupId - the group id of the document library file entry
Returns:
the document library file entry
Throws:
PortalException - if a document library file entry with the UUID in the group could not be found
SystemException - if a system exception occurred

getDLFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getDLFileEntries(int start,
                                                                            int end)
                                   throws SystemException
Returns a range of all the document library file entries.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of document library file entries
Throws:
SystemException - if a system exception occurred

getDLFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getDLFileEntriesCount()
                          throws SystemException
Returns the number of document library file entries.

Returns:
the number of document library file entries
Throws:
SystemException - if a system exception occurred

updateDLFileEntry

DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry)
                              throws SystemException
Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Parameters:
dlFileEntry - the document library file entry
Returns:
the document library file entry that was updated
Throws:
SystemException - if a system exception occurred

updateDLFileEntry

DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry,
                              boolean merge)
                              throws SystemException
Updates the document library file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Parameters:
dlFileEntry - the document library file entry
merge - whether to merge the document library file entry with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the document library file entry that was updated
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileEntry

DLFileEntry addFileEntry(long userId,
                         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
Throws:
PortalException
SystemException

cancelCheckOut

DLFileVersion cancelCheckOut(long userId,
                             long fileEntryId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

checkInFileEntry

void checkInFileEntry(long userId,
                      long fileEntryId,
                      boolean majorVersion,
                      String changeLog,
                      ServiceContext serviceContext)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

checkInFileEntry

void checkInFileEntry(long userId,
                      long fileEntryId,
                      String lockUuid)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

checkOutFileEntry

DLFileEntry checkOutFileEntry(long userId,
                              long fileEntryId)
                              throws PortalException,
                                     SystemException
Deprecated. checkOutFileEntry(long, long, ServiceContext)

Throws:
PortalException
SystemException

checkOutFileEntry

DLFileEntry checkOutFileEntry(long userId,
                              long fileEntryId,
                              ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

checkOutFileEntry

DLFileEntry checkOutFileEntry(long userId,
                              long fileEntryId,
                              String owner,
                              long expirationTime)
                              throws PortalException,
                                     SystemException
Deprecated. checkOutFileEntry(long, long, String, long, ServiceContext)

Throws:
PortalException
SystemException

checkOutFileEntry

DLFileEntry checkOutFileEntry(long userId,
                              long fileEntryId,
                              String owner,
                              long expirationTime,
                              ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

convertExtraSettings

void convertExtraSettings(String[] keys)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

copyFileEntryMetadata

void copyFileEntryMetadata(long companyId,
                           long fileEntryTypeId,
                           long fileEntryId,
                           long fromFileVersionId,
                           long toFileVersionId,
                           ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteFileEntries

void deleteFileEntries(long groupId,
                       long folderId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

deleteFileEntry

void deleteFileEntry(long fileEntryId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFileEntry

void deleteFileEntry(long userId,
                     long fileEntryId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFileVersion

void deleteFileVersion(long userId,
                       long fileEntryId,
                       String version)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

fetchFileEntryByAnyImageId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry fetchFileEntryByAnyImageId(long imageId)
                                       throws SystemException
Throws:
SystemException

fetchFileEntryByName

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry fetchFileEntryByName(long groupId,
                                                                          long folderId,
                                                                          String name)
                                 throws SystemException
Throws:
SystemException

getExtraSettingsFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getExtraSettingsFileEntries(int start,
                                                                                       int end)
                                              throws SystemException
Throws:
SystemException

getFile

@Transactional(propagation=SUPPORTS,
               readOnly=true)
File getFile(long userId,
                                                      long fileEntryId,
                                                      String version,
                                                      boolean incrementCounter)
             throws PortalException,
                    SystemException
Throws:
PortalException
SystemException

getFileAsStream

InputStream getFileAsStream(long userId,
                            long fileEntryId,
                            String version)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getFileAsStream

InputStream getFileAsStream(long userId,
                            long fileEntryId,
                            String version,
                            boolean incrementCounter)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getFileEntries(int start,
                                                                          int end)
                                 throws SystemException
Throws:
SystemException

getFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getFileEntries(long groupId,
                                                                          long folderId,
                                                                          int start,
                                                                          int end,
                                                                          OrderByComparator obc)
                                 throws SystemException
Throws:
SystemException

getFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getFileEntries(long folderId,
                                                                          String name)
                                 throws SystemException
Throws:
SystemException

getFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileEntriesCount()
                        throws SystemException
Throws:
SystemException

getFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFileEntriesCount(long groupId,
                                                                 long folderId)
                        throws SystemException
Throws:
SystemException

getFileEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getFileEntry(long fileEntryId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getFileEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getFileEntry(long groupId,
                                                                  long folderId,
                                                                  String title)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getFileEntryByName

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getFileEntryByName(long groupId,
                                                                        long folderId,
                                                                        String name)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getFileEntryByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileEntry getFileEntryByUuidAndGroupId(String uuid,
                                                                                  long groupId)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

getGroupFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getGroupFileEntries(long groupId,
                                                                               int start,
                                                                               int end)
                                      throws SystemException
Throws:
SystemException

getGroupFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getGroupFileEntries(long groupId,
                                                                               int start,
                                                                               int end,
                                                                               OrderByComparator obc)
                                      throws SystemException
Throws:
SystemException

getGroupFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getGroupFileEntries(long groupId,
                                                                               long userId,
                                                                               int start,
                                                                               int end)
                                      throws SystemException
Throws:
SystemException

getGroupFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getGroupFileEntries(long groupId,
                                                                               long userId,
                                                                               int start,
                                                                               int end,
                                                                               OrderByComparator obc)
                                      throws SystemException
Throws:
SystemException

getGroupFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupFileEntriesCount(long groupId)
                             throws SystemException
Throws:
SystemException

getGroupFileEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupFileEntriesCount(long groupId,
                                                                      long userId)
                             throws SystemException
Throws:
SystemException

getMisversionedFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getMisversionedFileEntries()
                                             throws SystemException
Throws:
SystemException

getNoAssetFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getNoAssetFileEntries()
                                        throws SystemException
Throws:
SystemException

getOrphanedFileEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<DLFileEntry> getOrphanedFileEntries()
                                         throws SystemException
Throws:
SystemException

hasExtraSettings

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasExtraSettings()
                         throws SystemException
Throws:
SystemException

hasFileEntryLock

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasFileEntryLock(long userId,
                                                                  long fileEntryId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

isFileEntryCheckedOut

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean isFileEntryCheckedOut(long fileEntryId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

moveFileEntry

DLFileEntry moveFileEntry(long userId,
                          long fileEntryId,
                          long newFolderId,
                          ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

revertFileEntry

void revertFileEntry(long userId,
                     long fileEntryId,
                     String version,
                     ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateFileEntry

DLFileEntry updateFileEntry(long userId,
                            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
Throws:
PortalException
SystemException

updateSmallImage

void updateSmallImage(long smallImageId,
                      long largeImageId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

updateStatus

DLFileEntry updateStatus(long userId,
                         long fileVersionId,
                         int status,
                         Map<String,Serializable> workflowContext,
                         ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

verifyFileEntryCheckOut

boolean verifyFileEntryCheckOut(long fileEntryId,
                                String lockUuid)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

verifyFileEntryLock

boolean verifyFileEntryLock(long fileEntryId,
                            String lockUuid)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3