Package com.liferay.object.service
Interface ObjectEntryVersionService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
ObjectEntryVersionServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface ObjectEntryVersionService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for ObjectEntryVersion. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptiondeleteObjectEntryVersion(long objectEntryId, int version) expireObjectEntryVersion(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext, long userId, int version) voidexpireObjectEntryVersions(long userId, ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) getObjectEntryVersion(long objectEntryId, int version) getObjectEntryVersions(long objectEntryId, int start, int end) intgetObjectEntryVersionsCount(long objectEntryId) Returns the OSGi service identifier.
-
Method Details
-
deleteObjectEntryVersion
ObjectEntryVersion deleteObjectEntryVersion(long objectEntryId, int version) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
expireObjectEntryVersion
ObjectEntryVersion expireObjectEntryVersion(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext, long userId, int version) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
expireObjectEntryVersions
void expireObjectEntryVersions(long userId, ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception - Throws:
Exception
-
getObjectEntryVersion
@Transactional(propagation=SUPPORTS, readOnly=true) ObjectEntryVersion getObjectEntryVersion(long objectEntryId, int version) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntryVersions
@Transactional(propagation=SUPPORTS, readOnly=true) List<ObjectEntryVersion> getObjectEntryVersions(long objectEntryId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectEntryVersionsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getObjectEntryVersionsCount(long objectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-