Liferay 6.0-ee-sp2

com.liferay.portlet.tasks.service
Class TasksProposalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.tasks.service.TasksProposalServiceUtil

public class TasksProposalServiceUtil
extends Object

The utility for the tasks proposal remote service. This utility wraps com.liferay.portlet.tasks.service.impl.TasksProposalServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

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.

See Also:
TasksProposalService, com.liferay.portlet.tasks.service.base.TasksProposalServiceBaseImpl, com.liferay.portlet.tasks.service.impl.TasksProposalServiceImpl

Constructor Summary
TasksProposalServiceUtil()
           
 
Method Summary
static TasksProposal addProposal(long groupId, String className, String classPK, String name, String description, long reviewUserId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static TasksProposal addProposal(long groupId, String className, String classPK, String name, String description, long reviewUserId, String[] communityPermissions, String[] guestPermissions)
           
static void deleteProposal(long proposalId)
           
static TasksProposalService getService()
           
 void setService(TasksProposalService service)
           
static TasksProposal updateProposal(long proposalId, String description, int dueDateMonth, int dueDateDay, int dueDateYear, int dueDateHour, int dueDateMinute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksProposalServiceUtil

public TasksProposalServiceUtil()
Method Detail

addProposal

public static TasksProposal addProposal(long groupId,
                                        String className,
                                        String classPK,
                                        String name,
                                        String description,
                                        long reviewUserId,
                                        boolean addCommunityPermissions,
                                        boolean addGuestPermissions)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

addProposal

public static TasksProposal addProposal(long groupId,
                                        String className,
                                        String classPK,
                                        String name,
                                        String description,
                                        long reviewUserId,
                                        String[] communityPermissions,
                                        String[] guestPermissions)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

deleteProposal

public static void deleteProposal(long proposalId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

updateProposal

public static TasksProposal updateProposal(long proposalId,
                                           String description,
                                           int dueDateMonth,
                                           int dueDateDay,
                                           int dueDateYear,
                                           int dueDateHour,
                                           int dueDateMinute)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getService

public static TasksProposalService getService()

setService

public void setService(TasksProposalService service)

Liferay 6.0-ee-sp2