com.liferay.portal.service
Class WebsiteServiceUtil
java.lang.Object
com.liferay.portal.service.WebsiteServiceUtil
@ProviderType
public class WebsiteServiceUtil
- extends Object
Provides the remote service utility for Website. This utility wraps
WebsiteServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. 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:
WebsiteService,
WebsiteServiceBaseImpl,
WebsiteServiceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
|
Method Summary |
static Website |
addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary)
Deprecated. As of 6.2.0, replaced by #addWebsite(String, long,
String, int, boolean, ServiceContext) |
static Website |
addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary,
ServiceContext serviceContext)
|
static void |
deleteWebsite(long websiteId)
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
static WebsiteService |
getService()
|
static Website |
getWebsite(long websiteId)
|
static List<Website> |
getWebsites(String className,
long classPK)
|
static Website |
updateWebsite(long websiteId,
String url,
long typeId,
boolean primary)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebsiteServiceUtil
public WebsiteServiceUtil()
addWebsite
@Deprecated
public static Website addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary)
throws PortalException
- Deprecated. As of 6.2.0, replaced by
#addWebsite(String, long,
String, int, boolean, ServiceContext)
- Throws:
PortalException
addWebsite
public static Website addWebsite(String className,
long classPK,
String url,
long typeId,
boolean primary,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteWebsite
public static void deleteWebsite(long websiteId)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getWebsite
public static Website getWebsite(long websiteId)
throws PortalException
- Throws:
PortalException
getWebsites
public static List<Website> getWebsites(String className,
long classPK)
throws PortalException
- Throws:
PortalException
updateWebsite
public static Website updateWebsite(long websiteId,
String url,
long typeId,
boolean primary)
throws PortalException
- Throws:
PortalException
getService
public static WebsiteService getService()