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 obc)
74 throws com.liferay.portal.SystemException;
75
76 public com.liferay.portal.model.PortletItem findByG_C_First(long groupId,
77 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.NoSuchPortletItemException,
79 com.liferay.portal.SystemException;
80
81 public com.liferay.portal.model.PortletItem findByG_C_Last(long groupId,
82 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.NoSuchPortletItemException,
84 com.liferay.portal.SystemException;
85
86 public com.liferay.portal.model.PortletItem[] findByG_C_PrevAndNext(
87 long portletItemId, long groupId, long classNameId,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.NoSuchPortletItemException,
90 com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portal.model.PortletItem> findByG_P_C(
93 long groupId, java.lang.String portletId, long classNameId)
94 throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portal.model.PortletItem> findByG_P_C(
97 long groupId, java.lang.String portletId, long classNameId, int start,
98 int end) throws 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, int start,
102 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portal.model.PortletItem findByG_P_C_First(
106 long groupId, java.lang.String portletId, long classNameId,
107 com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.NoSuchPortletItemException,
109 com.liferay.portal.SystemException;
110
111 public com.liferay.portal.model.PortletItem findByG_P_C_Last(long groupId,
112 java.lang.String portletId, long classNameId,
113 com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.NoSuchPortletItemException,
115 com.liferay.portal.SystemException;
116
117 public com.liferay.portal.model.PortletItem[] findByG_P_C_PrevAndNext(
118 long portletItemId, long groupId, java.lang.String portletId,
119 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.NoSuchPortletItemException,
121 com.liferay.portal.SystemException;
122
123 public com.liferay.portal.model.PortletItem findByG_N_P_C(long groupId,
124 java.lang.String name, java.lang.String portletId, long classNameId)
125 throws com.liferay.portal.NoSuchPortletItemException,
126 com.liferay.portal.SystemException;
127
128 public com.liferay.portal.model.PortletItem fetchByG_N_P_C(long groupId,
129 java.lang.String name, java.lang.String portletId, long classNameId)
130 throws 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 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
135
136 public java.util.List<com.liferay.portal.model.PortletItem> findAll()
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<com.liferay.portal.model.PortletItem> findAll(
140 int start, int end) throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portal.model.PortletItem> findAll(
143 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException;
145
146 public void removeByG_C(long groupId, long classNameId)
147 throws com.liferay.portal.SystemException;
148
149 public void removeByG_P_C(long groupId, java.lang.String portletId,
150 long classNameId) throws com.liferay.portal.SystemException;
151
152 public void removeByG_N_P_C(long groupId, java.lang.String name,
153 java.lang.String portletId, long classNameId)
154 throws com.liferay.portal.NoSuchPortletItemException,
155 com.liferay.portal.SystemException;
156
157 public void removeAll() throws com.liferay.portal.SystemException;
158
159 public int countByG_C(long groupId, long classNameId)
160 throws com.liferay.portal.SystemException;
161
162 public int countByG_P_C(long groupId, java.lang.String portletId,
163 long classNameId) throws com.liferay.portal.SystemException;
164
165 public int countByG_N_P_C(long groupId, java.lang.String name,
166 java.lang.String portletId, long classNameId)
167 throws com.liferay.portal.SystemException;
168
169 public int countAll() throws com.liferay.portal.SystemException;
170 }