Liferay 6.0.5

com.liferay.portlet.tasks.service
Class TasksProposalLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.tasks.service.TasksProposalLocalServiceWrapper
All Implemented Interfaces:
TasksProposalLocalService

public class TasksProposalLocalServiceWrapper
extends Object
implements TasksProposalLocalService

This class is a wrapper for TasksProposalLocalService.

See Also:
TasksProposalLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
TasksProposalLocalServiceWrapper(TasksProposalLocalService tasksProposalLocalService)
           
 
Method Summary
 TasksProposal addProposal(long userId, long groupId, String className, String classPK, String name, String description, long reviewUserId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 TasksProposal addProposal(long userId, long groupId, String className, String classPK, String name, String description, long reviewUserId, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions)
           
 TasksProposal addProposal(long userId, long groupId, String className, String classPK, String name, String description, long reviewUserId, String[] communityPermissions, String[] guestPermissions)
           
 void addProposalResources(long proposalId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addProposalResources(long proposalId, String[] communityPermissions, String[] guestPermissions)
           
 void addProposalResources(TasksProposal proposal, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addProposalResources(TasksProposal proposal, String[] communityPermissions, String[] guestPermissions)
           
 TasksProposal addTasksProposal(TasksProposal tasksProposal)
          Adds the tasks proposal to the database.
 TasksProposal createTasksProposal(long proposalId)
          Creates a new tasks proposal with the primary key.
 void deleteProposal(long proposalId)
           
 void deleteProposal(long classNameId, String classPK)
           
 void deleteProposal(String className, String classPK)
           
 void deleteProposal(TasksProposal proposal)
           
 void deleteProposals(long groupId)
           
 void deleteTasksProposal(long proposalId)
          Deletes the tasks proposal with the primary key from the database.
 void deleteTasksProposal(TasksProposal tasksProposal)
          Deletes the tasks proposal from the database.
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Counts the number of rows that match the dynamic query.
 TasksProposal getProposal(long proposalId)
           
 TasksProposal getProposal(long classNameId, String classPK)
           
 TasksProposal getProposal(String className, String classPK)
           
 List<TasksProposal> getProposals(long groupId, int start, int end)
           
 int getProposalsCount(long groupId)
           
 List<TasksProposal> getReviewProposals(long groupId, long userId, int start, int end)
           
 int getReviewProposalsCount(long groupId, long userId)
           
 TasksProposal getTasksProposal(long proposalId)
          Gets the tasks proposal with the primary key.
 List<TasksProposal> getTasksProposals(int start, int end)
          Gets a range of all the tasks proposals.
 int getTasksProposalsCount()
          Gets the number of tasks proposals.
 List<TasksProposal> getUserProposals(long groupId, long userId, int start, int end)
           
 int getUserProposalsCount(long groupId, long userId)
           
 TasksProposalLocalService getWrappedTasksProposalLocalService()
           
 TasksProposal updateProposal(long userId, long proposalId, String description, int dueDateMonth, int dueDateDay, int dueDateYear, int dueDateHour, int dueDateMinute)
           
 TasksProposal updateTasksProposal(TasksProposal tasksProposal)
          Updates the tasks proposal in the database.
 TasksProposal updateTasksProposal(TasksProposal tasksProposal, boolean merge)
          Updates the tasks proposal in the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksProposalLocalServiceWrapper

public TasksProposalLocalServiceWrapper(TasksProposalLocalService tasksProposalLocalService)
Method Detail

addTasksProposal

public TasksProposal addTasksProposal(TasksProposal tasksProposal)
                               throws SystemException
Adds the tasks proposal to the database. Also notifies the appropriate model listeners.

Specified by:
addTasksProposal in interface TasksProposalLocalService
Parameters:
tasksProposal - the tasks proposal to add
Returns:
the tasks proposal that was added
Throws:
SystemException - if a system exception occurred

createTasksProposal

public TasksProposal createTasksProposal(long proposalId)
Creates a new tasks proposal with the primary key. Does not add the tasks proposal to the database.

Specified by:
createTasksProposal in interface TasksProposalLocalService
Parameters:
proposalId - the primary key for the new tasks proposal
Returns:
the new tasks proposal

deleteTasksProposal

public void deleteTasksProposal(long proposalId)
                         throws PortalException,
                                SystemException
Deletes the tasks proposal with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteTasksProposal in interface TasksProposalLocalService
Parameters:
proposalId - the primary key of the tasks proposal to delete
Throws:
PortalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred

deleteTasksProposal

public void deleteTasksProposal(TasksProposal tasksProposal)
                         throws SystemException
Deletes the tasks proposal from the database. Also notifies the appropriate model listeners.

Specified by:
deleteTasksProposal in interface TasksProposalLocalService
Parameters:
tasksProposal - the tasks proposal to delete
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface TasksProposalLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface TasksProposalLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface TasksProposalLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Counts the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface TasksProposalLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

getTasksProposal

public TasksProposal getTasksProposal(long proposalId)
                               throws PortalException,
                                      SystemException
Gets the tasks proposal with the primary key.

Specified by:
getTasksProposal in interface TasksProposalLocalService
Parameters:
proposalId - the primary key of the tasks proposal to get
Returns:
the tasks proposal
Throws:
PortalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred

getTasksProposals

public List<TasksProposal> getTasksProposals(int start,
                                             int end)
                                      throws SystemException
Gets a range of all the tasks proposals.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getTasksProposals in interface TasksProposalLocalService
Parameters:
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
Returns:
the range of tasks proposals
Throws:
SystemException - if a system exception occurred

getTasksProposalsCount

public int getTasksProposalsCount()
                           throws SystemException
Gets the number of tasks proposals.

Specified by:
getTasksProposalsCount in interface TasksProposalLocalService
Returns:
the number of tasks proposals
Throws:
SystemException - if a system exception occurred

updateTasksProposal

public TasksProposal updateTasksProposal(TasksProposal tasksProposal)
                                  throws SystemException
Updates the tasks proposal in the database. Also notifies the appropriate model listeners.

Specified by:
updateTasksProposal in interface TasksProposalLocalService
Parameters:
tasksProposal - the tasks proposal to update
Returns:
the tasks proposal that was updated
Throws:
SystemException - if a system exception occurred

updateTasksProposal

public TasksProposal updateTasksProposal(TasksProposal tasksProposal,
                                         boolean merge)
                                  throws SystemException
Updates the tasks proposal in the database. Also notifies the appropriate model listeners.

Specified by:
updateTasksProposal in interface TasksProposalLocalService
Parameters:
tasksProposal - the tasks proposal to update
merge - whether to merge the tasks proposal with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the tasks proposal that was updated
Throws:
SystemException - if a system exception occurred

addProposal

public TasksProposal addProposal(long userId,
                                 long groupId,
                                 String className,
                                 String classPK,
                                 String name,
                                 String description,
                                 long reviewUserId,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

addProposal

public TasksProposal addProposal(long userId,
                                 long groupId,
                                 String className,
                                 String classPK,
                                 String name,
                                 String description,
                                 long reviewUserId,
                                 Boolean addCommunityPermissions,
                                 Boolean addGuestPermissions,
                                 String[] communityPermissions,
                                 String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

addProposal

public TasksProposal addProposal(long userId,
                                 long groupId,
                                 String className,
                                 String classPK,
                                 String name,
                                 String description,
                                 long reviewUserId,
                                 String[] communityPermissions,
                                 String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

addProposalResources

public void addProposalResources(long proposalId,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addProposalResources in interface TasksProposalLocalService
Throws:
PortalException
SystemException

addProposalResources

public void addProposalResources(long proposalId,
                                 String[] communityPermissions,
                                 String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addProposalResources in interface TasksProposalLocalService
Throws:
PortalException
SystemException

addProposalResources

public void addProposalResources(TasksProposal proposal,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addProposalResources in interface TasksProposalLocalService
Throws:
PortalException
SystemException

addProposalResources

public void addProposalResources(TasksProposal proposal,
                                 String[] communityPermissions,
                                 String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addProposalResources in interface TasksProposalLocalService
Throws:
PortalException
SystemException

deleteProposal

public void deleteProposal(long proposalId)
                    throws PortalException,
                           SystemException
Specified by:
deleteProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

deleteProposal

public void deleteProposal(long classNameId,
                           String classPK)
                    throws PortalException,
                           SystemException
Specified by:
deleteProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

deleteProposal

public void deleteProposal(String className,
                           String classPK)
                    throws PortalException,
                           SystemException
Specified by:
deleteProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

deleteProposal

public void deleteProposal(TasksProposal proposal)
                    throws PortalException,
                           SystemException
Specified by:
deleteProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

deleteProposals

public void deleteProposals(long groupId)
                     throws PortalException,
                            SystemException
Specified by:
deleteProposals in interface TasksProposalLocalService
Throws:
PortalException
SystemException

getProposal

public TasksProposal getProposal(long proposalId)
                          throws PortalException,
                                 SystemException
Specified by:
getProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

getProposal

public TasksProposal getProposal(long classNameId,
                                 String classPK)
                          throws PortalException,
                                 SystemException
Specified by:
getProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

getProposal

public TasksProposal getProposal(String className,
                                 String classPK)
                          throws PortalException,
                                 SystemException
Specified by:
getProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

getProposals

public List<TasksProposal> getProposals(long groupId,
                                        int start,
                                        int end)
                                 throws SystemException
Specified by:
getProposals in interface TasksProposalLocalService
Throws:
SystemException

getProposalsCount

public int getProposalsCount(long groupId)
                      throws SystemException
Specified by:
getProposalsCount in interface TasksProposalLocalService
Throws:
SystemException

getReviewProposals

public List<TasksProposal> getReviewProposals(long groupId,
                                              long userId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
getReviewProposals in interface TasksProposalLocalService
Throws:
SystemException

getReviewProposalsCount

public int getReviewProposalsCount(long groupId,
                                   long userId)
                            throws SystemException
Specified by:
getReviewProposalsCount in interface TasksProposalLocalService
Throws:
SystemException

getUserProposals

public List<TasksProposal> getUserProposals(long groupId,
                                            long userId,
                                            int start,
                                            int end)
                                     throws SystemException
Specified by:
getUserProposals in interface TasksProposalLocalService
Throws:
SystemException

getUserProposalsCount

public int getUserProposalsCount(long groupId,
                                 long userId)
                          throws SystemException
Specified by:
getUserProposalsCount in interface TasksProposalLocalService
Throws:
SystemException

updateProposal

public TasksProposal updateProposal(long userId,
                                    long proposalId,
                                    String description,
                                    int dueDateMonth,
                                    int dueDateDay,
                                    int dueDateYear,
                                    int dueDateHour,
                                    int dueDateMinute)
                             throws PortalException,
                                    SystemException
Specified by:
updateProposal in interface TasksProposalLocalService
Throws:
PortalException
SystemException

getWrappedTasksProposalLocalService

public TasksProposalLocalService getWrappedTasksProposalLocalService()

Liferay 6.0.5