@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface WebsiteService extends BaseService
WebsiteServiceUtil| Modifier and Type | Method and Description |
|---|---|
Website |
addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
deleteWebsite(long websiteId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Website |
getWebsite(long websiteId) |
List<Website> |
getWebsites(String className,
long classPK) |
Website |
updateWebsite(long websiteId,
String url,
long typeId,
boolean primary) |
Website addWebsite(String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
WebsiteServiceUtil to access the website remote service. Add custom service methods to com.liferay.portal.service.impl.WebsiteServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalExceptionvoid deleteWebsite(long websiteId)
throws PortalException
PortalExceptionString getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) Website getWebsite(long websiteId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) List<Website> getWebsites(String className, long classPK) throws PortalException
PortalExceptionWebsite updateWebsite(long websiteId, String url, long typeId, boolean primary) throws PortalException
PortalException