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