Interface DefinitionService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
DefinitionServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface DefinitionService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for Definition. 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 TypeMethodDescriptionaddDefinition(long groupId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, long sourceId, String reportParameters, String fileName, InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteDefinition(long definitionId) getDefinition(long definitionId) getDefinitions(long groupId, String definitionName, String description, String sourceId, String reportName, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) intgetDefinitionsCount(long groupId, String definitionName, String description, String sourceId, String reportName, boolean andSearch) Returns the OSGi service identifier.updateDefinition(long definitionId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, long sourceId, String reportParameters, String fileName, InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addDefinition
Definition addDefinition(long groupId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, long sourceId, String reportParameters, String fileName, InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteDefinition
Definition deleteDefinition(long definitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefinition
@Transactional(propagation=SUPPORTS, readOnly=true) Definition getDefinition(long definitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefinitions
@Transactional(propagation=SUPPORTS, readOnly=true) List<Definition> getDefinitions(long groupId, String definitionName, String description, String sourceId, String reportName, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefinitionsCount
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateDefinition
Definition updateDefinition(long definitionId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, long sourceId, String reportParameters, String fileName, InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-