Class PortletServiceWrapper
Object
com.liferay.portal.kernel.service.PortletServiceWrapper
- All Implemented Interfaces:
BaseService,PortletService,ServiceWrapper<PortletService>
public class PortletServiceWrapper
extends Object
implements PortletService, ServiceWrapper<PortletService>
Provides a wrapper for
PortletService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the OSGi service identifier.booleanhasPortlet(long companyId, String portletId) voidsetWrappedService(PortletService portletService) updatePortlet(long companyId, String portletId, String roles, boolean active)
-
Constructor Details
-
PortletServiceWrapper
public PortletServiceWrapper() -
PortletServiceWrapper
-
-
Method Details
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacePortletService- Returns:
- the OSGi service identifier
-
getWARPortlets
- Specified by:
getWARPortletsin interfacePortletService
-
hasPortlet
- Specified by:
hasPortletin interfacePortletService
-
updatePortlet
public Portlet updatePortlet(long companyId, String portletId, String roles, boolean active) throws PortalException - Specified by:
updatePortletin interfacePortletService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<PortletService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<PortletService>
-