com.liferay.portal.service
Class WebsiteServiceUtil
java.lang.Object
com.liferay.portal.service.WebsiteServiceUtil
public class WebsiteServiceUtil
- extends java.lang.Object
The utility for the website remote service. This utility wraps com.liferay.portal.service.impl.WebsiteServiceImpl and is the primary access point for service operations in application layer code running on a remote server.
Never modify this class directly. Add custom service methods to com.liferay.portal.service.impl.WebsiteServiceImpl and rerun ServiceBuilder to regenerate this class.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
WebsiteService,
WebsiteServiceBaseImpl,
com.liferay.portal.service.impl.WebsiteServiceImpl- Generated:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebsiteServiceUtil
public WebsiteServiceUtil()
addWebsite
public static Website addWebsite(java.lang.String className,
long classPK,
java.lang.String url,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWebsite
public static void deleteWebsite(long websiteId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWebsite
public static Website getWebsite(long websiteId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWebsites
public static java.util.List<Website> getWebsites(java.lang.String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateWebsite
public static Website updateWebsite(long websiteId,
java.lang.String url,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static WebsiteService getService()
setService
public void setService(WebsiteService service)