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