public class ObjectValidationRuleServiceUtil
extends java.lang.Object
com.liferay.object.service.impl.ObjectValidationRuleServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.ObjectValidationRuleService
Constructor and Description |
---|
ObjectValidationRuleServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static ObjectValidationRule |
addObjectValidationRule(long objectDefinitionId,
boolean active,
java.lang.String engine,
java.util.Map<java.util.Locale,java.lang.String> errorLabelMap,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String script) |
static ObjectValidationRule |
deleteObjectValidationRule(long objectValidationRuleId) |
static ObjectValidationRule |
getObjectValidationRule(long objectValidationRuleId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ObjectValidationRuleService |
getService() |
static ObjectValidationRule |
updateObjectValidationRule(long objectValidationRuleId,
boolean active,
java.lang.String engine,
java.util.Map<java.util.Locale,java.lang.String> errorLabelMap,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String script) |
public static ObjectValidationRule addObjectValidationRule(long objectDefinitionId, boolean active, java.lang.String engine, java.util.Map<java.util.Locale,java.lang.String> errorLabelMap, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String script) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectValidationRule deleteObjectValidationRule(long objectValidationRuleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectValidationRule getObjectValidationRule(long objectValidationRuleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static ObjectValidationRule updateObjectValidationRule(long objectValidationRuleId, boolean active, java.lang.String engine, java.util.Map<java.util.Locale,java.lang.String> errorLabelMap, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String script) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ObjectValidationRuleService getService()