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