Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Interface PortletService

All Superinterfaces:
BaseService
All Known Implementing Classes:
PortletServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface PortletService
extends BaseService

The interface for the portlet remote service.

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, com.liferay.portal.service.impl.PortletServiceImpl

Method Summary
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 JSONArray getWARPortlets()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 Portlet updatePortlet(long companyId, String portletId, String roles, boolean active)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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

Liferay 6.1.2-ce-ga3