Class DLFileVersionLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFileVersionLocalServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFileVersionLocalServiceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.DLFileVersionLocalService,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.document.library.kernel.model.DLFileVersion>,com.liferay.portal.kernel.service.PersistedModelLocalService
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileVersionLocalServiceBaseImpl
counterLocalService, dlFileVersionLocalService, dlFileVersionPersistence -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.document.library.kernel.model.DLFileVersionfetchLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) com.liferay.document.library.kernel.model.DLFileVersionfetchLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy, int status) com.liferay.document.library.kernel.model.DLFileVersiongetFileVersion(long fileVersionId) com.liferay.document.library.kernel.model.DLFileVersiongetFileVersion(long fileEntryId, String version) com.liferay.document.library.kernel.model.DLFileVersiongetFileVersionByUuidAndGroupId(String uuid, long groupId) List<com.liferay.document.library.kernel.model.DLFileVersion>getFileVersions(long fileEntryId, int status) List<com.liferay.document.library.kernel.model.DLFileVersion>getFileVersions(long fileEntryId, int status, int start, int end) intgetFileVersionsCount(long fileEntryId, int status) intgetFileVersionsCount(long companyId, String storeUUID) com.liferay.document.library.kernel.model.DLFileVersiongetLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) com.liferay.document.library.kernel.model.DLFileVersiongetLatestFileVersion(long userId, long fileEntryId) voidrebuildTree(long companyId) voidsetTreePaths(long folderId, String treePath) Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileVersionLocalServiceBaseImpl
addDLFileVersion, afterPropertiesSet, createDLFileVersion, createPersistedModel, deleteDLFileVersion, deleteDLFileVersion, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDLFileVersion, fetchDLFileVersionByUuidAndGroupId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getDLFileVersion, getDLFileVersionByUuidAndGroupId, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersions, getDLFileVersionsByUuidAndCompanyId, getDLFileVersionsByUuidAndCompanyId, getDLFileVersionsCount, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setDLFileVersionLocalService, setDLFileVersionPersistence, updateDLFileVersion, updateWithUnsafeFunctionMethods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
DLFileVersionLocalServiceImpl
public DLFileVersionLocalServiceImpl()
-
-
Method Details
-
fetchLatestFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion fetchLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy) -
fetchLatestFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion fetchLatestFileVersion(long fileEntryId, boolean excludeWorkingCopy, int status) -
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
-
getFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion(long fileEntryId, String version) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFileVersionByUuidAndGroupId
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersionByUuidAndGroupId(String uuid, long groupId) -
getFileVersions
public List<com.liferay.document.library.kernel.model.DLFileVersion> getFileVersions(long fileEntryId, int status) -
getFileVersions
public List<com.liferay.document.library.kernel.model.DLFileVersion> getFileVersions(long fileEntryId, int status, int start, int end) -
getFileVersionsCount
public int getFileVersionsCount(long fileEntryId, int status) -
getFileVersionsCount
-
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
-
getLatestFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(long userId, long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
rebuildTree
public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
setTreePaths
public void setTreePaths(long folderId, String treePath) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-