1
22
23 package com.liferay.portal.service;
24
25
26
50 public interface PortletItemLocalService {
51 public com.liferay.portal.model.PortletItem addPortletItem(
52 com.liferay.portal.model.PortletItem portletItem)
53 throws com.liferay.portal.SystemException;
54
55 public void deletePortletItem(long portletItemId)
56 throws com.liferay.portal.SystemException,
57 com.liferay.portal.PortalException;
58
59 public void deletePortletItem(
60 com.liferay.portal.model.PortletItem portletItem)
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.PortletItem getPortletItem(
72 long portletItemId)
73 throws com.liferay.portal.SystemException,
74 com.liferay.portal.PortalException;
75
76 public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
77 int start, int end) throws com.liferay.portal.SystemException;
78
79 public int getPortletItemsCount() throws com.liferay.portal.SystemException;
80
81 public com.liferay.portal.model.PortletItem updatePortletItem(
82 com.liferay.portal.model.PortletItem portletItem)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portal.model.PortletItem addPortletItem(long userId,
86 long groupId, java.lang.String name, java.lang.String portletId,
87 java.lang.String className)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 public com.liferay.portal.model.PortletItem getPortletItem(long groupId,
92 java.lang.String name, java.lang.String portletId,
93 java.lang.String className)
94 throws com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
98 long groupId, java.lang.String className)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
102 long groupId, java.lang.String portletId, java.lang.String className)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portal.model.PortletItem updatePortletItem(long userId,
106 long groupId, java.lang.String name, java.lang.String portletId,
107 java.lang.String className)
108 throws com.liferay.portal.PortalException,
109 com.liferay.portal.SystemException;
110 }