@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(String className,
long classPK,
String url,
long typeId,
boolean primary,
ServiceContext serviceContext) |
void |
deleteWebsite(long websiteId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Website |
getWebsite(long websiteId) |
List<Website> |
getWebsites(String className,
long classPK) |
Website |
updateWebsite(long websiteId,
String url,
long typeId,
boolean primary) |
Website addWebsite(String className, long classPK, String url, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
PortalException
void deleteWebsite(long websiteId) throws PortalException
PortalException
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) Website getWebsite(long websiteId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Website> getWebsites(String className, long classPK) throws PortalException
PortalException
Website updateWebsite(long websiteId, String url, long typeId, boolean primary) throws PortalException
PortalException