com.liferay.portal.service
Interface PortletService
- All Known Implementing Classes:
- 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 com.liferay.portal.service.impl.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.
- Author:
- Brian Wing Shun Chan
- See Also:
PortletServiceUtil,
PortletServiceBaseImpl,
com.liferay.portal.service.impl.PortletServiceImpl- Generated:
getWARPortlets
@Transactional(propagation=SUPPORTS,
readOnly=true)
JSONArray getWARPortlets()
updatePortlet
Portlet updatePortlet(long companyId,
java.lang.String portletId,
java.lang.String roles,
boolean active)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException