com.liferay.portal.service
Class PortletServiceWrapper
java.lang.Object
com.liferay.portal.service.PortletServiceWrapper
- All Implemented Interfaces:
- BaseService, PortletService, ServiceWrapper<PortletService>
@ProviderType
public class PortletServiceWrapper
- extends Object
- implements PortletService, ServiceWrapper<PortletService>
Provides a wrapper for PortletService.
- See Also:
PortletService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletServiceWrapper
public PortletServiceWrapper(PortletService portletService)
getOSGiServiceIdentifier
public String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Specified by:
getOSGiServiceIdentifier in interface PortletService
- Returns:
- the OSGi service identifier
getWARPortlets
public JSONArray getWARPortlets()
- Specified by:
getWARPortlets in interface PortletService
updatePortlet
public Portlet updatePortlet(long companyId,
String portletId,
String roles,
boolean active)
throws PortalException
- Specified by:
updatePortlet in interface PortletService
- Throws:
PortalException
getWrappedService
public PortletService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<PortletService>
setWrappedService
public void setWrappedService(PortletService portletService)
- Specified by:
setWrappedService in interface ServiceWrapper<PortletService>