com.liferay.portal.service
Class PortletLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.PortletLocalServiceWrapper
All Implemented Interfaces:
PortletLocalService

public class PortletLocalServiceWrapper
extends java.lang.Object
implements PortletLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for PortletLocalService.

Author:
Brian Wing Shun Chan
See Also:
PortletLocalService
Generated:

Constructor Summary
PortletLocalServiceWrapper(PortletLocalService portletLocalService)
           
 
Method Summary
 Portlet addPortlet(Portlet portlet)
           
 void checkPortlet(Portlet portlet)
           
 void checkPortlets(long companyId)
           
 Portlet createPortlet(long id)
           
 void deletePortlet(long id)
           
 void deletePortlet(Portlet portlet)
           
 Portlet deployRemotePortlet(Portlet portlet, java.lang.String categoryName)
           
 void destroyPortlet(Portlet portlet)
           
 void destroyRemotePortlet(Portlet portlet)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<CustomAttributesDisplay> getCustomAttributesDisplays()
           
 PortletCategory getEARDisplay(java.lang.String xml)
           
 java.util.List<Portlet> getFriendlyURLMapperPortlets()
           
 java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers()
           
 Portlet getPortlet(long id)
           
 PortletApp getPortletApp(java.lang.String servletContextName)
           
 Portlet getPortletById(long companyId, java.lang.String portletId)
           
 Portlet getPortletById(java.lang.String portletId)
           
 Portlet getPortletByStrutsPath(long companyId, java.lang.String strutsPath)
           
 java.util.List<Portlet> getPortlets()
           
 java.util.List<Portlet> getPortlets(int start, int end)
           
 java.util.List<Portlet> getPortlets(long companyId)
           
 java.util.List<Portlet> getPortlets(long companyId, boolean showSystem, boolean showPortal)
           
 int getPortletsCount()
           
 PortletCategory getWARDisplay(java.lang.String servletContextName, java.lang.String xml)
           
 PortletLocalService getWrappedPortletLocalService()
           
 boolean hasPortlet(long companyId, java.lang.String portletId)
           
 void initEAR(javax.servlet.ServletContext servletContext, java.lang.String[] xmls, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
           
 java.util.List<Portlet> initWAR(java.lang.String servletContextName, javax.servlet.ServletContext servletContext, java.lang.String[] xmls, com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
           
 Portlet newPortlet(long companyId, java.lang.String portletId)
           
 Portlet updatePortlet(long companyId, java.lang.String portletId, java.lang.String roles, boolean active)
           
 Portlet updatePortlet(Portlet portlet)
           
 Portlet updatePortlet(Portlet portlet, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletLocalServiceWrapper

public PortletLocalServiceWrapper(PortletLocalService portletLocalService)
Method Detail

addPortlet

public Portlet addPortlet(Portlet portlet)
                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addPortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createPortlet

public Portlet createPortlet(long id)
Specified by:
createPortlet in interface PortletLocalService

deletePortlet

public void deletePortlet(long id)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
deletePortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deletePortlet

public void deletePortlet(Portlet portlet)
                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deletePortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPortlet

public Portlet getPortlet(long id)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
getPortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getPortlets

public java.util.List<Portlet> getPortlets(int start,
                                           int end)
                                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPortlets in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPortletsCount

public int getPortletsCount()
                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPortletsCount in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updatePortlet

public Portlet updatePortlet(Portlet portlet)
                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updatePortlet

public Portlet updatePortlet(Portlet portlet,
                             boolean merge)
                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

checkPortlet

public void checkPortlet(Portlet portlet)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
checkPortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

checkPortlets

public void checkPortlets(long companyId)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Specified by:
checkPortlets in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deployRemotePortlet

public Portlet deployRemotePortlet(Portlet portlet,
                                   java.lang.String categoryName)
                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deployRemotePortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

destroyRemotePortlet

public void destroyRemotePortlet(Portlet portlet)
Specified by:
destroyRemotePortlet in interface PortletLocalService

destroyPortlet

public void destroyPortlet(Portlet portlet)
Specified by:
destroyPortlet in interface PortletLocalService

getCustomAttributesDisplays

public java.util.List<CustomAttributesDisplay> getCustomAttributesDisplays()
Specified by:
getCustomAttributesDisplays in interface PortletLocalService

getEARDisplay

public PortletCategory getEARDisplay(java.lang.String xml)
                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getEARDisplay in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPortletApp

public PortletApp getPortletApp(java.lang.String servletContextName)
Specified by:
getPortletApp in interface PortletLocalService

getWARDisplay

public PortletCategory getWARDisplay(java.lang.String servletContextName,
                                     java.lang.String xml)
                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getWARDisplay in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getFriendlyURLMapperPortlets

public java.util.List<Portlet> getFriendlyURLMapperPortlets()
Specified by:
getFriendlyURLMapperPortlets in interface PortletLocalService

getFriendlyURLMappers

public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers()
Specified by:
getFriendlyURLMappers in interface PortletLocalService

getPortletById

public Portlet getPortletById(java.lang.String portletId)
Specified by:
getPortletById in interface PortletLocalService

getPortletById

public Portlet getPortletById(long companyId,
                              java.lang.String portletId)
                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPortletById in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPortletByStrutsPath

public Portlet getPortletByStrutsPath(long companyId,
                                      java.lang.String strutsPath)
                               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPortletByStrutsPath in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPortlets

public java.util.List<Portlet> getPortlets()
Specified by:
getPortlets in interface PortletLocalService

getPortlets

public java.util.List<Portlet> getPortlets(long companyId)
                                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPortlets in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPortlets

public java.util.List<Portlet> getPortlets(long companyId,
                                           boolean showSystem,
                                           boolean showPortal)
                                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPortlets in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

hasPortlet

public boolean hasPortlet(long companyId,
                          java.lang.String portletId)
                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
hasPortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

initEAR

public void initEAR(javax.servlet.ServletContext servletContext,
                    java.lang.String[] xmls,
                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
Specified by:
initEAR in interface PortletLocalService

initWAR

public java.util.List<Portlet> initWAR(java.lang.String servletContextName,
                                       javax.servlet.ServletContext servletContext,
                                       java.lang.String[] xmls,
                                       com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
Specified by:
initWAR in interface PortletLocalService

newPortlet

public Portlet newPortlet(long companyId,
                          java.lang.String portletId)
Specified by:
newPortlet in interface PortletLocalService

updatePortlet

public Portlet updatePortlet(long companyId,
                             java.lang.String portletId,
                             java.lang.String roles,
                             boolean active)
                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePortlet in interface PortletLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getWrappedPortletLocalService

public PortletLocalService getWrappedPortletLocalService()