Package com.liferay.portal.service.impl
Class WebsiteServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.WebsiteServiceBaseImpl
com.liferay.portal.service.impl.WebsiteServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.WebsiteService
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.WebsiteServiceBaseImpl
counterLocalService, websiteLocalService, websitePersistence, websiteServiceFields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.WebsiteaddWebsite(String externalReferenceCode, String className, long classPK, String url, long typeId, boolean primary, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteWebsite(long websiteId) com.liferay.portal.kernel.model.WebsitefetchWebsiteByExternalReferenceCode(String externalReferenceCode, long companyId) com.liferay.portal.kernel.model.WebsitegetWebsite(long websiteId) List<com.liferay.portal.kernel.model.Website>getWebsites(String className, long classPK) com.liferay.portal.kernel.model.WebsiteupdateWebsite(String externalReferenceCode, long websiteId, String url, long typeId, boolean primary) Methods inherited from class com.liferay.portal.service.base.WebsiteServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, runSQL, setCounterLocalService, setWebsiteLocalService, setWebsitePersistence, setWebsiteServiceMethods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
WebsiteServiceImpl
public WebsiteServiceImpl()
-
-
Method Details
-
addWebsite
public com.liferay.portal.kernel.model.Website addWebsite(String externalReferenceCode, String className, long classPK, String url, long typeId, boolean primary, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteWebsite
public void deleteWebsite(long websiteId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchWebsiteByExternalReferenceCode
public com.liferay.portal.kernel.model.Website fetchWebsiteByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWebsite
public com.liferay.portal.kernel.model.Website getWebsite(long websiteId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWebsites
public List<com.liferay.portal.kernel.model.Website> getWebsites(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateWebsite
public com.liferay.portal.kernel.model.Website updateWebsite(String externalReferenceCode, long websiteId, String url, long typeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-