Package com.liferay.object.service
Interface ObjectValidationRuleService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
ObjectValidationRuleServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface ObjectValidationRuleService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for ObjectValidationRule. 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 TypeMethodDescriptionaddObjectValidationRule
(String externalReferenceCode, long objectDefinitionId, boolean active, String engine, Map<Locale, String> errorLabelMap, Map<Locale, String> nameMap, String outputType, String script, boolean system, List<ObjectValidationRuleSetting> objectValidationRuleSettings) deleteObjectValidationRule
(long objectValidationRuleId) getObjectValidationRule
(long objectValidationRuleId) Returns the OSGi service identifier.updateObjectValidationRule
(String externalReferenceCode, long objectValidationRuleId, boolean active, String engine, Map<Locale, String> errorLabelMap, Map<Locale, String> nameMap, String outputType, String script, List<ObjectValidationRuleSetting> objectValidationRuleSettings)
-
Method Details
-
addObjectValidationRule
ObjectValidationRule addObjectValidationRule(String externalReferenceCode, long objectDefinitionId, boolean active, String engine, Map<Locale, String> errorLabelMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> nameMap, String outputType, String script, boolean system, List<ObjectValidationRuleSetting> objectValidationRuleSettings) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectValidationRule
ObjectValidationRule deleteObjectValidationRule(long objectValidationRuleId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectValidationRule
@Transactional(propagation=SUPPORTS, readOnly=true) ObjectValidationRule getObjectValidationRule(long objectValidationRuleId) 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
-
updateObjectValidationRule
ObjectValidationRule updateObjectValidationRule(String externalReferenceCode, long objectValidationRuleId, boolean active, String engine, Map<Locale, String> errorLabelMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> nameMap, String outputType, String script, List<ObjectValidationRuleSetting> objectValidationRuleSettings) - Throws:
com.liferay.portal.kernel.exception.PortalException
-