Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.object.service;
import com.liferay.object.model.ObjectValidationRule;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.module.service.Snapshot;
import java.util.List;
import java.util.Map;
/**
* Provides the remote service utility for ObjectValidationRule. This utility wraps
* 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.
*
* @author Marco Leo
* @see ObjectValidationRuleService
* @generated
*/
public class ObjectValidationRuleServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to com.liferay.object.service.impl.ObjectValidationRuleServiceImpl and rerun ServiceBuilder to regenerate this class.
*/
public static ObjectValidationRule addObjectValidationRule(
String externalReferenceCode, long objectDefinitionId,
boolean active, String engine,
Map errorLabelMap,
Map nameMap, String outputType,
String script, boolean system,
List
objectValidationRuleSettings)
throws PortalException {
return getService().addObjectValidationRule(
externalReferenceCode, objectDefinitionId, active, engine,
errorLabelMap, nameMap, outputType, script, system,
objectValidationRuleSettings);
}
public static ObjectValidationRule deleteObjectValidationRule(
long objectValidationRuleId)
throws PortalException {
return getService().deleteObjectValidationRule(objectValidationRuleId);
}
public static ObjectValidationRule getObjectValidationRule(
long objectValidationRuleId)
throws PortalException {
return getService().getObjectValidationRule(objectValidationRuleId);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
public static String getOSGiServiceIdentifier() {
return getService().getOSGiServiceIdentifier();
}
public static ObjectValidationRule updateObjectValidationRule(
String externalReferenceCode, long objectValidationRuleId,
boolean active, String engine,
Map errorLabelMap,
Map nameMap, String outputType,
String script,
List
objectValidationRuleSettings)
throws PortalException {
return getService().updateObjectValidationRule(
externalReferenceCode, objectValidationRuleId, active, engine,
errorLabelMap, nameMap, outputType, script,
objectValidationRuleSettings);
}
public static ObjectValidationRuleService getService() {
return _serviceSnapshot.get();
}
private static final Snapshot
_serviceSnapshot = new Snapshot<>(
ObjectValidationRuleServiceUtil.class,
ObjectValidationRuleService.class);
}