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