Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class WebsiteServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.WebsiteServiceUtil

public class WebsiteServiceUtil
extends Object

The utility for the website remote service. This utility wraps WebsiteServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

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:
WebsiteService, WebsiteServiceBaseImpl, WebsiteServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
WebsiteServiceUtil()
           
 
Method Summary
static Website addWebsite(String className, long classPK, String url, int typeId, boolean primary)
           
static void deleteWebsite(long websiteId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static WebsiteService getService()
           
static Website getWebsite(long websiteId)
           
static List<Website> getWebsites(String className, long classPK)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(WebsiteService service)
          Deprecated.  
static Website updateWebsite(long websiteId, String url, int typeId, boolean primary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebsiteServiceUtil

public WebsiteServiceUtil()
Method Detail

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addWebsite

public static Website addWebsite(String className,
                                 long classPK,
                                 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 List<Website> getWebsites(String className,
                                        long classPK)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

updateWebsite

public static Website updateWebsite(long websiteId,
                                    String url,
                                    int typeId,
                                    boolean primary)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getService

public static WebsiteService getService()

setService

public void setService(WebsiteService service)
Deprecated. 


Liferay 6.1.2-ce-ga3