@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface WebsiteService extends BaseService
WebsiteServiceUtil
Modifier and Type | Method and Description |
---|---|
Website |
addWebsite(java.lang.String className,
long classPK,
java.lang.String url,
long typeId,
boolean primary,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
deleteWebsite(long websiteId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Website |
getWebsite(long websiteId) |
java.util.List<Website> |
getWebsites(java.lang.String className,
long classPK) |
Website |
updateWebsite(long websiteId,
java.lang.String url,
long typeId,
boolean primary) |
Website addWebsite(java.lang.String className, long classPK, java.lang.String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
WebsiteServiceUtil
to access the website remote service. Add custom service methods to com.liferay.portal.service.impl.WebsiteServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
void deleteWebsite(long websiteId) throws PortalException
PortalException
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) Website getWebsite(long websiteId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<Website> getWebsites(java.lang.String className, long classPK) throws PortalException
PortalException
Website updateWebsite(long websiteId, java.lang.String url, long typeId, boolean primary) throws PortalException
PortalException