com.liferay.portal.service
Interface PortletService
- All Known Implementing Classes:
- PortletServiceBaseImpl, PortletServiceImpl, PortletServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface PortletService
The interface for the portlet remote service.
Never modify or reference this interface directly. Always use PortletServiceUtil
to access the portlet remote service. Add custom service methods to PortletServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
This is a remote service. 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 is generated.
getWARPortlets
@Transactional(propagation=SUPPORTS,
readOnly=true)
JSONArray getWARPortlets()
updatePortlet
Portlet updatePortlet(long companyId,
String portletId,
String roles,
boolean active)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException