public class WebsiteLocalServiceImpl extends WebsiteLocalServiceBaseImpl
counterLocalService, websiteLocalService, websitePersistence
Constructor and Description |
---|
WebsiteLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.Website |
addWebsite(long userId,
String className,
long classPK,
String url,
long listTypeId,
boolean primary,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.Website |
deleteWebsite(long websiteId)
Deletes the website with the primary key from the database.
|
com.liferay.portal.kernel.model.Website |
deleteWebsite(com.liferay.portal.kernel.model.Website website)
Deletes the website from the database.
|
void |
deleteWebsites(long companyId,
String className,
long classPK) |
List<com.liferay.portal.kernel.model.Website> |
getWebsites() |
List<com.liferay.portal.kernel.model.Website> |
getWebsites(long companyId,
String className,
long classPK) |
com.liferay.portal.kernel.model.Website |
updateWebsite(long websiteId,
String url,
long listTypeId,
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,
String url,
long listTypeId,
boolean primary) |
addWebsite, afterPropertiesSet, createPersistedModel, createWebsite, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchWebsite, fetchWebsiteByUuidAndCompanyId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getWebsite, getWebsiteByUuidAndCompanyId, getWebsiteLocalService, getWebsitePersistence, getWebsites, getWebsitesCount, initActionableDynamicQuery, runSQL, setCounterLocalService, setWebsiteLocalService, setWebsitePersistence, updateWebsite
getClassLoader, getLocalizationMap
public com.liferay.portal.kernel.model.Website addWebsite(long userId, String className, long classPK, String url, long listTypeId, boolean primary, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Website deleteWebsite(long websiteId) throws com.liferay.portal.kernel.exception.PortalException
WebsiteLocalServiceBaseImpl
Important: Inspect WebsiteLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteWebsite
in interface com.liferay.portal.kernel.service.WebsiteLocalService
deleteWebsite
in class WebsiteLocalServiceBaseImpl
websiteId
- the primary key of the websitecom.liferay.portal.kernel.exception.PortalException
- if a website with the primary key could not be found@SystemEvent(action=1, type=1) public com.liferay.portal.kernel.model.Website deleteWebsite(com.liferay.portal.kernel.model.Website website)
WebsiteLocalServiceBaseImpl
Important: Inspect WebsiteLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteWebsite
in interface com.liferay.portal.kernel.service.WebsiteLocalService
deleteWebsite
in class WebsiteLocalServiceBaseImpl
website
- the websitepublic void deleteWebsites(long companyId, String className, long classPK)
public List<com.liferay.portal.kernel.model.Website> getWebsites()
public List<com.liferay.portal.kernel.model.Website> getWebsites(long companyId, String className, long classPK)
public com.liferay.portal.kernel.model.Website updateWebsite(long websiteId, String url, long listTypeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validate(long websiteId, long companyId, long classNameId, long classPK, boolean primary)
protected void validate(long websiteId, long companyId, long classNameId, long classPK, String url, long listTypeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException