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