com.liferay.portlet.tasks.service
Interface TasksProposalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TasksProposalService

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.TasksProposalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
TasksProposalServiceUtil

Method Summary
 TasksProposal addProposal(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 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 deleteProposal(long proposalId)
           
 TasksProposal updateProposal(long proposalId, java.lang.String description, int dueDateMonth, int dueDateDay, int dueDateYear, int dueDateHour, int dueDateMinute)
           
 

Method Detail

addProposal

TasksProposal addProposal(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 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

deleteProposal

void deleteProposal(long proposalId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateProposal

TasksProposal updateProposal(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