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