com.liferay.portal.service
Interface WebsiteService
- All Known Implementing Classes:
- WebsiteServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface WebsiteService
The interface for the website remote service.
This is a remote service. 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:
WebsiteServiceUtil
,
WebsiteServiceBaseImpl
,
com.liferay.portal.service.impl.WebsiteServiceImpl
addWebsite
Website addWebsite(String className,
long classPK,
String url,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWebsite
void deleteWebsite(long websiteId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWebsite
@Transactional(propagation=SUPPORTS,
readOnly=true)
Website getWebsite(long websiteId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWebsites
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Website> getWebsites(String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateWebsite
Website updateWebsite(long websiteId,
String url,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException