001
014
015 package com.liferay.portlet.tasks.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.tasks.model.TasksProposal;
020
021
027 public interface TasksProposalPersistence extends BasePersistence<TasksProposal> {
028 public void cacheResult(
029 com.liferay.portlet.tasks.model.TasksProposal tasksProposal);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.tasks.model.TasksProposal> tasksProposals);
033
034 public com.liferay.portlet.tasks.model.TasksProposal create(long proposalId);
035
036 public com.liferay.portlet.tasks.model.TasksProposal remove(long proposalId)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.tasks.NoSuchProposalException;
039
040 public com.liferay.portlet.tasks.model.TasksProposal updateImpl(
041 com.liferay.portlet.tasks.model.TasksProposal tasksProposal,
042 boolean merge)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portlet.tasks.model.TasksProposal findByPrimaryKey(
046 long proposalId)
047 throws com.liferay.portal.kernel.exception.SystemException,
048 com.liferay.portlet.tasks.NoSuchProposalException;
049
050 public com.liferay.portlet.tasks.model.TasksProposal fetchByPrimaryKey(
051 long proposalId)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
055 long groupId)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
059 long groupId, int start, int end)
060 throws com.liferay.portal.kernel.exception.SystemException;
061
062 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
063 long groupId, int start, int end,
064 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
065 throws com.liferay.portal.kernel.exception.SystemException;
066
067 public com.liferay.portlet.tasks.model.TasksProposal findByGroupId_First(
068 long groupId,
069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070 throws com.liferay.portal.kernel.exception.SystemException,
071 com.liferay.portlet.tasks.NoSuchProposalException;
072
073 public com.liferay.portlet.tasks.model.TasksProposal findByGroupId_Last(
074 long groupId,
075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076 throws com.liferay.portal.kernel.exception.SystemException,
077 com.liferay.portlet.tasks.NoSuchProposalException;
078
079 public com.liferay.portlet.tasks.model.TasksProposal[] findByGroupId_PrevAndNext(
080 long proposalId, long groupId,
081 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
082 throws com.liferay.portal.kernel.exception.SystemException,
083 com.liferay.portlet.tasks.NoSuchProposalException;
084
085 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> filterFindByGroupId(
086 long groupId)
087 throws com.liferay.portal.kernel.exception.SystemException;
088
089 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> filterFindByGroupId(
090 long groupId, int start, int end)
091 throws com.liferay.portal.kernel.exception.SystemException;
092
093 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> filterFindByGroupId(
094 long groupId, int start, int end,
095 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
096 throws com.liferay.portal.kernel.exception.SystemException;
097
098 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
099 long groupId, long userId)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
103 long groupId, long userId, int start, int end)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
107 long groupId, long userId, int start, int end,
108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public com.liferay.portlet.tasks.model.TasksProposal findByG_U_First(
112 long groupId, long userId,
113 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114 throws com.liferay.portal.kernel.exception.SystemException,
115 com.liferay.portlet.tasks.NoSuchProposalException;
116
117 public com.liferay.portlet.tasks.model.TasksProposal findByG_U_Last(
118 long groupId, long userId,
119 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
120 throws com.liferay.portal.kernel.exception.SystemException,
121 com.liferay.portlet.tasks.NoSuchProposalException;
122
123 public com.liferay.portlet.tasks.model.TasksProposal[] findByG_U_PrevAndNext(
124 long proposalId, long groupId, long userId,
125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126 throws com.liferay.portal.kernel.exception.SystemException,
127 com.liferay.portlet.tasks.NoSuchProposalException;
128
129 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> filterFindByG_U(
130 long groupId, long userId)
131 throws com.liferay.portal.kernel.exception.SystemException;
132
133 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> filterFindByG_U(
134 long groupId, long userId, int start, int end)
135 throws com.liferay.portal.kernel.exception.SystemException;
136
137 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> filterFindByG_U(
138 long groupId, long userId, int start, int end,
139 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public com.liferay.portlet.tasks.model.TasksProposal findByC_C(
143 long classNameId, java.lang.String classPK)
144 throws com.liferay.portal.kernel.exception.SystemException,
145 com.liferay.portlet.tasks.NoSuchProposalException;
146
147 public com.liferay.portlet.tasks.model.TasksProposal fetchByC_C(
148 long classNameId, java.lang.String classPK)
149 throws com.liferay.portal.kernel.exception.SystemException;
150
151 public com.liferay.portlet.tasks.model.TasksProposal fetchByC_C(
152 long classNameId, java.lang.String classPK, boolean retrieveFromCache)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll()
156 throws com.liferay.portal.kernel.exception.SystemException;
157
158 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll(
159 int start, int end)
160 throws com.liferay.portal.kernel.exception.SystemException;
161
162 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll(
163 int start, int end,
164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165 throws com.liferay.portal.kernel.exception.SystemException;
166
167 public void removeByGroupId(long groupId)
168 throws com.liferay.portal.kernel.exception.SystemException;
169
170 public void removeByG_U(long groupId, long userId)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173 public void removeByC_C(long classNameId, java.lang.String classPK)
174 throws com.liferay.portal.kernel.exception.SystemException,
175 com.liferay.portlet.tasks.NoSuchProposalException;
176
177 public void removeAll()
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public int countByGroupId(long groupId)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public int filterCountByGroupId(long groupId)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public int countByG_U(long groupId, long userId)
187 throws com.liferay.portal.kernel.exception.SystemException;
188
189 public int filterCountByG_U(long groupId, long userId)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public int countByC_C(long classNameId, java.lang.String classPK)
193 throws com.liferay.portal.kernel.exception.SystemException;
194
195 public int countAll()
196 throws com.liferay.portal.kernel.exception.SystemException;
197 }