Class SXPElementServiceUtil
java.lang.Object
com.liferay.search.experiences.service.SXPElementServiceUtil
Provides the remote service utility for SXPElement. This utility wraps
com.liferay.search.experiences.service.impl.SXPElementServiceImpl 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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SXPElementaddSXPElement(String externalReferenceCode, Map<Locale, String> descriptionMap, String elementDefinitionJSON, String fallbackDescription, String fallbackTitle, boolean readOnly, String schemaVersion, Map<Locale, String> titleMap, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SXPElementdeleteSXPElement(long sxpElementId) static SXPElementfetchSXPElement(long sxpElementId) static SXPElementfetchSXPElementByExternalReferenceCode(String externalReferenceCode, long companyId) static StringReturns the OSGi service identifier.static SXPElementServicestatic SXPElementgetSXPElement(long sxpElementId) static SXPElementgetSXPElementByExternalReferenceCode(String externalReferenceCode, long companyId) static SXPElementupdateSXPElement(String externalReferenceCode, long sxpElementId, Map<Locale, String> descriptionMap, String elementDefinitionJSON, String schemaVersion, boolean hidden, Map<Locale, String> titleMap, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
SXPElementServiceUtil
public SXPElementServiceUtil()
-
-
Method Details
-
addSXPElement
public static SXPElement addSXPElement(String externalReferenceCode, Map<Locale, String> descriptionMap, String elementDefinitionJSON, String fallbackDescription, String fallbackTitle, boolean readOnly, String schemaVersion, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> titleMap, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSXPElement
public static SXPElement deleteSXPElement(long sxpElementId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchSXPElement
public static SXPElement fetchSXPElement(long sxpElementId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchSXPElementByExternalReferenceCode
public static SXPElement fetchSXPElementByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getSXPElement
public static SXPElement getSXPElement(long sxpElementId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSXPElementByExternalReferenceCode
public static SXPElement getSXPElementByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSXPElement
public static SXPElement updateSXPElement(String externalReferenceCode, long sxpElementId, Map<Locale, String> descriptionMap, String elementDefinitionJSON, String schemaVersion, boolean hidden, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> titleMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-