1
22
23 package com.liferay.portlet.tasks.service;
24
25
26
50 public interface TasksProposalLocalService {
51 public com.liferay.portlet.tasks.model.TasksProposal addTasksProposal(
52 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.tasks.model.TasksProposal createTasksProposal(
56 long proposalId);
57
58 public void deleteTasksProposal(long proposalId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteTasksProposal(
63 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.tasks.model.TasksProposal getTasksProposal(
75 long proposalId)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portal.PortalException;
78
79 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getTasksProposals(
80 int start, int end) throws com.liferay.portal.SystemException;
81
82 public int getTasksProposalsCount()
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.tasks.model.TasksProposal updateTasksProposal(
86 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
87 throws com.liferay.portal.SystemException;
88
89 public com.liferay.portlet.tasks.model.TasksProposal addProposal(
90 long userId, long groupId, java.lang.String className,
91 java.lang.String classPK, java.lang.String name,
92 java.lang.String description, long reviewUserId,
93 boolean addCommunityPermissions, boolean addGuestPermissions)
94 throws com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException;
96
97 public com.liferay.portlet.tasks.model.TasksProposal addProposal(
98 long userId, long groupId, java.lang.String className,
99 java.lang.String classPK, java.lang.String name,
100 java.lang.String description, long reviewUserId,
101 java.lang.String[] communityPermissions,
102 java.lang.String[] guestPermissions)
103 throws com.liferay.portal.PortalException,
104 com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.tasks.model.TasksProposal addProposal(
107 long userId, long groupId, java.lang.String className,
108 java.lang.String classPK, java.lang.String name,
109 java.lang.String description, long reviewUserId,
110 java.lang.Boolean addCommunityPermissions,
111 java.lang.Boolean addGuestPermissions,
112 java.lang.String[] communityPermissions,
113 java.lang.String[] guestPermissions)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException;
116
117 public void addProposalResources(long proposalId,
118 boolean addCommunityPermissions, boolean addGuestPermissions)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException;
121
122 public void addProposalResources(
123 com.liferay.portlet.tasks.model.TasksProposal proposal,
124 boolean addCommunityPermissions, boolean addGuestPermissions)
125 throws com.liferay.portal.PortalException,
126 com.liferay.portal.SystemException;
127
128 public void addProposalResources(long proposalId,
129 java.lang.String[] communityPermissions,
130 java.lang.String[] guestPermissions)
131 throws com.liferay.portal.PortalException,
132 com.liferay.portal.SystemException;
133
134 public void addProposalResources(
135 com.liferay.portlet.tasks.model.TasksProposal proposal,
136 java.lang.String[] communityPermissions,
137 java.lang.String[] guestPermissions)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException;
140
141 public void deleteProposal(java.lang.String className,
142 java.lang.String classPK)
143 throws com.liferay.portal.PortalException,
144 com.liferay.portal.SystemException;
145
146 public void deleteProposal(long classNameId, java.lang.String classPK)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException;
149
150 public void deleteProposal(long proposalId)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException;
153
154 public void deleteProposal(
155 com.liferay.portlet.tasks.model.TasksProposal proposal)
156 throws com.liferay.portal.PortalException,
157 com.liferay.portal.SystemException;
158
159 public void deleteProposals(long groupId)
160 throws com.liferay.portal.SystemException;
161
162 public com.liferay.portlet.tasks.model.TasksProposal getProposal(
163 long proposalId)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException;
166
167 public com.liferay.portlet.tasks.model.TasksProposal getProposal(
168 java.lang.String className, java.lang.String classPK)
169 throws com.liferay.portal.PortalException,
170 com.liferay.portal.SystemException;
171
172 public com.liferay.portlet.tasks.model.TasksProposal getProposal(
173 long classNameId, java.lang.String classPK)
174 throws com.liferay.portal.PortalException,
175 com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getProposals(
178 long groupId, int start, int end)
179 throws com.liferay.portal.SystemException;
180
181 public int getProposalsCount(long groupId)
182 throws com.liferay.portal.SystemException;
183
184 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getReviewProposals(
185 long groupId, long userId, int start, int end)
186 throws com.liferay.portal.SystemException;
187
188 public int getReviewProposalsCount(long groupId, long userId)
189 throws com.liferay.portal.SystemException;
190
191 public java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getUserProposals(
192 long groupId, long userId, int start, int end)
193 throws com.liferay.portal.SystemException;
194
195 public int getUserProposalsCount(long groupId, long userId)
196 throws com.liferay.portal.SystemException;
197
198 public com.liferay.portlet.tasks.model.TasksProposal updateProposal(
199 long userId, long proposalId, java.lang.String description,
200 int dueDateMonth, int dueDateDay, int dueDateYear, int dueDateHour,
201 int dueDateMinute)
202 throws com.liferay.portal.PortalException,
203 com.liferay.portal.SystemException;
204 }