com.liferay.portlet.tasks.service.impl
Class TasksProposalLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.tasks.service.base.TasksProposalLocalServiceBaseImpl
      extended by com.liferay.portlet.tasks.service.impl.TasksProposalLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.tasks.service.TasksProposalLocalService

public class TasksProposalLocalServiceImpl
extends TasksProposalLocalServiceBaseImpl

View Source

Author:
Raymond Augé, Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.tasks.service.base.TasksProposalLocalServiceBaseImpl
counterLocalService, counterService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, tasksProposalFinder, tasksProposalLocalService, tasksProposalPersistence, tasksProposalService, tasksReviewLocalService, tasksReviewPersistence, tasksReviewService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
TasksProposalLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.tasks.model.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)
           
 com.liferay.portlet.tasks.model.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)
           
 com.liferay.portlet.tasks.model.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(com.liferay.portlet.tasks.model.TasksProposal proposal, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addProposalResources(com.liferay.portlet.tasks.model.TasksProposal proposal, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteProposal(long proposalId)
           
 void deleteProposal(long classNameId, java.lang.String classPK)
           
 void deleteProposal(java.lang.String className, java.lang.String classPK)
           
 void deleteProposal(com.liferay.portlet.tasks.model.TasksProposal proposal)
           
 void deleteProposals(long groupId)
           
 com.liferay.portlet.tasks.model.TasksProposal getProposal(long proposalId)
           
 com.liferay.portlet.tasks.model.TasksProposal getProposal(long classNameId, java.lang.String classPK)
           
 com.liferay.portlet.tasks.model.TasksProposal getProposal(java.lang.String className, java.lang.String classPK)
           
 java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getProposals(long groupId, int start, int end)
           
 int getProposalsCount(long groupId)
           
 java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getReviewProposals(long groupId, long userId, int start, int end)
           
 int getReviewProposalsCount(long groupId, long userId)
           
 java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getUserProposals(long groupId, long userId, int start, int end)
           
 int getUserProposalsCount(long groupId, long userId)
           
 com.liferay.portlet.tasks.model.TasksProposal updateProposal(long userId, long proposalId, java.lang.String description, int dueDateMonth, int dueDateDay, int dueDateYear, int dueDateHour, int dueDateMinute)
           
 
Methods inherited from class com.liferay.portlet.tasks.service.base.TasksProposalLocalServiceBaseImpl
addTasksProposal, createTasksProposal, deleteTasksProposal, deleteTasksProposal, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getTasksProposal, getTasksProposalFinder, getTasksProposalLocalService, getTasksProposalPersistence, getTasksProposals, getTasksProposalsCount, getTasksProposalService, getTasksReviewLocalService, getTasksReviewPersistence, getTasksReviewService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setCounterService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setTasksProposalFinder, setTasksProposalLocalService, setTasksProposalPersistence, setTasksProposalService, setTasksReviewLocalService, setTasksReviewPersistence, setTasksReviewService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateTasksProposal, updateTasksProposal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksProposalLocalServiceImpl

public TasksProposalLocalServiceImpl()
Method Detail

addProposal

public com.liferay.portlet.tasks.model.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 com.liferay.portlet.tasks.model.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 com.liferay.portlet.tasks.model.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 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 void addProposalResources(com.liferay.portlet.tasks.model.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 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 void addProposalResources(com.liferay.portlet.tasks.model.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 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 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 void deleteProposal(long proposalId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProposal

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

deleteProposals

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

getProposal

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

getProposal

public com.liferay.portlet.tasks.model.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 com.liferay.portlet.tasks.model.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 java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getProposals(long groupId,
                                                                                  int start,
                                                                                  int end)
                                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProposalsCount

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

getReviewProposals

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

getReviewProposalsCount

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

getUserProposals

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

getUserProposalsCount

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

updateProposal

public com.liferay.portlet.tasks.model.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