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