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
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List<Object> dynamicQuery(
68 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69 int end) throws com.liferay.portal.SystemException;
70
71 public com.liferay.portal.model.Portlet getPortlet(long id)
72 throws com.liferay.portal.SystemException,
73 com.liferay.portal.PortalException;
74
75 public com.liferay.portal.model.Portlet updatePortlet(
76 com.liferay.portal.model.Portlet portlet)
77 throws com.liferay.portal.SystemException;
78
79 public void destroyPortlet(com.liferay.portal.model.Portlet portlet);
80
81 public com.liferay.portal.model.PortletCategory getEARDisplay(
82 java.lang.String xml) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.PortletCategory getWARDisplay(
85 java.lang.String servletContextName, java.lang.String xml)
86 throws com.liferay.portal.SystemException;
87
88 public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers();
89
90 public com.liferay.portal.model.Portlet getPortletById(long companyId,
91 java.lang.String portletId) throws com.liferay.portal.SystemException;
92
93 public com.liferay.portal.model.Portlet getPortletByStrutsPath(
94 long companyId, java.lang.String strutsPath)
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portal.model.Portlet> getPortlets();
98
99 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
100 long companyId) throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
103 long companyId, boolean showSystem, boolean showPortal)
104 throws com.liferay.portal.SystemException;
105
106 public boolean hasPortlet(long companyId, java.lang.String portletId)
107 throws com.liferay.portal.SystemException;
108
109 public void initEAR(java.lang.String[] xmls,
110 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage);
111
112 public java.util.List<com.liferay.portal.model.Portlet> initWAR(
113 java.lang.String servletContextName, java.lang.String[] xmls,
114 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage);
115
116 public com.liferay.portal.model.Portlet updatePortlet(long companyId,
117 java.lang.String portletId, java.lang.String roles, boolean active)
118 throws com.liferay.portal.SystemException;
119 }