Interface WebsiteService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
WebsiteServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface WebsiteService
extends BaseService
Provides the remote service interface for Website. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionaddWebsite
(String externalReferenceCode, String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext) void
deleteWebsite
(long websiteId) fetchWebsiteByExternalReferenceCode
(String externalReferenceCode, long companyId) Returns the OSGi service identifier.getWebsite
(long websiteId) getWebsites
(String className, long classPK) updateWebsite
(String externalReferenceCode, long websiteId, String url, long typeId, boolean primary)
-
Method Details
-
addWebsite
Website addWebsite(String externalReferenceCode, String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
deleteWebsite
- Throws:
PortalException
-
fetchWebsiteByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) Website fetchWebsiteByExternalReferenceCode(String externalReferenceCode, long companyId) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getWebsite
@Transactional(propagation=SUPPORTS, readOnly=true) Website getWebsite(long websiteId) throws PortalException - Throws:
PortalException
-
getWebsites
@Transactional(propagation=SUPPORTS, readOnly=true) List<Website> getWebsites(String className, long classPK) throws PortalException - Throws:
PortalException
-
updateWebsite
Website updateWebsite(String externalReferenceCode, long websiteId, String url, long typeId, boolean primary) throws PortalException - Throws:
PortalException
-