com.liferay.portal.service
Class WebsiteLocalServiceUtil
java.lang.Object
com.liferay.portal.service.WebsiteLocalServiceUtil
public class WebsiteLocalServiceUtil
- extends Object
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.
- See Also:
WebsiteLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static Website |
addWebsite(long userId,
String className,
long classPK,
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,
String className,
long classPK)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static WebsiteLocalService |
getService()
|
static Website |
getWebsite(long websiteId)
|
static List<Website> |
getWebsites()
|
static List<Website> |
getWebsites(int start,
int end)
|
static List<Website> |
getWebsites(long companyId,
String className,
long classPK)
|
static int |
getWebsitesCount()
|
void |
setService(WebsiteLocalService service)
|
static Website |
updateWebsite(long websiteId,
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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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 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,
String className,
long classPK,
String url,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWebsites
public static void deleteWebsites(long companyId,
String className,
long classPK)
throws SystemException
- Throws:
SystemException
getWebsites
public static List<Website> getWebsites()
throws SystemException
- Throws:
SystemException
getWebsites
public static List<Website> getWebsites(long companyId,
String className,
long classPK)
throws SystemException
- Throws:
SystemException
updateWebsite
public static Website updateWebsite(long websiteId,
String url,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static WebsiteLocalService getService()
setService
public void setService(WebsiteLocalService service)