1
22
23 package com.liferay.portal.service;
24
25
26
51 public interface PortletLocalService {
52 public com.liferay.portal.model.Portlet addPortlet(
53 com.liferay.portal.model.Portlet portlet)
54 throws com.liferay.portal.SystemException;
55
56 public void deletePortlet(long id)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deletePortlet(com.liferay.portal.model.Portlet portlet)
61 throws com.liferay.portal.SystemException,
62 com.liferay.portal.PortalException;
63
64 public java.util.List<com.liferay.portal.model.Portlet> dynamicQuery(
65 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portal.model.Portlet> dynamicQuery(
69 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
70 int begin, int end) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portal.model.Portlet updatePortlet(
73 com.liferay.portal.model.Portlet portlet)
74 throws com.liferay.portal.SystemException;
75
76 public void destroyPortlet(com.liferay.portal.model.Portlet portlet);
77
78 public com.liferay.portal.model.PortletCategory getEARDisplay(
79 java.lang.String xml) throws com.liferay.portal.SystemException;
80
81 public com.liferay.portal.model.PortletCategory getWARDisplay(
82 java.lang.String servletContextName, java.lang.String xml)
83 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers();
86
87 public com.liferay.portal.model.Portlet getPortletById(long companyId,
88 java.lang.String portletId) throws com.liferay.portal.SystemException;
89
90 public com.liferay.portal.model.Portlet getPortletByStrutsPath(
91 long companyId, java.lang.String strutsPath)
92 throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.Portlet> getPortlets();
95
96 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
97 long companyId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
100 long companyId, boolean showSystem, boolean showPortal)
101 throws com.liferay.portal.SystemException;
102
103 public boolean hasPortlet(long companyId, java.lang.String portletId)
104 throws com.liferay.portal.SystemException;
105
106 public void initEAR(java.lang.String[] xmls,
107 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage);
108
109 public java.util.List<com.liferay.portal.model.Portlet> initWAR(
110 java.lang.String servletContextName, java.lang.String[] xmls,
111 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage);
112
113 public com.liferay.portal.model.Portlet updatePortlet(long companyId,
114 java.lang.String portletId, java.lang.String roles, boolean active)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portal.PortalException;
117 }