public class DLFileVersionPolicyImpl
extends Object
implements com.liferay.document.library.kernel.util.DLFileVersionPolicy
Modifier and Type | Field and Description |
---|---|
protected com.liferay.document.library.kernel.service.DLFileEntryMetadataLocalService |
dlFileEntryMetadataLocalService |
protected com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence |
dlFileVersionPersistence |
Constructor and Description |
---|
DLFileVersionPolicyImpl() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected boolean |
isKeepFileVersionLabel(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry,
com.liferay.document.library.kernel.model.DLFileVersion lastDLFileVersion,
com.liferay.document.library.kernel.model.DLFileVersion latestDLFileVersion,
boolean majorVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
boolean |
isKeepFileVersionLabel(com.liferay.document.library.kernel.model.DLFileVersion lastDLFileVersion,
com.liferay.document.library.kernel.model.DLFileVersion latestDLFileVersion,
boolean majorVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
@BeanReference(type=com.liferay.document.library.kernel.service.DLFileEntryMetadataLocalService.class) protected com.liferay.document.library.kernel.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService
@BeanReference(type=com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence.class) protected com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence dlFileVersionPersistence
public void destroy()
public boolean isKeepFileVersionLabel(com.liferay.document.library.kernel.model.DLFileVersion lastDLFileVersion, com.liferay.document.library.kernel.model.DLFileVersion latestDLFileVersion, boolean majorVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
isKeepFileVersionLabel
in interface com.liferay.document.library.kernel.util.DLFileVersionPolicy
com.liferay.portal.kernel.exception.PortalException
protected boolean isKeepFileVersionLabel(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, com.liferay.document.library.kernel.model.DLFileVersion lastDLFileVersion, com.liferay.document.library.kernel.model.DLFileVersion latestDLFileVersion, boolean majorVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.dynamic.data.lists.service.impl.DDLRecordLocalServiceImpl#isKeepRecordVersionLabel(
com.liferay.dynamic.data.lists.model.DDLRecordVersion,
com.liferay.dynamic.data.lists.model.DDLRecordVersion,
ServiceContext)