com.liferay.portlet.tasks.service
Interface TasksProposalLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TasksProposalLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.tasks.service.impl.TasksProposalLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
TasksProposalLocalServiceUtil
Method Summary |
TasksProposal |
addProposal(long userId,
long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
TasksProposal |
addProposal(long userId,
long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
TasksProposal |
addProposal(long userId,
long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addProposalResources(long proposalId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addProposalResources(long proposalId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addProposalResources(TasksProposal proposal,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addProposalResources(TasksProposal proposal,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
TasksProposal |
addTasksProposal(TasksProposal tasksProposal)
|
TasksProposal |
createTasksProposal(long proposalId)
|
void |
deleteProposal(long proposalId)
|
void |
deleteProposal(long classNameId,
java.lang.String classPK)
|
void |
deleteProposal(java.lang.String className,
java.lang.String classPK)
|
void |
deleteProposal(TasksProposal proposal)
|
void |
deleteProposals(long groupId)
|
void |
deleteTasksProposal(long proposalId)
|
void |
deleteTasksProposal(TasksProposal tasksProposal)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
TasksProposal |
getProposal(long proposalId)
|
TasksProposal |
getProposal(long classNameId,
java.lang.String classPK)
|
TasksProposal |
getProposal(java.lang.String className,
java.lang.String classPK)
|
java.util.List<TasksProposal> |
getProposals(long groupId,
int start,
int end)
|
int |
getProposalsCount(long groupId)
|
java.util.List<TasksProposal> |
getReviewProposals(long groupId,
long userId,
int start,
int end)
|
int |
getReviewProposalsCount(long groupId,
long userId)
|
TasksProposal |
getTasksProposal(long proposalId)
|
java.util.List<TasksProposal> |
getTasksProposals(int start,
int end)
|
int |
getTasksProposalsCount()
|
java.util.List<TasksProposal> |
getUserProposals(long groupId,
long userId,
int start,
int end)
|
int |
getUserProposalsCount(long groupId,
long userId)
|
TasksProposal |
updateProposal(long userId,
long proposalId,
java.lang.String description,
int dueDateMonth,
int dueDateDay,
int dueDateYear,
int dueDateHour,
int dueDateMinute)
|
TasksProposal |
updateTasksProposal(TasksProposal tasksProposal)
|
addTasksProposal
TasksProposal addTasksProposal(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createTasksProposal
TasksProposal createTasksProposal(long proposalId)
deleteTasksProposal
void deleteTasksProposal(long proposalId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteTasksProposal
void deleteTasksProposal(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTasksProposal
@Transactional(propagation=SUPPORTS,
readOnly=true)
TasksProposal getTasksProposal(long proposalId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getTasksProposals
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksProposal> getTasksProposals(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTasksProposalsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getTasksProposalsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTasksProposal
TasksProposal updateTasksProposal(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addProposal
TasksProposal addProposal(long userId,
long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposal
TasksProposal addProposal(long userId,
long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposal
TasksProposal addProposal(long userId,
long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposalResources
void addProposalResources(long proposalId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposalResources
void addProposalResources(TasksProposal proposal,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposalResources
void addProposalResources(long proposalId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposalResources
void addProposalResources(TasksProposal proposal,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposal
void deleteProposal(java.lang.String className,
java.lang.String classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposal
void deleteProposal(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposal
void deleteProposal(long proposalId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposal
void deleteProposal(TasksProposal proposal)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposals
void deleteProposals(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getProposal
@Transactional(propagation=SUPPORTS,
readOnly=true)
TasksProposal getProposal(long proposalId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getProposal
@Transactional(propagation=SUPPORTS,
readOnly=true)
TasksProposal getProposal(java.lang.String className,
java.lang.String classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getProposal
@Transactional(propagation=SUPPORTS,
readOnly=true)
TasksProposal getProposal(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getProposals
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksProposal> getProposals(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getProposalsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getProposalsCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReviewProposals
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksProposal> getReviewProposals(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReviewProposalsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getReviewProposalsCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserProposals
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksProposal> getUserProposals(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserProposalsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getUserProposalsCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateProposal
TasksProposal updateProposal(long userId,
long proposalId,
java.lang.String description,
int dueDateMonth,
int dueDateDay,
int dueDateYear,
int dueDateHour,
int dueDateMinute)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException