001: package com.ext.portlet.reports.service.persistence;
002:
003: public interface ReportsEntryPersistence {
004: public com.ext.portlet.reports.model.ReportsEntry create(
005: java.lang.String entryId);
006:
007: public com.ext.portlet.reports.model.ReportsEntry remove(
008: java.lang.String entryId)
009: throws com.liferay.portal.SystemException,
010: com.ext.portlet.reports.NoSuchEntryException;
011:
012: public com.ext.portlet.reports.model.ReportsEntry remove(
013: com.ext.portlet.reports.model.ReportsEntry reportsEntry)
014: throws com.liferay.portal.SystemException;
015:
016: public com.ext.portlet.reports.model.ReportsEntry update(
017: com.ext.portlet.reports.model.ReportsEntry reportsEntry)
018: throws com.liferay.portal.SystemException;
019:
020: public com.ext.portlet.reports.model.ReportsEntry update(
021: com.ext.portlet.reports.model.ReportsEntry reportsEntry,
022: boolean merge) throws com.liferay.portal.SystemException;
023:
024: public com.ext.portlet.reports.model.ReportsEntry updateImpl(
025: com.ext.portlet.reports.model.ReportsEntry reportsEntry,
026: boolean merge) throws com.liferay.portal.SystemException;
027:
028: public com.ext.portlet.reports.model.ReportsEntry findByPrimaryKey(
029: java.lang.String entryId)
030: throws com.liferay.portal.SystemException,
031: com.ext.portlet.reports.NoSuchEntryException;
032:
033: public com.ext.portlet.reports.model.ReportsEntry fetchByPrimaryKey(
034: java.lang.String entryId)
035: throws com.liferay.portal.SystemException;
036:
037: public java.util.List findByCompanyId(java.lang.String companyId)
038: throws com.liferay.portal.SystemException;
039:
040: public java.util.List findByCompanyId(java.lang.String companyId,
041: int begin, int end)
042: throws com.liferay.portal.SystemException;
043:
044: public java.util.List findByCompanyId(java.lang.String companyId,
045: int begin, int end,
046: com.liferay.portal.kernel.util.OrderByComparator obc)
047: throws com.liferay.portal.SystemException;
048:
049: public com.ext.portlet.reports.model.ReportsEntry findByCompanyId_First(
050: java.lang.String companyId,
051: com.liferay.portal.kernel.util.OrderByComparator obc)
052: throws com.liferay.portal.SystemException,
053: com.ext.portlet.reports.NoSuchEntryException;
054:
055: public com.ext.portlet.reports.model.ReportsEntry findByCompanyId_Last(
056: java.lang.String companyId,
057: com.liferay.portal.kernel.util.OrderByComparator obc)
058: throws com.liferay.portal.SystemException,
059: com.ext.portlet.reports.NoSuchEntryException;
060:
061: public com.ext.portlet.reports.model.ReportsEntry[] findByCompanyId_PrevAndNext(
062: java.lang.String entryId, java.lang.String companyId,
063: com.liferay.portal.kernel.util.OrderByComparator obc)
064: throws com.liferay.portal.SystemException,
065: com.ext.portlet.reports.NoSuchEntryException;
066:
067: public java.util.List findByUserId(java.lang.String userId)
068: throws com.liferay.portal.SystemException;
069:
070: public java.util.List findByUserId(java.lang.String userId,
071: int begin, int end)
072: throws com.liferay.portal.SystemException;
073:
074: public java.util.List findByUserId(java.lang.String userId,
075: int begin, int end,
076: com.liferay.portal.kernel.util.OrderByComparator obc)
077: throws com.liferay.portal.SystemException;
078:
079: public com.ext.portlet.reports.model.ReportsEntry findByUserId_First(
080: java.lang.String userId,
081: com.liferay.portal.kernel.util.OrderByComparator obc)
082: throws com.liferay.portal.SystemException,
083: com.ext.portlet.reports.NoSuchEntryException;
084:
085: public com.ext.portlet.reports.model.ReportsEntry findByUserId_Last(
086: java.lang.String userId,
087: com.liferay.portal.kernel.util.OrderByComparator obc)
088: throws com.liferay.portal.SystemException,
089: com.ext.portlet.reports.NoSuchEntryException;
090:
091: public com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext(
092: java.lang.String entryId, java.lang.String userId,
093: com.liferay.portal.kernel.util.OrderByComparator obc)
094: throws com.liferay.portal.SystemException,
095: com.ext.portlet.reports.NoSuchEntryException;
096:
097: public java.util.List findWithDynamicQuery(
098: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
099: throws com.liferay.portal.SystemException;
100:
101: public java.util.List findWithDynamicQuery(
102: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
103: int begin, int end)
104: throws com.liferay.portal.SystemException;
105:
106: public java.util.List findAll()
107: throws com.liferay.portal.SystemException;
108:
109: public java.util.List findAll(int begin, int end)
110: throws com.liferay.portal.SystemException;
111:
112: public java.util.List findAll(int begin, int end,
113: com.liferay.portal.kernel.util.OrderByComparator obc)
114: throws com.liferay.portal.SystemException;
115:
116: public void removeByCompanyId(java.lang.String companyId)
117: throws com.liferay.portal.SystemException;
118:
119: public void removeByUserId(java.lang.String userId)
120: throws com.liferay.portal.SystemException;
121:
122: public void removeAll() throws com.liferay.portal.SystemException;
123:
124: public int countByCompanyId(java.lang.String companyId)
125: throws com.liferay.portal.SystemException;
126:
127: public int countByUserId(java.lang.String userId)
128: throws com.liferay.portal.SystemException;
129:
130: public int countAll() throws com.liferay.portal.SystemException;
131: }
|