Liferay 7.0-ga1 portal-kernel

com.liferay.portal.kernel.service
Interface PortletService

All Superinterfaces:
BaseService
All Known Implementing Classes:
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, com.liferay.portal.service.base.PortletServiceBaseImpl, com.liferay.portal.service.impl.PortletServiceImpl
{$generated.description}

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

Method Detail

getWARPortlets

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JSONArray getWARPortlets()

updatePortlet

Portlet updatePortlet(long companyId,
                      String portletId,
                      String roles,
                      boolean active)
                      throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

Liferay 7.0-ga1 portal-kernel