com.liferay.portal.service
Interface WebsiteService
- All Known Implementing Classes:
- WebsiteServiceBaseImpl, WebsiteServiceImpl, WebsiteServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface WebsiteService
This interface defines the service. The default implementation is
WebsiteServiceImpl.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
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