1
22
23 package com.liferay.portlet.tasks.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.tasks.model.TasksProposal;
28
29
42 public interface TasksProposalPersistence extends BasePersistence<TasksProposal> {
43 public void cacheResult(
44 com.liferay.portlet.tasks.model.TasksProposal tasksProposal);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.tasks.model.TasksProposal> tasksProposals);
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
58 public com.liferay.portlet.tasks.model.TasksProposal update(
59 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portlet.tasks.model.TasksProposal updateImpl(
63 com.liferay.portlet.tasks.model.TasksProposal tasksProposal,
64 boolean merge) throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.tasks.model.TasksProposal findByPrimaryKey(
67 long proposalId)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.tasks.NoSuchProposalException;
70
71 public com.liferay.portlet.tasks.model.TasksProposal fetchByPrimaryKey(
72 long proposalId) throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
75 long groupId) throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
78 long groupId, int start, int end)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByGroupId(
82 long groupId, int start, int end,
83 com.liferay.portal.kernel.util.OrderByComparator obc)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.tasks.model.TasksProposal findByGroupId_First(
87 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.tasks.NoSuchProposalException;
90
91 public com.liferay.portlet.tasks.model.TasksProposal findByGroupId_Last(
92 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.tasks.NoSuchProposalException;
95
96 public com.liferay.portlet.tasks.model.TasksProposal[] findByGroupId_PrevAndNext(
97 long proposalId, long groupId,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.tasks.NoSuchProposalException;
101
102 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
103 long groupId, long userId) throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
106 long groupId, long userId, int start, int end)
107 throws com.liferay.portal.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 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException;
113
114 public com.liferay.portlet.tasks.model.TasksProposal findByG_U_First(
115 long groupId, long userId,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.tasks.NoSuchProposalException;
119
120 public com.liferay.portlet.tasks.model.TasksProposal findByG_U_Last(
121 long groupId, long userId,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.tasks.NoSuchProposalException;
125
126 public com.liferay.portlet.tasks.model.TasksProposal[] findByG_U_PrevAndNext(
127 long proposalId, long groupId, long userId,
128 com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException,
130 com.liferay.portlet.tasks.NoSuchProposalException;
131
132 public com.liferay.portlet.tasks.model.TasksProposal findByC_C(
133 long classNameId, java.lang.String classPK)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.tasks.NoSuchProposalException;
136
137 public com.liferay.portlet.tasks.model.TasksProposal fetchByC_C(
138 long classNameId, java.lang.String classPK)
139 throws com.liferay.portal.SystemException;
140
141 public com.liferay.portlet.tasks.model.TasksProposal fetchByC_C(
142 long classNameId, java.lang.String classPK, boolean retrieveFromCache)
143 throws com.liferay.portal.SystemException;
144
145 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll()
146 throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll(
149 int start, int end) throws com.liferay.portal.SystemException;
150
151 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll(
152 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException;
154
155 public void removeByGroupId(long groupId)
156 throws com.liferay.portal.SystemException;
157
158 public void removeByG_U(long groupId, long userId)
159 throws com.liferay.portal.SystemException;
160
161 public void removeByC_C(long classNameId, java.lang.String classPK)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.tasks.NoSuchProposalException;
164
165 public void removeAll() throws com.liferay.portal.SystemException;
166
167 public int countByGroupId(long groupId)
168 throws com.liferay.portal.SystemException;
169
170 public int countByG_U(long groupId, long userId)
171 throws com.liferay.portal.SystemException;
172
173 public int countByC_C(long classNameId, java.lang.String classPK)
174 throws com.liferay.portal.SystemException;
175
176 public int countAll() throws com.liferay.portal.SystemException;
177 }