public class WebsiteLocalServiceImpl extends WebsiteLocalServiceBaseImpl
classNameLocalService, classNamePersistence, counterLocalService, listTypeLocalService, listTypePersistence, persistedModelLocalServiceRegistry, userFinder, userLocalService, userPersistence, 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 typeId,
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 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,
String url,
long typeId,
boolean primary) |
addWebsite, afterPropertiesSet, createWebsite, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchWebsite, fetchWebsiteByUuidAndCompanyId, getActionableDynamicQuery, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getListTypeLocalService, getListTypePersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserFinder, getUserLocalService, getUserPersistence, getWebsite, getWebsiteByUuidAndCompanyId, getWebsiteLocalService, getWebsitePersistence, getWebsites, getWebsitesCount, initActionableDynamicQuery, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setListTypeLocalService, setListTypePersistence, setUserFinder, setUserLocalService, setUserPersistence, setWebsiteLocalService, setWebsitePersistence, updateWebsite
public com.liferay.portal.kernel.model.Website addWebsite(long userId, String className, long classPK, String url, long typeId, 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
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
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 typeId, 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 typeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException