com.liferay.portlet.tasks.service
Class TasksProposalLocalServiceUtil

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

public class TasksProposalLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portlet.tasks.service.TasksProposalLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.tasks.service.TasksProposalLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
TasksProposalLocalService, TasksProposalLocalServiceFactory

Constructor Summary
TasksProposalLocalServiceUtil()
           
 
Method Summary
static 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)
           
static 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)
           
static 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)
           
static void addProposalResources(long proposalId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addProposalResources(long proposalId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static void addProposalResources(TasksProposal proposal, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addProposalResources(TasksProposal proposal, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static TasksProposal addTasksProposal(TasksProposal tasksProposal)
           
static void deleteProposal(long proposalId)
           
static void deleteProposal(long classNameId, java.lang.String classPK)
           
static void deleteProposal(java.lang.String className, java.lang.String classPK)
           
static void deleteProposal(TasksProposal proposal)
           
static void deleteProposals(long groupId)
           
static void deleteTasksProposal(long proposalId)
           
static void deleteTasksProposal(TasksProposal tasksProposal)
           
static java.util.List<TasksProposal> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<TasksProposal> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static TasksProposal getProposal(long proposalId)
           
static TasksProposal getProposal(long classNameId, java.lang.String classPK)
           
static TasksProposal getProposal(java.lang.String className, java.lang.String classPK)
           
static java.util.List<TasksProposal> getProposals(long groupId, int begin, int end)
           
static int getProposalsCount(long groupId)
           
static java.util.List<TasksProposal> getReviewProposals(long groupId, long userId, int begin, int end)
           
static int getReviewProposalsCount(long groupId, long userId)
           
static java.util.List<TasksProposal> getUserProposals(long groupId, long userId, int begin, int end)
           
static int getUserProposalsCount(long groupId, long userId)
           
static TasksProposal updateProposal(long userId, long proposalId, java.lang.String description, int dueDateMonth, int dueDateDay, int dueDateYear, int dueDateHour, int dueDateMinute)
           
static TasksProposal updateTasksProposal(TasksProposal tasksProposal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksProposalLocalServiceUtil

public TasksProposalLocalServiceUtil()
Method Detail

addTasksProposal

public static TasksProposal addTasksProposal(TasksProposal tasksProposal)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteTasksProposal

public static void deleteTasksProposal(long proposalId)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteTasksProposal

public static void deleteTasksProposal(TasksProposal tasksProposal)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<TasksProposal> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<TasksProposal> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                         int begin,
                                                         int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateTasksProposal

public static TasksProposal updateTasksProposal(TasksProposal tasksProposal)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addProposal

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

public static 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

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

deleteProposal

public static void deleteProposal(TasksProposal proposal)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProposals

public static void deleteProposals(long groupId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProposal

public static TasksProposal getProposal(long proposalId)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProposal

public static 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

public static 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

public static java.util.List<TasksProposal> getProposals(long groupId,
                                                         int begin,
                                                         int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProposalsCount

public static int getProposalsCount(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReviewProposals

public static java.util.List<TasksProposal> getReviewProposals(long groupId,
                                                               long userId,
                                                               int begin,
                                                               int end)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReviewProposalsCount

public static int getReviewProposalsCount(long groupId,
                                          long userId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserProposals

public static java.util.List<TasksProposal> getUserProposals(long groupId,
                                                             long userId,
                                                             int begin,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserProposalsCount

public static int getUserProposalsCount(long groupId,
                                        long userId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateProposal

public static 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