Please wait. This can take some minutes ...
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.
com.liferay.object.service.ObjectFieldServiceUtil Maven / Gradle / Ivy
/**
* 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.ObjectField;
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 ObjectField. This utility wraps
* com.liferay.object.service.impl.ObjectFieldServiceImpl
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 ObjectFieldService
* @generated
*/
public class ObjectFieldServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to com.liferay.object.service.impl.ObjectFieldServiceImpl
and rerun ServiceBuilder to regenerate this class.
*/
public static ObjectField addCustomObjectField(
String externalReferenceCode, long listTypeDefinitionId,
long objectDefinitionId, String businessType, String dbType,
boolean indexed, boolean indexedAsKeyword, String indexedLanguageId,
Map labelMap, boolean localized,
String name, String readOnly, String readOnlyConditionExpression,
boolean required, boolean state,
List
objectFieldSettings)
throws PortalException {
return getService().addCustomObjectField(
externalReferenceCode, listTypeDefinitionId, objectDefinitionId,
businessType, dbType, indexed, indexedAsKeyword, indexedLanguageId,
labelMap, localized, name, readOnly, readOnlyConditionExpression,
required, state, objectFieldSettings);
}
public static ObjectField deleteObjectField(long objectFieldId)
throws Exception {
return getService().deleteObjectField(objectFieldId);
}
public static ObjectField getObjectField(long objectFieldId)
throws PortalException {
return getService().getObjectField(objectFieldId);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
public static String getOSGiServiceIdentifier() {
return getService().getOSGiServiceIdentifier();
}
public static ObjectField updateObjectField(
String externalReferenceCode, long objectFieldId,
long listTypeDefinitionId, String businessType, String dbType,
boolean indexed, boolean indexedAsKeyword, String indexedLanguageId,
Map labelMap, boolean localized,
String name, String readOnly, String readOnlyConditionExpression,
boolean required, boolean state,
List
objectFieldSettings)
throws PortalException {
return getService().updateObjectField(
externalReferenceCode, objectFieldId, listTypeDefinitionId,
businessType, dbType, indexed, indexedAsKeyword, indexedLanguageId,
labelMap, localized, name, readOnly, readOnlyConditionExpression,
required, state, objectFieldSettings);
}
public static ObjectFieldService getService() {
return _serviceSnapshot.get();
}
private static final Snapshot _serviceSnapshot =
new Snapshot<>(ObjectFieldServiceUtil.class, ObjectFieldService.class);
}