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
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
- Generated:
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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
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)
|
static Website |
updateWebsite(Website website,
boolean merge)
|
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 SystemException
- Throws:
SystemException
createWebsite
public static Website createWebsite(long websiteId)
deleteWebsite
public static void deleteWebsite(long websiteId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWebsite
public static void deleteWebsite(Website website)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getWebsite
public static Website getWebsite(long websiteId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWebsites
public static java.util.List<Website> getWebsites(int start,
int end)
throws SystemException
- Throws:
SystemException
getWebsitesCount
public static int getWebsitesCount()
throws SystemException
- Throws:
SystemException
updateWebsite
public static Website updateWebsite(Website website)
throws SystemException
- Throws:
SystemException
updateWebsite
public static Website updateWebsite(Website website,
boolean merge)
throws SystemException
- Throws:
SystemException
addWebsite
public static Website addWebsite(long userId,
java.lang.String className,
long classPK,
java.lang.String url,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWebsites
public static void deleteWebsites(long companyId,
java.lang.String className,
long classPK)
throws SystemException
- Throws:
SystemException
getWebsites
public static java.util.List<Website> getWebsites()
throws SystemException
- Throws:
SystemException
getWebsites
public static java.util.List<Website> getWebsites(long companyId,
java.lang.String className,
long classPK)
throws SystemException
- Throws:
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 WebsiteLocalService getService()
setService
public void setService(WebsiteLocalService service)