Class SXPElementServiceUtil

java.lang.Object
com.liferay.search.experiences.service.SXPElementServiceUtil

public class SXPElementServiceUtil extends Object
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 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,String> titleMap, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      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

      public static String 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,String> titleMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static SXPElementService getService()