Interface SXPElementService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
SXPElementServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface SXPElementService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for SXPElement. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddSXPElement(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) deleteSXPElement(long sxpElementId) fetchSXPElement(long sxpElementId) fetchSXPElementByExternalReferenceCode(String externalReferenceCode, long companyId) Returns the OSGi service identifier.getSXPElement(long sxpElementId) getSXPElementByExternalReferenceCode(String externalReferenceCode, long companyId) 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)
-
Method Details
-
addSXPElement
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
SXPElement deleteSXPElement(long sxpElementId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchSXPElement
@Transactional(propagation=SUPPORTS, readOnly=true) SXPElement fetchSXPElement(long sxpElementId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchSXPElementByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) SXPElement fetchSXPElementByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getSXPElement
@Transactional(propagation=SUPPORTS, readOnly=true) SXPElement getSXPElement(long sxpElementId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSXPElementByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) SXPElement getSXPElementByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSXPElement
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
-