1
22
23 package com.liferay.portlet.tasks.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface TasksProposalPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.tasks.model.TasksProposal tasksProposal);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.tasks.model.TasksProposal> tasksProposals);
46
47 public void clearCache();
48
49 public com.liferay.portlet.tasks.model.TasksProposal create(long proposalId);
50
51 public com.liferay.portlet.tasks.model.TasksProposal remove(long proposalId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.tasks.NoSuchProposalException;
54
55 public com.liferay.portlet.tasks.model.TasksProposal remove(
56 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
57 throws com.liferay.portal.SystemException;
58
59
62 public com.liferay.portlet.tasks.model.TasksProposal update(
63 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
64 throws com.liferay.portal.SystemException;
65
66
78 public com.liferay.portlet.tasks.model.TasksProposal update(
79 com.liferay.portlet.tasks.model.TasksProposal tasksProposal,
80 boolean merge) throws com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.tasks.model.TasksProposal updateImpl(
83 com.liferay.portlet.tasks.model.TasksProposal tasksProposal,
84 boolean merge) throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.tasks.model.TasksProposal findByPrimaryKey(
87 long proposalId)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.tasks.NoSuchProposalException;
90
91 public com.liferay.portlet.tasks.model.TasksProposal fetchByPrimaryKey(
92 long proposalId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
95 long groupId) throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
98 long groupId, int start, int end)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
102 long groupId, int start, int end,
103 com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.tasks.model.TasksProposal findByGroupId_First(
107 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.SystemException,
109 com.liferay.portlet.tasks.NoSuchProposalException;
110
111 public com.liferay.portlet.tasks.model.TasksProposal findByGroupId_Last(
112 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.tasks.NoSuchProposalException;
115
116 public com.liferay.portlet.tasks.model.TasksProposal[] findByGroupId_PrevAndNext(
117 long proposalId, long groupId,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.tasks.NoSuchProposalException;
121
122 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
123 long groupId, long userId) throws com.liferay.portal.SystemException;
124
125 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
126 long groupId, long userId, int start, int end)
127 throws com.liferay.portal.SystemException;
128
129 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
130 long groupId, long userId, int start, int end,
131 com.liferay.portal.kernel.util.OrderByComparator obc)
132 throws com.liferay.portal.SystemException;
133
134 public com.liferay.portlet.tasks.model.TasksProposal findByG_U_First(
135 long groupId, long userId,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException,
138 com.liferay.portlet.tasks.NoSuchProposalException;
139
140 public com.liferay.portlet.tasks.model.TasksProposal findByG_U_Last(
141 long groupId, long userId,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException,
144 com.liferay.portlet.tasks.NoSuchProposalException;
145
146 public com.liferay.portlet.tasks.model.TasksProposal[] findByG_U_PrevAndNext(
147 long proposalId, long groupId, long userId,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException,
150 com.liferay.portlet.tasks.NoSuchProposalException;
151
152 public com.liferay.portlet.tasks.model.TasksProposal findByC_C(
153 long classNameId, java.lang.String classPK)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.tasks.NoSuchProposalException;
156
157 public com.liferay.portlet.tasks.model.TasksProposal fetchByC_C(
158 long classNameId, java.lang.String classPK)
159 throws com.liferay.portal.SystemException;
160
161 public com.liferay.portlet.tasks.model.TasksProposal fetchByC_C(
162 long classNameId, java.lang.String classPK, boolean retrieveFromCache)
163 throws com.liferay.portal.SystemException;
164
165 public java.util.List<Object> findWithDynamicQuery(
166 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
167 throws com.liferay.portal.SystemException;
168
169 public java.util.List<Object> findWithDynamicQuery(
170 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
171 int end) throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll()
174 throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll(
177 int start, int end) throws com.liferay.portal.SystemException;
178
179 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll(
180 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.SystemException;
182
183 public void removeByGroupId(long groupId)
184 throws com.liferay.portal.SystemException;
185
186 public void removeByG_U(long groupId, long userId)
187 throws com.liferay.portal.SystemException;
188
189 public void removeByC_C(long classNameId, java.lang.String classPK)
190 throws com.liferay.portal.SystemException,
191 com.liferay.portlet.tasks.NoSuchProposalException;
192
193 public void removeAll() throws com.liferay.portal.SystemException;
194
195 public int countByGroupId(long groupId)
196 throws com.liferay.portal.SystemException;
197
198 public int countByG_U(long groupId, long userId)
199 throws com.liferay.portal.SystemException;
200
201 public int countByC_C(long classNameId, java.lang.String classPK)
202 throws com.liferay.portal.SystemException;
203
204 public int countAll() throws com.liferay.portal.SystemException;
205 }