Interface PortletService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
PortletServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface PortletService
extends BaseService
Provides the remote service interface for Portlet. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the OSGi service identifier.boolean
hasPortlet
(long companyId, String portletId) updatePortlet
(long companyId, String portletId, String roles, boolean active)
-
Method Details
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getWARPortlets
-
hasPortlet
@JSONWebService @Transactional(propagation=SUPPORTS, readOnly=true) boolean hasPortlet(long companyId, String portletId) -
updatePortlet
Portlet updatePortlet(long companyId, String portletId, String roles, boolean active) throws PortalException - Throws:
PortalException
-