com.liferay.portal.service
Class WebsiteLocalServiceUtil
java.lang.Object
com.liferay.portal.service.WebsiteLocalServiceUtil
public class WebsiteLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portal.service.WebsiteLocalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
WebsiteLocalService
Method Summary |
static Website |
addWebsite(long userId,
java.lang.String className,
long classPK,
java.lang.String url,
int typeId,
boolean primary)
|
static Website |
addWebsite(Website website)
|
static Website |
createWebsite(long websiteId)
|
static void |
deleteWebsite(long websiteId)
|
static void |
deleteWebsite(Website website)
|
static void |
deleteWebsites(long companyId,
java.lang.String className,
long classPK)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static WebsiteLocalService |
getService()
|
static Website |
getWebsite(long websiteId)
|
static java.util.List<Website> |
getWebsites()
|
static java.util.List<Website> |
getWebsites(int start,
int end)
|
static java.util.List<Website> |
getWebsites(long companyId,
java.lang.String className,
long classPK)
|
static int |
getWebsitesCount()
|
void |
setService(WebsiteLocalService service)
|
static Website |
updateWebsite(long websiteId,
java.lang.String url,
int typeId,
boolean primary)
|
static Website |
updateWebsite(Website website)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebsiteLocalServiceUtil
public WebsiteLocalServiceUtil()
addWebsite
public static Website addWebsite(Website website)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createWebsite
public static Website createWebsite(long websiteId)
deleteWebsite
public static void deleteWebsite(long websiteId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteWebsite
public static void deleteWebsite(Website website)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWebsite
public static Website getWebsite(long websiteId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWebsites
public static java.util.List<Website> getWebsites(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWebsitesCount
public static int getWebsitesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateWebsite
public static Website updateWebsite(Website website)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addWebsite
public static Website addWebsite(long userId,
java.lang.String className,
long classPK,
java.lang.String url,
int typeId,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteWebsites
public static void deleteWebsites(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWebsites
public static java.util.List<Website> getWebsites()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWebsites
public static java.util.List<Website> getWebsites(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateWebsite
public static Website updateWebsite(long websiteId,
java.lang.String url,
int typeId,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static WebsiteLocalService getService()
setService
public void setService(WebsiteLocalService service)