1
22
23 package com.liferay.portal.service.persistence;
24
25 import com.liferay.portal.model.PortletItem;
26
27
40 public interface PortletItemPersistence extends BasePersistence<PortletItem> {
41 public void cacheResult(com.liferay.portal.model.PortletItem portletItem);
42
43 public void cacheResult(
44 java.util.List<com.liferay.portal.model.PortletItem> portletItems);
45
46 public com.liferay.portal.model.PortletItem create(long portletItemId);
47
48 public com.liferay.portal.model.PortletItem remove(long portletItemId)
49 throws com.liferay.portal.NoSuchPortletItemException,
50 com.liferay.portal.SystemException;
51
52
55 public com.liferay.portal.model.PortletItem update(
56 com.liferay.portal.model.PortletItem portletItem)
57 throws com.liferay.portal.SystemException;
58
59 public com.liferay.portal.model.PortletItem updateImpl(
60 com.liferay.portal.model.PortletItem portletItem, boolean merge)
61 throws com.liferay.portal.SystemException;
62
63 public com.liferay.portal.model.PortletItem findByPrimaryKey(
64 long portletItemId)
65 throws com.liferay.portal.NoSuchPortletItemException,
66 com.liferay.portal.SystemException;
67
68 public com.liferay.portal.model.PortletItem fetchByPrimaryKey(
69 long portletItemId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portal.model.PortletItem> findByG_C(
72 long groupId, long classNameId)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portal.model.PortletItem> findByG_C(
76 long groupId, long classNameId, int start, int end)
77 throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portal.model.PortletItem> findByG_C(
80 long groupId, long classNameId, int start, int end,
81 com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.PortletItem findByG_C_First(long groupId,
85 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.NoSuchPortletItemException,
87 com.liferay.portal.SystemException;
88
89 public com.liferay.portal.model.PortletItem findByG_C_Last(long groupId,
90 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.NoSuchPortletItemException,
92 com.liferay.portal.SystemException;
93
94 public com.liferay.portal.model.PortletItem[] findByG_C_PrevAndNext(
95 long portletItemId, long groupId, long classNameId,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.NoSuchPortletItemException,
98 com.liferay.portal.SystemException;
99
100 public java.util.List<com.liferay.portal.model.PortletItem> findByG_P_C(
101 long groupId, java.lang.String portletId, long classNameId)
102 throws com.liferay.portal.SystemException;
103
104 public java.util.List<com.liferay.portal.model.PortletItem> findByG_P_C(
105 long groupId, java.lang.String portletId, long classNameId, int start,
106 int end) throws com.liferay.portal.SystemException;
107
108 public java.util.List<com.liferay.portal.model.PortletItem> findByG_P_C(
109 long groupId, java.lang.String portletId, long classNameId, int start,
110 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException;
112
113 public com.liferay.portal.model.PortletItem findByG_P_C_First(
114 long groupId, java.lang.String portletId, long classNameId,
115 com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.NoSuchPortletItemException,
117 com.liferay.portal.SystemException;
118
119 public com.liferay.portal.model.PortletItem findByG_P_C_Last(long groupId,
120 java.lang.String portletId, long classNameId,
121 com.liferay.portal.kernel.util.OrderByComparator obc)
122 throws com.liferay.portal.NoSuchPortletItemException,
123 com.liferay.portal.SystemException;
124
125 public com.liferay.portal.model.PortletItem[] findByG_P_C_PrevAndNext(
126 long portletItemId, long groupId, java.lang.String portletId,
127 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.NoSuchPortletItemException,
129 com.liferay.portal.SystemException;
130
131 public com.liferay.portal.model.PortletItem findByG_N_P_C(long groupId,
132 java.lang.String name, java.lang.String portletId, long classNameId)
133 throws com.liferay.portal.NoSuchPortletItemException,
134 com.liferay.portal.SystemException;
135
136 public com.liferay.portal.model.PortletItem fetchByG_N_P_C(long groupId,
137 java.lang.String name, java.lang.String portletId, long classNameId)
138 throws com.liferay.portal.SystemException;
139
140 public com.liferay.portal.model.PortletItem fetchByG_N_P_C(long groupId,
141 java.lang.String name, java.lang.String portletId, long classNameId,
142 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portal.model.PortletItem> findAll()
145 throws com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portal.model.PortletItem> findAll(
148 int start, int end) throws com.liferay.portal.SystemException;
149
150 public java.util.List<com.liferay.portal.model.PortletItem> findAll(
151 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException;
153
154 public void removeByG_C(long groupId, long classNameId)
155 throws com.liferay.portal.SystemException;
156
157 public void removeByG_P_C(long groupId, java.lang.String portletId,
158 long classNameId) throws com.liferay.portal.SystemException;
159
160 public void removeByG_N_P_C(long groupId, java.lang.String name,
161 java.lang.String portletId, long classNameId)
162 throws com.liferay.portal.NoSuchPortletItemException,
163 com.liferay.portal.SystemException;
164
165 public void removeAll() throws com.liferay.portal.SystemException;
166
167 public int countByG_C(long groupId, long classNameId)
168 throws com.liferay.portal.SystemException;
169
170 public int countByG_P_C(long groupId, java.lang.String portletId,
171 long classNameId) throws com.liferay.portal.SystemException;
172
173 public int countByG_N_P_C(long groupId, java.lang.String name,
174 java.lang.String portletId, long classNameId)
175 throws com.liferay.portal.SystemException;
176
177 public int countAll() throws com.liferay.portal.SystemException;
178 }