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