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 Details

    • addObjectValidationRule

      ObjectValidationRule addObjectValidationRule(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) throws com.liferay.portal.kernel.exception.PortalException
      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,String> nameMap, String outputType, String script, List<ObjectValidationRuleSetting> objectValidationRuleSettings) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException