com.liferay.portal.service
Interface PortletService
- All Superinterfaces:
- BaseService
- All Known Implementing Classes:
- PortletServiceBaseImpl, PortletServiceImpl, 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.
- See Also:
PortletServiceUtil,
PortletServiceBaseImpl,
PortletServiceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getWARPortlets
@Transactional(propagation=SUPPORTS,
readOnly=true)
JSONArray getWARPortlets()
updatePortlet
Portlet updatePortlet(long companyId,
String portletId,
String roles,
boolean active)
throws PortalException
- Throws:
PortalException