Class DLFileVersionServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFileVersionServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFileVersionServiceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.DLFileVersionService
,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseService
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileVersionServiceBaseImpl
counterLocalService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.document.library.kernel.model.DLFileVersion
getFileVersion
(long fileVersionId) List<com.liferay.document.library.kernel.model.DLFileVersion>
getFileVersions
(long fileEntryId, int status) int
getFileVersionsCount
(long fileEntryId, int status) com.liferay.document.library.kernel.model.DLFileVersion
getLatestFileVersion
(long fileEntryId) com.liferay.document.library.kernel.model.DLFileVersion
getLatestFileVersion
(long fileEntryId, boolean excludeWorkingCopy) Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileVersionServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setCounterLocalService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
DLFileVersionServiceImpl
public DLFileVersionServiceImpl()
-
-
Method Details
-
getFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion(long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFileVersions
public List<com.liferay.document.library.kernel.model.DLFileVersion> getFileVersions(long fileEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFileVersionsCount
public int getFileVersionsCount(long fileEntryId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLatestFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLatestFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-