com.liferay.portal.service
Interface PortletService
- All Known Implementing Classes:
- PortletServiceBaseImpl, PortletServiceImpl, PortletServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface PortletService
This interface defines the service. The default implementation is
PortletServiceImpl.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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- 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