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 obc)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portlet.tasks.model.TasksProposal findByGroupId_First(
79 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portlet.tasks.NoSuchProposalException;
82
83 public com.liferay.portlet.tasks.model.TasksProposal findByGroupId_Last(
84 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
85 throws com.liferay.portal.SystemException,
86 com.liferay.portlet.tasks.NoSuchProposalException;
87
88 public com.liferay.portlet.tasks.model.TasksProposal[] findByGroupId_PrevAndNext(
89 long proposalId, long groupId,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portlet.tasks.NoSuchProposalException;
93
94 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
95 long groupId, long userId) throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
98 long groupId, long userId, int start, int end)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findByG_U(
102 long groupId, long userId, 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 findByG_U_First(
107 long groupId, long userId,
108 com.liferay.portal.kernel.util.OrderByComparator obc)
109 throws com.liferay.portal.SystemException,
110 com.liferay.portlet.tasks.NoSuchProposalException;
111
112 public com.liferay.portlet.tasks.model.TasksProposal findByG_U_Last(
113 long groupId, long userId,
114 com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.tasks.NoSuchProposalException;
117
118 public com.liferay.portlet.tasks.model.TasksProposal[] findByG_U_PrevAndNext(
119 long proposalId, long groupId, long userId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.tasks.NoSuchProposalException;
123
124 public com.liferay.portlet.tasks.model.TasksProposal findByC_C(
125 long classNameId, java.lang.String classPK)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.tasks.NoSuchProposalException;
128
129 public com.liferay.portlet.tasks.model.TasksProposal fetchByC_C(
130 long classNameId, java.lang.String classPK)
131 throws com.liferay.portal.SystemException;
132
133 public com.liferay.portlet.tasks.model.TasksProposal fetchByC_C(
134 long classNameId, java.lang.String classPK, boolean retrieveFromCache)
135 throws com.liferay.portal.SystemException;
136
137 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll()
138 throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll(
141 int start, int end) throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> findAll(
144 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException;
146
147 public void removeByGroupId(long groupId)
148 throws com.liferay.portal.SystemException;
149
150 public void removeByG_U(long groupId, long userId)
151 throws com.liferay.portal.SystemException;
152
153 public void removeByC_C(long classNameId, java.lang.String classPK)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.tasks.NoSuchProposalException;
156
157 public void removeAll() throws com.liferay.portal.SystemException;
158
159 public int countByGroupId(long groupId)
160 throws com.liferay.portal.SystemException;
161
162 public int countByG_U(long groupId, long userId)
163 throws com.liferay.portal.SystemException;
164
165 public int countByC_C(long classNameId, java.lang.String classPK)
166 throws com.liferay.portal.SystemException;
167
168 public int countAll() throws com.liferay.portal.SystemException;
169 }