Liferay 6.0.5

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 TasksProposalServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to TasksProposalServiceImpl and rerun ServiceBuilder to regenerate this class.

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, TasksProposalServiceBaseImpl, TasksProposalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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.5