com.liferay.portlet.documentlibrary.service
Interface DLFileVersionLocalService

All Known Implementing Classes:
DLFileVersionLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DLFileVersionLocalService

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.DLFileVersionLocalServiceImpl}. 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:
DLFileVersionLocalServiceUtil
Generated:

Method Summary
 DLFileVersion addDLFileVersion(DLFileVersion dlFileVersion)
           
 DLFileVersion createDLFileVersion(long fileVersionId)
           
 void deleteDLFileVersion(DLFileVersion dlFileVersion)
           
 void deleteDLFileVersion(long fileVersionId)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 DLFileVersion getDLFileVersion(long fileVersionId)
           
 java.util.List<DLFileVersion> getDLFileVersions(int start, int end)
           
 int getDLFileVersionsCount()
           
 DLFileVersion getFileVersion(long groupId, long folderId, java.lang.String name, java.lang.String version)
           
 java.util.List<DLFileVersion> getFileVersions(long groupId, long folderId, java.lang.String name, int status)
           
 DLFileVersion getLatestFileVersion(long groupId, long folderId, java.lang.String name)
           
 DLFileVersion updateDescription(long fileVersionId, java.lang.String description)
           
 DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion)
           
 DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion, boolean merge)
           
 

Method Detail

addDLFileVersion

DLFileVersion addDLFileVersion(DLFileVersion dlFileVersion)
                               throws SystemException
Throws:
SystemException

createDLFileVersion

DLFileVersion createDLFileVersion(long fileVersionId)

deleteDLFileVersion

void deleteDLFileVersion(long fileVersionId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteDLFileVersion

void deleteDLFileVersion(DLFileVersion dlFileVersion)
                         throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getDLFileVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileVersion getDLFileVersion(long fileVersionId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getDLFileVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileVersion> getDLFileVersions(int start,
                                                                                         int end)
                                                throws SystemException
Throws:
SystemException

getDLFileVersionsCount

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

updateDLFileVersion

DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion)
                                  throws SystemException
Throws:
SystemException

updateDLFileVersion

DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion,
                                  boolean merge)
                                  throws SystemException
Throws:
SystemException

getFileVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileVersion getFileVersion(long groupId,
                                                                      long folderId,
                                                                      java.lang.String name,
                                                                      java.lang.String version)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getFileVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DLFileVersion> getFileVersions(long groupId,
                                                                                       long folderId,
                                                                                       java.lang.String name,
                                                                                       int status)
                                              throws SystemException
Throws:
SystemException

getLatestFileVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileVersion getLatestFileVersion(long groupId,
                                                                            long folderId,
                                                                            java.lang.String name)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

updateDescription

DLFileVersion updateDescription(long fileVersionId,
                                java.lang.String description)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException