com.liferay.portal.service.impl
Class WebsiteLocalServiceImpl
java.lang.Object
com.liferay.portal.service.base.WebsiteLocalServiceBaseImpl
com.liferay.portal.service.impl.WebsiteLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.service.WebsiteLocalService
- public class WebsiteLocalServiceImpl
- extends WebsiteLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portal.model.Website |
addWebsite(long userId,
java.lang.String className,
long classPK,
java.lang.String url,
int typeId,
boolean primary)
|
void |
deleteWebsite(long websiteId)
|
void |
deleteWebsites(long companyId,
java.lang.String className,
long classPK)
|
com.liferay.portal.model.Website |
getWebsite(long websiteId)
|
java.util.List |
getWebsites()
|
java.util.List |
getWebsites(long companyId,
java.lang.String className,
long classPK)
|
com.liferay.portal.model.Website |
updateWebsite(long websiteId,
java.lang.String url,
int typeId,
boolean primary)
|
protected void |
validate(long websiteId,
long companyId,
long classNameId,
long classPK,
boolean primary)
|
protected void |
validate(long websiteId,
long companyId,
long classNameId,
long classPK,
java.lang.String url,
int typeId,
boolean primary)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebsiteLocalServiceImpl
public WebsiteLocalServiceImpl()
addWebsite
public com.liferay.portal.model.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
deleteWebsite
public void deleteWebsite(long websiteId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteWebsites
public void deleteWebsites(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWebsite
public com.liferay.portal.model.Website getWebsite(long websiteId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWebsites
public java.util.List getWebsites()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWebsites
public java.util.List getWebsites(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateWebsite
public com.liferay.portal.model.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
validate
protected void validate(long websiteId,
long companyId,
long classNameId,
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
validate
protected void validate(long websiteId,
long companyId,
long classNameId,
long classPK,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException