com.liferay.fragment.validator.FragmentEntryValidator 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.fragment.validator;
import com.liferay.fragment.exception.FragmentEntryConfigurationException;
import com.liferay.fragment.exception.FragmentEntryTypeOptionsException;
import com.liferay.portal.kernel.json.JSONObject;
/**
* @author Rubén Pulido
*/
public interface FragmentEntryValidator {
public void validateConfiguration(String configuration)
throws FragmentEntryConfigurationException;
public default void validateConfigurationValues(
String configuration, JSONObject valuesJSONObject)
throws FragmentEntryConfigurationException {
}
public void validateTypeOptions(int fragmentEntryType, String typeOptions)
throws FragmentEntryTypeOptionsException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy