1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface PortletItemPersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.PortletItem portletItem);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.PortletItem> portletItems);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.PortletItem create(long portletItemId);
48
49 public com.liferay.portal.model.PortletItem remove(long portletItemId)
50 throws com.liferay.portal.NoSuchPortletItemException,
51 com.liferay.portal.SystemException;
52
53 public com.liferay.portal.model.PortletItem remove(
54 com.liferay.portal.model.PortletItem portletItem)
55 throws com.liferay.portal.SystemException;
56
57
60 public com.liferay.portal.model.PortletItem update(
61 com.liferay.portal.model.PortletItem portletItem)
62 throws com.liferay.portal.SystemException;
63
64
76 public com.liferay.portal.model.PortletItem update(
77 com.liferay.portal.model.PortletItem portletItem, boolean merge)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.PortletItem updateImpl(
81 com.liferay.portal.model.PortletItem portletItem, boolean merge)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.PortletItem findByPrimaryKey(
85 long portletItemId)
86 throws com.liferay.portal.NoSuchPortletItemException,
87 com.liferay.portal.SystemException;
88
89 public com.liferay.portal.model.PortletItem fetchByPrimaryKey(
90 long portletItemId) throws com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portal.model.PortletItem> findByG_C(
93 long groupId, long classNameId)
94 throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portal.model.PortletItem> findByG_C(
97 long groupId, long classNameId, int start, int end)
98 throws com.liferay.portal.SystemException;
99
100 public java.util.List<com.liferay.portal.model.PortletItem> findByG_C(
101 long groupId, long classNameId, int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portal.model.PortletItem findByG_C_First(long groupId,
106 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.NoSuchPortletItemException,
108 com.liferay.portal.SystemException;
109
110 public com.liferay.portal.model.PortletItem findByG_C_Last(long groupId,
111 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.NoSuchPortletItemException,
113 com.liferay.portal.SystemException;
114
115 public com.liferay.portal.model.PortletItem[] findByG_C_PrevAndNext(
116 long portletItemId, long groupId, long classNameId,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.NoSuchPortletItemException,
119 com.liferay.portal.SystemException;
120
121 public java.util.List<com.liferay.portal.model.PortletItem> findByG_P_C(
122 long groupId, java.lang.String portletId, long classNameId)
123 throws com.liferay.portal.SystemException;
124
125 public java.util.List<com.liferay.portal.model.PortletItem> findByG_P_C(
126 long groupId, java.lang.String portletId, long classNameId, int start,
127 int end) throws com.liferay.portal.SystemException;
128
129 public java.util.List<com.liferay.portal.model.PortletItem> findByG_P_C(
130 long groupId, java.lang.String portletId, long classNameId, int start,
131 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.SystemException;
133
134 public com.liferay.portal.model.PortletItem findByG_P_C_First(
135 long groupId, java.lang.String portletId, long classNameId,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.NoSuchPortletItemException,
138 com.liferay.portal.SystemException;
139
140 public com.liferay.portal.model.PortletItem findByG_P_C_Last(long groupId,
141 java.lang.String portletId, long classNameId,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.NoSuchPortletItemException,
144 com.liferay.portal.SystemException;
145
146 public com.liferay.portal.model.PortletItem[] findByG_P_C_PrevAndNext(
147 long portletItemId, long groupId, java.lang.String portletId,
148 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.NoSuchPortletItemException,
150 com.liferay.portal.SystemException;
151
152 public com.liferay.portal.model.PortletItem findByG_N_P_C(long groupId,
153 java.lang.String name, java.lang.String portletId, long classNameId)
154 throws com.liferay.portal.NoSuchPortletItemException,
155 com.liferay.portal.SystemException;
156
157 public com.liferay.portal.model.PortletItem fetchByG_N_P_C(long groupId,
158 java.lang.String name, java.lang.String portletId, long classNameId)
159 throws com.liferay.portal.SystemException;
160
161 public com.liferay.portal.model.PortletItem fetchByG_N_P_C(long groupId,
162 java.lang.String name, java.lang.String portletId, long classNameId,
163 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
164
165 public java.util.List<Object> findWithDynamicQuery(
166 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
167 throws com.liferay.portal.SystemException;
168
169 public java.util.List<Object> findWithDynamicQuery(
170 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
171 int end) throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portal.model.PortletItem> findAll()
174 throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portal.model.PortletItem> findAll(
177 int start, int end) throws com.liferay.portal.SystemException;
178
179 public java.util.List<com.liferay.portal.model.PortletItem> findAll(
180 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.SystemException;
182
183 public void removeByG_C(long groupId, long classNameId)
184 throws com.liferay.portal.SystemException;
185
186 public void removeByG_P_C(long groupId, java.lang.String portletId,
187 long classNameId) throws com.liferay.portal.SystemException;
188
189 public void removeByG_N_P_C(long groupId, java.lang.String name,
190 java.lang.String portletId, long classNameId)
191 throws com.liferay.portal.NoSuchPortletItemException,
192 com.liferay.portal.SystemException;
193
194 public void removeAll() throws com.liferay.portal.SystemException;
195
196 public int countByG_C(long groupId, long classNameId)
197 throws com.liferay.portal.SystemException;
198
199 public int countByG_P_C(long groupId, java.lang.String portletId,
200 long classNameId) throws com.liferay.portal.SystemException;
201
202 public int countByG_N_P_C(long groupId, java.lang.String name,
203 java.lang.String portletId, long classNameId)
204 throws com.liferay.portal.SystemException;
205
206 public int countAll() throws com.liferay.portal.SystemException;
207 }