com.liferay.portlet.documentlibrary.service
Interface DLFileVersionLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.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
addDLFileVersion
DLFileVersion addDLFileVersion(DLFileVersion dlFileVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createDLFileVersion
DLFileVersion createDLFileVersion(long fileVersionId)
deleteDLFileVersion
void deleteDLFileVersion(long fileVersionId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteDLFileVersion
void deleteDLFileVersion(DLFileVersion dlFileVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.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.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFileVersion
@Transactional(propagation=SUPPORTS,
readOnly=true)
DLFileVersion getDLFileVersion(long fileVersionId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getDLFileVersions
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileVersion> getDLFileVersions(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFileVersionsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getDLFileVersionsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateDLFileVersion
DLFileVersion updateDLFileVersion(DLFileVersion dlFileVersion)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFileVersions
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<DLFileVersion> getFileVersions(long folderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException