001: package com.ext.portlet.reports.service.persistence;
002:
003: public class ReportsEntryUtil {
004: private static final String _UTIL = ReportsEntryUtil.class
005: .getName();
006: private static ReportsEntryUtil _util;
007: private ReportsEntryPersistence _persistence;
008:
009: public static com.ext.portlet.reports.model.ReportsEntry create(
010: java.lang.String entryId) {
011: return getPersistence().create(entryId);
012: }
013:
014: public static com.ext.portlet.reports.model.ReportsEntry remove(
015: java.lang.String entryId)
016: throws com.liferay.portal.SystemException,
017: com.ext.portlet.reports.NoSuchEntryException {
018: return getPersistence().remove(entryId);
019: }
020:
021: public static com.ext.portlet.reports.model.ReportsEntry remove(
022: com.ext.portlet.reports.model.ReportsEntry reportsEntry)
023: throws com.liferay.portal.SystemException {
024: return getPersistence().remove(reportsEntry);
025: }
026:
027: public static com.ext.portlet.reports.model.ReportsEntry update(
028: com.ext.portlet.reports.model.ReportsEntry reportsEntry)
029: throws com.liferay.portal.SystemException {
030: return getPersistence().update(reportsEntry);
031: }
032:
033: public static com.ext.portlet.reports.model.ReportsEntry update(
034: com.ext.portlet.reports.model.ReportsEntry reportsEntry,
035: boolean merge) throws com.liferay.portal.SystemException {
036: return getPersistence().update(reportsEntry, merge);
037: }
038:
039: public static com.ext.portlet.reports.model.ReportsEntry updateImpl(
040: com.ext.portlet.reports.model.ReportsEntry reportsEntry,
041: boolean merge) throws com.liferay.portal.SystemException {
042: return getPersistence().updateImpl(reportsEntry, merge);
043: }
044:
045: public static com.ext.portlet.reports.model.ReportsEntry findByPrimaryKey(
046: java.lang.String entryId)
047: throws com.liferay.portal.SystemException,
048: com.ext.portlet.reports.NoSuchEntryException {
049: return getPersistence().findByPrimaryKey(entryId);
050: }
051:
052: public static com.ext.portlet.reports.model.ReportsEntry fetchByPrimaryKey(
053: java.lang.String entryId)
054: throws com.liferay.portal.SystemException {
055: return getPersistence().fetchByPrimaryKey(entryId);
056: }
057:
058: public static java.util.List findByCompanyId(
059: java.lang.String companyId)
060: throws com.liferay.portal.SystemException {
061: return getPersistence().findByCompanyId(companyId);
062: }
063:
064: public static java.util.List findByCompanyId(
065: java.lang.String companyId, int begin, int end)
066: throws com.liferay.portal.SystemException {
067: return getPersistence().findByCompanyId(companyId, begin, end);
068: }
069:
070: public static java.util.List findByCompanyId(
071: java.lang.String companyId, int begin, int end,
072: com.liferay.portal.kernel.util.OrderByComparator obc)
073: throws com.liferay.portal.SystemException {
074: return getPersistence().findByCompanyId(companyId, begin, end,
075: obc);
076: }
077:
078: public static com.ext.portlet.reports.model.ReportsEntry findByCompanyId_First(
079: java.lang.String companyId,
080: com.liferay.portal.kernel.util.OrderByComparator obc)
081: throws com.liferay.portal.SystemException,
082: com.ext.portlet.reports.NoSuchEntryException {
083: return getPersistence().findByCompanyId_First(companyId, obc);
084: }
085:
086: public static com.ext.portlet.reports.model.ReportsEntry findByCompanyId_Last(
087: java.lang.String companyId,
088: com.liferay.portal.kernel.util.OrderByComparator obc)
089: throws com.liferay.portal.SystemException,
090: com.ext.portlet.reports.NoSuchEntryException {
091: return getPersistence().findByCompanyId_Last(companyId, obc);
092: }
093:
094: public static com.ext.portlet.reports.model.ReportsEntry[] findByCompanyId_PrevAndNext(
095: java.lang.String entryId, java.lang.String companyId,
096: com.liferay.portal.kernel.util.OrderByComparator obc)
097: throws com.liferay.portal.SystemException,
098: com.ext.portlet.reports.NoSuchEntryException {
099: return getPersistence().findByCompanyId_PrevAndNext(entryId,
100: companyId, obc);
101: }
102:
103: public static java.util.List findByUserId(java.lang.String userId)
104: throws com.liferay.portal.SystemException {
105: return getPersistence().findByUserId(userId);
106: }
107:
108: public static java.util.List findByUserId(java.lang.String userId,
109: int begin, int end)
110: throws com.liferay.portal.SystemException {
111: return getPersistence().findByUserId(userId, begin, end);
112: }
113:
114: public static java.util.List findByUserId(java.lang.String userId,
115: int begin, int end,
116: com.liferay.portal.kernel.util.OrderByComparator obc)
117: throws com.liferay.portal.SystemException {
118: return getPersistence().findByUserId(userId, begin, end, obc);
119: }
120:
121: public static com.ext.portlet.reports.model.ReportsEntry findByUserId_First(
122: java.lang.String userId,
123: com.liferay.portal.kernel.util.OrderByComparator obc)
124: throws com.liferay.portal.SystemException,
125: com.ext.portlet.reports.NoSuchEntryException {
126: return getPersistence().findByUserId_First(userId, obc);
127: }
128:
129: public static com.ext.portlet.reports.model.ReportsEntry findByUserId_Last(
130: java.lang.String userId,
131: com.liferay.portal.kernel.util.OrderByComparator obc)
132: throws com.liferay.portal.SystemException,
133: com.ext.portlet.reports.NoSuchEntryException {
134: return getPersistence().findByUserId_Last(userId, obc);
135: }
136:
137: public static com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext(
138: java.lang.String entryId, java.lang.String userId,
139: com.liferay.portal.kernel.util.OrderByComparator obc)
140: throws com.liferay.portal.SystemException,
141: com.ext.portlet.reports.NoSuchEntryException {
142: return getPersistence().findByUserId_PrevAndNext(entryId,
143: userId, obc);
144: }
145:
146: public static java.util.List findWithDynamicQuery(
147: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
148: throws com.liferay.portal.SystemException {
149: return getPersistence().findWithDynamicQuery(queryInitializer);
150: }
151:
152: public static java.util.List findWithDynamicQuery(
153: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
154: int begin, int end)
155: throws com.liferay.portal.SystemException {
156: return getPersistence().findWithDynamicQuery(queryInitializer,
157: begin, end);
158: }
159:
160: public static java.util.List findAll()
161: throws com.liferay.portal.SystemException {
162: return getPersistence().findAll();
163: }
164:
165: public static java.util.List findAll(int begin, int end)
166: throws com.liferay.portal.SystemException {
167: return getPersistence().findAll(begin, end);
168: }
169:
170: public static java.util.List findAll(int begin, int end,
171: com.liferay.portal.kernel.util.OrderByComparator obc)
172: throws com.liferay.portal.SystemException {
173: return getPersistence().findAll(begin, end, obc);
174: }
175:
176: public static void removeByCompanyId(java.lang.String companyId)
177: throws com.liferay.portal.SystemException {
178: getPersistence().removeByCompanyId(companyId);
179: }
180:
181: public static void removeByUserId(java.lang.String userId)
182: throws com.liferay.portal.SystemException {
183: getPersistence().removeByUserId(userId);
184: }
185:
186: public static void removeAll()
187: throws com.liferay.portal.SystemException {
188: getPersistence().removeAll();
189: }
190:
191: public static int countByCompanyId(java.lang.String companyId)
192: throws com.liferay.portal.SystemException {
193: return getPersistence().countByCompanyId(companyId);
194: }
195:
196: public static int countByUserId(java.lang.String userId)
197: throws com.liferay.portal.SystemException {
198: return getPersistence().countByUserId(userId);
199: }
200:
201: public static int countAll()
202: throws com.liferay.portal.SystemException {
203: return getPersistence().countAll();
204: }
205:
206: public static ReportsEntryPersistence getPersistence() {
207: return _getUtil()._persistence;
208: }
209:
210: public void setPersistence(ReportsEntryPersistence persistence) {
211: _persistence = persistence;
212: }
213:
214: private static ReportsEntryUtil _getUtil() {
215: if (_util == null) {
216: _util = (ReportsEntryUtil) com.liferay.portal.kernel.bean.BeanLocatorUtil
217: .locate(_UTIL);
218: }
219:
220: return _util;
221: }
222: }
|