com.liferay.portal.service
Interface PortletLocalService
- public interface PortletLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This interface defines the service. The default implementation is com.liferay.portal.service.impl.PortletLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be accessed
from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
PortletServiceFactory
,
PortletServiceUtil
Method Summary |
Portlet |
addPortlet(Portlet model)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
PortletCategory |
getEARDisplay(java.lang.String xml)
|
java.util.List |
getFriendlyURLMappers()
|
Portlet |
getPortletById(long companyId,
java.lang.String portletId)
|
Portlet |
getPortletByStrutsPath(long companyId,
java.lang.String strutsPath)
|
java.util.List |
getPortlets(long companyId)
|
java.util.List |
getPortlets(long companyId,
boolean showSystem,
boolean showPortal)
|
PortletCategory |
getWARDisplay(java.lang.String servletContextName,
java.lang.String xml)
|
boolean |
hasPortlet(long companyId,
java.lang.String portletId)
|
void |
initEAR(java.lang.String[] xmls,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
|
java.util.List |
initWAR(java.lang.String servletContextName,
java.lang.String[] xmls,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
|
Portlet |
updatePortlet(long companyId,
java.lang.String portletId,
java.lang.String roles,
boolean active)
|
Portlet |
updatePortlet(Portlet model)
|
addPortlet
public Portlet addPortlet(Portlet model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updatePortlet
public Portlet updatePortlet(Portlet model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEARDisplay
public PortletCategory getEARDisplay(java.lang.String xml)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getWARDisplay
public PortletCategory getWARDisplay(java.lang.String servletContextName,
java.lang.String xml)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFriendlyURLMappers
public java.util.List getFriendlyURLMappers()
getPortletById
public Portlet getPortletById(long companyId,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPortletByStrutsPath
public Portlet getPortletByStrutsPath(long companyId,
java.lang.String strutsPath)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPortlets
public java.util.List getPortlets(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPortlets
public java.util.List getPortlets(long companyId,
boolean showSystem,
boolean showPortal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasPortlet
public boolean hasPortlet(long companyId,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
initEAR
public void initEAR(java.lang.String[] xmls,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
initWAR
public java.util.List initWAR(java.lang.String servletContextName,
java.lang.String[] xmls,
com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
updatePortlet
public Portlet updatePortlet(long companyId,
java.lang.String portletId,
java.lang.String roles,
boolean active)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException