Liferay 6.0.5

com.liferay.portlet.tasks.service.base
Class TasksProposalLocalServiceBaseImpl

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

public abstract class TasksProposalLocalServiceBaseImpl
extends Object
implements TasksProposalLocalService

The base implementation of the tasks proposal local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in TasksProposalLocalServiceImpl.

Never modify or reference this class directly. Always use TasksProposalLocalServiceUtil to access the tasks proposal local service.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  MBMessageFinder mbMessageFinder
           
protected  MBMessageLocalService mbMessageLocalService
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  MBMessageService mbMessageService
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  SocialActivityFinder socialActivityFinder
           
protected  SocialActivityLocalService socialActivityLocalService
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  TasksProposalFinder tasksProposalFinder
           
protected  TasksProposalLocalService tasksProposalLocalService
           
protected  TasksProposalPersistence tasksProposalPersistence
           
protected  TasksProposalService tasksProposalService
           
protected  TasksReviewLocalService tasksReviewLocalService
           
protected  TasksReviewPersistence tasksReviewPersistence
           
protected  TasksReviewService tasksReviewService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
TasksProposalLocalServiceBaseImpl()
           
 
Method Summary
 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 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.
 CounterLocalService getCounterLocalService()
          Gets the counter local service.
 MBMessageFinder getMBMessageFinder()
          Gets the message-boards message finder.
 MBMessageLocalService getMBMessageLocalService()
          Gets the message-boards message local service.
 MBMessagePersistence getMBMessagePersistence()
          Gets the message-boards message persistence.
 MBMessageService getMBMessageService()
          Gets the message-boards message remote service.
 ResourceFinder getResourceFinder()
          Gets the resource finder.
 ResourceLocalService getResourceLocalService()
          Gets the resource local service.
 ResourcePersistence getResourcePersistence()
          Gets the resource persistence.
 ResourceService getResourceService()
          Gets the resource remote service.
 SocialActivityFinder getSocialActivityFinder()
          Gets the social activity finder.
 SocialActivityLocalService getSocialActivityLocalService()
          Gets the social activity local service.
 SocialActivityPersistence getSocialActivityPersistence()
          Gets the social activity persistence.
 TasksProposal getTasksProposal(long proposalId)
          Gets the tasks proposal with the primary key.
 TasksProposalFinder getTasksProposalFinder()
          Gets the tasks proposal finder.
 TasksProposalLocalService getTasksProposalLocalService()
          Gets the tasks proposal local service.
 TasksProposalPersistence getTasksProposalPersistence()
          Gets the tasks proposal persistence.
 List<TasksProposal> getTasksProposals(int start, int end)
          Gets a range of all the tasks proposals.
 int getTasksProposalsCount()
          Gets the number of tasks proposals.
 TasksProposalService getTasksProposalService()
          Gets the tasks proposal remote service.
 TasksReviewLocalService getTasksReviewLocalService()
          Gets the tasks review local service.
 TasksReviewPersistence getTasksReviewPersistence()
          Gets the tasks review persistence.
 TasksReviewService getTasksReviewService()
          Gets the tasks review remote service.
 UserFinder getUserFinder()
          Gets the user finder.
 UserLocalService getUserLocalService()
          Gets the user local service.
 UserPersistence getUserPersistence()
          Gets the user persistence.
 UserService getUserService()
          Gets the user remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setMBMessageFinder(MBMessageFinder mbMessageFinder)
          Sets the message-boards message finder.
 void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
          Sets the message-boards message local service.
 void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
          Sets the message-boards message persistence.
 void setMBMessageService(MBMessageService mbMessageService)
          Sets the message-boards message remote service.
 void setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote service.
 void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
          Sets the social activity finder.
 void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
          Sets the social activity local service.
 void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
          Sets the social activity persistence.
 void setTasksProposalFinder(TasksProposalFinder tasksProposalFinder)
          Sets the tasks proposal finder.
 void setTasksProposalLocalService(TasksProposalLocalService tasksProposalLocalService)
          Sets the tasks proposal local service.
 void setTasksProposalPersistence(TasksProposalPersistence tasksProposalPersistence)
          Sets the tasks proposal persistence.
 void setTasksProposalService(TasksProposalService tasksProposalService)
          Sets the tasks proposal remote service.
 void setTasksReviewLocalService(TasksReviewLocalService tasksReviewLocalService)
          Sets the tasks review local service.
 void setTasksReviewPersistence(TasksReviewPersistence tasksReviewPersistence)
          Sets the tasks review persistence.
 void setTasksReviewService(TasksReviewService tasksReviewService)
          Sets the tasks review remote service.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 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
 
Methods inherited from interface com.liferay.portlet.tasks.service.TasksProposalLocalService
addProposal, addProposal, addProposal, addProposalResources, addProposalResources, addProposalResources, addProposalResources, deleteProposal, deleteProposal, deleteProposal, deleteProposal, deleteProposals, getProposal, getProposal, getProposal, getProposals, getProposalsCount, getReviewProposals, getReviewProposalsCount, getUserProposals, getUserProposalsCount, updateProposal
 

Field Detail

tasksProposalLocalService

@BeanReference(type=TasksProposalLocalService.class)
protected TasksProposalLocalService tasksProposalLocalService

tasksProposalService

@BeanReference(type=TasksProposalService.class)
protected TasksProposalService tasksProposalService

tasksProposalPersistence

@BeanReference(type=TasksProposalPersistence.class)
protected TasksProposalPersistence tasksProposalPersistence

tasksProposalFinder

@BeanReference(type=TasksProposalFinder.class)
protected TasksProposalFinder tasksProposalFinder

tasksReviewLocalService

@BeanReference(type=TasksReviewLocalService.class)
protected TasksReviewLocalService tasksReviewLocalService

tasksReviewService

@BeanReference(type=TasksReviewService.class)
protected TasksReviewService tasksReviewService

tasksReviewPersistence

@BeanReference(type=TasksReviewPersistence.class)
protected TasksReviewPersistence tasksReviewPersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=ResourceService.class)
protected ResourceService resourceService

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=ResourceFinder.class)
protected ResourceFinder resourceFinder

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

mbMessageLocalService

@BeanReference(type=MBMessageLocalService.class)
protected MBMessageLocalService mbMessageLocalService

mbMessageService

@BeanReference(type=MBMessageService.class)
protected MBMessageService mbMessageService

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

mbMessageFinder

@BeanReference(type=MBMessageFinder.class)
protected MBMessageFinder mbMessageFinder

socialActivityLocalService

@BeanReference(type=SocialActivityLocalService.class)
protected SocialActivityLocalService socialActivityLocalService

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence

socialActivityFinder

@BeanReference(type=SocialActivityFinder.class)
protected SocialActivityFinder socialActivityFinder
Constructor Detail

TasksProposalLocalServiceBaseImpl

public TasksProposalLocalServiceBaseImpl()
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

getTasksProposalLocalService

public TasksProposalLocalService getTasksProposalLocalService()
Gets the tasks proposal local service.

Returns:
the tasks proposal local service

setTasksProposalLocalService

public void setTasksProposalLocalService(TasksProposalLocalService tasksProposalLocalService)
Sets the tasks proposal local service.

Parameters:
tasksProposalLocalService - the tasks proposal local service

getTasksProposalService

public TasksProposalService getTasksProposalService()
Gets the tasks proposal remote service.

Returns:
the tasks proposal remote service

setTasksProposalService

public void setTasksProposalService(TasksProposalService tasksProposalService)
Sets the tasks proposal remote service.

Parameters:
tasksProposalService - the tasks proposal remote service

getTasksProposalPersistence

public TasksProposalPersistence getTasksProposalPersistence()
Gets the tasks proposal persistence.

Returns:
the tasks proposal persistence

setTasksProposalPersistence

public void setTasksProposalPersistence(TasksProposalPersistence tasksProposalPersistence)
Sets the tasks proposal persistence.

Parameters:
tasksProposalPersistence - the tasks proposal persistence

getTasksProposalFinder

public TasksProposalFinder getTasksProposalFinder()
Gets the tasks proposal finder.

Returns:
the tasks proposal finder

setTasksProposalFinder

public void setTasksProposalFinder(TasksProposalFinder tasksProposalFinder)
Sets the tasks proposal finder.

Parameters:
tasksProposalFinder - the tasks proposal finder

getTasksReviewLocalService

public TasksReviewLocalService getTasksReviewLocalService()
Gets the tasks review local service.

Returns:
the tasks review local service

setTasksReviewLocalService

public void setTasksReviewLocalService(TasksReviewLocalService tasksReviewLocalService)
Sets the tasks review local service.

Parameters:
tasksReviewLocalService - the tasks review local service

getTasksReviewService

public TasksReviewService getTasksReviewService()
Gets the tasks review remote service.

Returns:
the tasks review remote service

setTasksReviewService

public void setTasksReviewService(TasksReviewService tasksReviewService)
Sets the tasks review remote service.

Parameters:
tasksReviewService - the tasks review remote service

getTasksReviewPersistence

public TasksReviewPersistence getTasksReviewPersistence()
Gets the tasks review persistence.

Returns:
the tasks review persistence

setTasksReviewPersistence

public void setTasksReviewPersistence(TasksReviewPersistence tasksReviewPersistence)
Sets the tasks review persistence.

Parameters:
tasksReviewPersistence - the tasks review persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Gets the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Gets the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public ResourceService getResourceService()
Gets the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public ResourcePersistence getResourcePersistence()
Gets the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public ResourceFinder getResourceFinder()
Gets the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public UserLocalService getUserLocalService()
Gets the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Gets the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Gets the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Gets the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getMBMessageLocalService

public MBMessageLocalService getMBMessageLocalService()
Gets the message-boards message local service.

Returns:
the message-boards message local service

setMBMessageLocalService

public void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
Sets the message-boards message local service.

Parameters:
mbMessageLocalService - the message-boards message local service

getMBMessageService

public MBMessageService getMBMessageService()
Gets the message-boards message remote service.

Returns:
the message-boards message remote service

setMBMessageService

public void setMBMessageService(MBMessageService mbMessageService)
Sets the message-boards message remote service.

Parameters:
mbMessageService - the message-boards message remote service

getMBMessagePersistence

public MBMessagePersistence getMBMessagePersistence()
Gets the message-boards message persistence.

Returns:
the message-boards message persistence

setMBMessagePersistence

public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
Sets the message-boards message persistence.

Parameters:
mbMessagePersistence - the message-boards message persistence

getMBMessageFinder

public MBMessageFinder getMBMessageFinder()
Gets the message-boards message finder.

Returns:
the message-boards message finder

setMBMessageFinder

public void setMBMessageFinder(MBMessageFinder mbMessageFinder)
Sets the message-boards message finder.

Parameters:
mbMessageFinder - the message-boards message finder

getSocialActivityLocalService

public SocialActivityLocalService getSocialActivityLocalService()
Gets the social activity local service.

Returns:
the social activity local service

setSocialActivityLocalService

public void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
Sets the social activity local service.

Parameters:
socialActivityLocalService - the social activity local service

getSocialActivityPersistence

public SocialActivityPersistence getSocialActivityPersistence()
Gets the social activity persistence.

Returns:
the social activity persistence

setSocialActivityPersistence

public void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
Sets the social activity persistence.

Parameters:
socialActivityPersistence - the social activity persistence

getSocialActivityFinder

public SocialActivityFinder getSocialActivityFinder()
Gets the social activity finder.

Returns:
the social activity finder

setSocialActivityFinder

public void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
Sets the social activity finder.

Parameters:
socialActivityFinder - the social activity finder

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query to perform
Throws:
SystemException

Liferay 6.0.5