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.boolean
hasPortlet
(long companyId, String portletId) void
setWrappedService
(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:
getOSGiServiceIdentifier
in interfacePortletService
- Returns:
- the OSGi service identifier
-
getWARPortlets
- Specified by:
getWARPortlets
in interfacePortletService
-
hasPortlet
- Specified by:
hasPortlet
in interfacePortletService
-
updatePortlet
public Portlet updatePortlet(long companyId, String portletId, String roles, boolean active) throws PortalException - Specified by:
updatePortlet
in interfacePortletService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<PortletService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<PortletService>
-