Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service
Class DLFileEntryLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<DLFileEntryLocalService>, DLFileEntryLocalService

public class DLFileEntryLocalServiceWrapper
extends Object
implements DLFileEntryLocalService, ServiceWrapper<DLFileEntryLocalService>

This class is a wrapper for DLFileEntryLocalService.

See Also:
DLFileEntryLocalService

Constructor Summary
DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
           
 
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)
           
 DLFileEntryLocalService getWrappedDLFileEntryLocalService()
          Deprecated. Renamed to getWrappedService()
 DLFileEntryLocalService getWrappedService()
           
 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.
 void setWrappedDLFileEntryLocalService(DLFileEntryLocalService dlFileEntryLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService)
 void setWrappedService(DLFileEntryLocalService dlFileEntryLocalService)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryLocalServiceWrapper

public DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
Method Detail

addDLFileEntry

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

Specified by:
addDLFileEntry in interface DLFileEntryLocalService
Parameters:
dlFileEntry - the document library file entry
Returns:
the document library file entry that was added
Throws:
SystemException - if a system exception occurred

createDLFileEntry

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

Specified by:
createDLFileEntry in interface DLFileEntryLocalService
Parameters:
fileEntryId - the primary key for the new document library file entry
Returns:
the new document library file entry

deleteDLFileEntry

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

Specified by:
deleteDLFileEntry in interface DLFileEntryLocalService
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

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

Specified by:
deleteDLFileEntry in interface DLFileEntryLocalService
Parameters:
dlFileEntry - the document library file entry
Returns:
the document library file entry that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface DLFileEntryLocalService

dynamicQuery

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

Specified by:
dynamicQuery in interface DLFileEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

Specified by:
dynamicQuery in interface DLFileEntryLocalService
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

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

Specified by:
dynamicQuery in interface DLFileEntryLocalService
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

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

Specified by:
dynamicQueryCount in interface DLFileEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchDLFileEntry

public DLFileEntry fetchDLFileEntry(long fileEntryId)
                             throws SystemException
Specified by:
fetchDLFileEntry in interface DLFileEntryLocalService
Throws:
SystemException

getDLFileEntry

public DLFileEntry getDLFileEntry(long fileEntryId)
                           throws PortalException,
                                  SystemException
Returns the document library file entry with the primary key.

Specified by:
getDLFileEntry in interface DLFileEntryLocalService
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

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getDLFileEntryByUuidAndGroupId

public DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid,
                                                  long groupId)
                                           throws PortalException,
                                                  SystemException
Returns the document library file entry with the UUID in the group.

Specified by:
getDLFileEntryByUuidAndGroupId in interface DLFileEntryLocalService
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

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

Specified by:
getDLFileEntries in interface DLFileEntryLocalService
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

public int getDLFileEntriesCount()
                          throws SystemException
Returns the number of document library file entries.

Specified by:
getDLFileEntriesCount in interface DLFileEntryLocalService
Returns:
the number of document library file entries
Throws:
SystemException - if a system exception occurred

updateDLFileEntry

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

Specified by:
updateDLFileEntry in interface DLFileEntryLocalService
Parameters:
dlFileEntry - the document library file entry
Returns:
the document library file entry that was updated
Throws:
SystemException - if a system exception occurred

updateDLFileEntry

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

Specified by:
updateDLFileEntry in interface DLFileEntryLocalService
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

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

Specified by:
getBeanIdentifier in interface DLFileEntryLocalService
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 DLFileEntryLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileEntry

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

cancelCheckOut

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

checkInFileEntry

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

checkInFileEntry

public void checkInFileEntry(long userId,
                             long fileEntryId,
                             String lockUuid)
                      throws PortalException,
                             SystemException
Specified by:
checkInFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

checkOutFileEntry

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

Specified by:
checkOutFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

checkOutFileEntry

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

checkOutFileEntry

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

Specified by:
checkOutFileEntry in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

checkOutFileEntry

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

convertExtraSettings

public void convertExtraSettings(String[] keys)
                          throws PortalException,
                                 SystemException
Specified by:
convertExtraSettings in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

copyFileEntryMetadata

public void copyFileEntryMetadata(long companyId,
                                  long fileEntryTypeId,
                                  long fileEntryId,
                                  long fromFileVersionId,
                                  long toFileVersionId,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Specified by:
copyFileEntryMetadata in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

deleteFileEntries

public void deleteFileEntries(long groupId,
                              long folderId)
                       throws PortalException,
                              SystemException
Specified by:
deleteFileEntries in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

deleteFileEntry

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

deleteFileEntry

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

deleteFileVersion

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

fetchFileEntryByAnyImageId

public DLFileEntry fetchFileEntryByAnyImageId(long imageId)
                                       throws SystemException
Specified by:
fetchFileEntryByAnyImageId in interface DLFileEntryLocalService
Throws:
SystemException

fetchFileEntryByName

public DLFileEntry fetchFileEntryByName(long groupId,
                                        long folderId,
                                        String name)
                                 throws SystemException
Specified by:
fetchFileEntryByName in interface DLFileEntryLocalService
Throws:
SystemException

getExtraSettingsFileEntries

public List<DLFileEntry> getExtraSettingsFileEntries(int start,
                                                     int end)
                                              throws SystemException
Specified by:
getExtraSettingsFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getFile

public File getFile(long userId,
                    long fileEntryId,
                    String version,
                    boolean incrementCounter)
             throws PortalException,
                    SystemException
Specified by:
getFile in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getFileAsStream

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

getFileAsStream

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

getFileEntries

public List<DLFileEntry> getFileEntries(int start,
                                        int end)
                                 throws SystemException
Specified by:
getFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getFileEntries

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

getFileEntries

public List<DLFileEntry> getFileEntries(long folderId,
                                        String name)
                                 throws SystemException
Specified by:
getFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getFileEntriesCount

public int getFileEntriesCount()
                        throws SystemException
Specified by:
getFileEntriesCount in interface DLFileEntryLocalService
Throws:
SystemException

getFileEntriesCount

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

getFileEntry

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

getFileEntry

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

getFileEntryByName

public DLFileEntry getFileEntryByName(long groupId,
                                      long folderId,
                                      String name)
                               throws PortalException,
                                      SystemException
Specified by:
getFileEntryByName in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

getFileEntryByUuidAndGroupId

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

getGroupFileEntries

public List<DLFileEntry> getGroupFileEntries(long groupId,
                                             int start,
                                             int end)
                                      throws SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntries

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

getGroupFileEntries

public List<DLFileEntry> getGroupFileEntries(long groupId,
                                             long userId,
                                             int start,
                                             int end)
                                      throws SystemException
Specified by:
getGroupFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntries

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

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId)
                             throws SystemException
Specified by:
getGroupFileEntriesCount in interface DLFileEntryLocalService
Throws:
SystemException

getGroupFileEntriesCount

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

getMisversionedFileEntries

public List<DLFileEntry> getMisversionedFileEntries()
                                             throws SystemException
Specified by:
getMisversionedFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getNoAssetFileEntries

public List<DLFileEntry> getNoAssetFileEntries()
                                        throws SystemException
Specified by:
getNoAssetFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

getOrphanedFileEntries

public List<DLFileEntry> getOrphanedFileEntries()
                                         throws SystemException
Specified by:
getOrphanedFileEntries in interface DLFileEntryLocalService
Throws:
SystemException

hasExtraSettings

public boolean hasExtraSettings()
                         throws SystemException
Specified by:
hasExtraSettings in interface DLFileEntryLocalService
Throws:
SystemException

hasFileEntryLock

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

isFileEntryCheckedOut

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

moveFileEntry

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

revertFileEntry

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

updateFileEntry

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

updateSmallImage

public void updateSmallImage(long smallImageId,
                             long largeImageId)
                      throws PortalException,
                             SystemException
Specified by:
updateSmallImage in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

updateStatus

public DLFileEntry updateStatus(long userId,
                                long fileVersionId,
                                int status,
                                Map<String,Serializable> workflowContext,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Specified by:
updateStatus in interface DLFileEntryLocalService
Throws:
PortalException
SystemException

verifyFileEntryCheckOut

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

verifyFileEntryLock

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

getWrappedDLFileEntryLocalService

public DLFileEntryLocalService getWrappedDLFileEntryLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedDLFileEntryLocalService

public void setWrappedDLFileEntryLocalService(DLFileEntryLocalService dlFileEntryLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService)


getWrappedService

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

setWrappedService

public void setWrappedService(DLFileEntryLocalService dlFileEntryLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DLFileEntryLocalService>

Liferay 6.1.2-ce-ga3