1
19
20 package com.liferay.portlet.expando.service.persistence;
21
22
28 public class ExpandoRowUtil {
29 public static com.liferay.portlet.expando.model.ExpandoRow create(
30 long rowId) {
31 return getPersistence().create(rowId);
32 }
33
34 public static com.liferay.portlet.expando.model.ExpandoRow remove(
35 long rowId)
36 throws com.liferay.portal.SystemException,
37 com.liferay.portlet.expando.NoSuchRowException {
38 return getPersistence().remove(rowId);
39 }
40
41 public static com.liferay.portlet.expando.model.ExpandoRow remove(
42 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
43 throws com.liferay.portal.SystemException {
44 return getPersistence().remove(expandoRow);
45 }
46
47
50 public static com.liferay.portlet.expando.model.ExpandoRow update(
51 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(expandoRow);
54 }
55
56
69 public static com.liferay.portlet.expando.model.ExpandoRow update(
70 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
71 throws com.liferay.portal.SystemException {
72 return getPersistence().update(expandoRow, merge);
73 }
74
75 public static com.liferay.portlet.expando.model.ExpandoRow updateImpl(
76 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().updateImpl(expandoRow, merge);
79 }
80
81 public static com.liferay.portlet.expando.model.ExpandoRow findByPrimaryKey(
82 long rowId)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.expando.NoSuchRowException {
85 return getPersistence().findByPrimaryKey(rowId);
86 }
87
88 public static com.liferay.portlet.expando.model.ExpandoRow fetchByPrimaryKey(
89 long rowId) throws com.liferay.portal.SystemException {
90 return getPersistence().fetchByPrimaryKey(rowId);
91 }
92
93 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
94 long tableId) throws com.liferay.portal.SystemException {
95 return getPersistence().findByTableId(tableId);
96 }
97
98 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
99 long tableId, int start, int end)
100 throws com.liferay.portal.SystemException {
101 return getPersistence().findByTableId(tableId, start, end);
102 }
103
104 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
105 long tableId, int start, int end,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException {
108 return getPersistence().findByTableId(tableId, start, end, obc);
109 }
110
111 public static com.liferay.portlet.expando.model.ExpandoRow findByTableId_First(
112 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.expando.NoSuchRowException {
115 return getPersistence().findByTableId_First(tableId, obc);
116 }
117
118 public static com.liferay.portlet.expando.model.ExpandoRow findByTableId_Last(
119 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.expando.NoSuchRowException {
122 return getPersistence().findByTableId_Last(tableId, obc);
123 }
124
125 public static com.liferay.portlet.expando.model.ExpandoRow[] findByTableId_PrevAndNext(
126 long rowId, long tableId,
127 com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.expando.NoSuchRowException {
130 return getPersistence().findByTableId_PrevAndNext(rowId, tableId, obc);
131 }
132
133 public static com.liferay.portlet.expando.model.ExpandoRow findByT_C(
134 long tableId, long classPK)
135 throws com.liferay.portal.SystemException,
136 com.liferay.portlet.expando.NoSuchRowException {
137 return getPersistence().findByT_C(tableId, classPK);
138 }
139
140 public static com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
141 long tableId, long classPK) throws com.liferay.portal.SystemException {
142 return getPersistence().fetchByT_C(tableId, classPK);
143 }
144
145 public static java.util.List<Object> findWithDynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
147 throws com.liferay.portal.SystemException {
148 return getPersistence().findWithDynamicQuery(dynamicQuery);
149 }
150
151 public static java.util.List<Object> findWithDynamicQuery(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
153 int end) throws com.liferay.portal.SystemException {
154 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
155 }
156
157 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll()
158 throws com.liferay.portal.SystemException {
159 return getPersistence().findAll();
160 }
161
162 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
163 int start, int end) throws com.liferay.portal.SystemException {
164 return getPersistence().findAll(start, end);
165 }
166
167 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
168 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
169 throws com.liferay.portal.SystemException {
170 return getPersistence().findAll(start, end, obc);
171 }
172
173 public static void removeByTableId(long tableId)
174 throws com.liferay.portal.SystemException {
175 getPersistence().removeByTableId(tableId);
176 }
177
178 public static void removeByT_C(long tableId, long classPK)
179 throws com.liferay.portal.SystemException,
180 com.liferay.portlet.expando.NoSuchRowException {
181 getPersistence().removeByT_C(tableId, classPK);
182 }
183
184 public static void removeAll() throws com.liferay.portal.SystemException {
185 getPersistence().removeAll();
186 }
187
188 public static int countByTableId(long tableId)
189 throws com.liferay.portal.SystemException {
190 return getPersistence().countByTableId(tableId);
191 }
192
193 public static int countByT_C(long tableId, long classPK)
194 throws com.liferay.portal.SystemException {
195 return getPersistence().countByT_C(tableId, classPK);
196 }
197
198 public static int countAll() throws com.liferay.portal.SystemException {
199 return getPersistence().countAll();
200 }
201
202 public static ExpandoRowPersistence getPersistence() {
203 return _persistence;
204 }
205
206 public void setPersistence(ExpandoRowPersistence persistence) {
207 _persistence = persistence;
208 }
209
210 private static ExpandoRowPersistence _persistence;
211 }