Liferay 7.0-ce-b4

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.

Method Summary
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 JSONArray getWARPortlets()
           
 Portlet updatePortlet(long companyId, String portletId, String roles, boolean active)
           
 

Method Detail

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

Liferay 7.0-ce-b4