Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portlet.tasks.service.base.TasksReviewLocalServiceBaseImpl
All Implemented Interfaces:
TasksReviewLocalService
Direct Known Subclasses:
TasksReviewLocalServiceImpl

public abstract class TasksReviewLocalServiceBaseImpl
extends Object
implements TasksReviewLocalService

The base implementation of the tasks review 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 TasksReviewLocalServiceImpl.

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

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

Field Summary
protected  CounterLocalService counterLocalService
           
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
TasksReviewLocalServiceBaseImpl()
           
 
Method Summary
 TasksReview addTasksReview(TasksReview tasksReview)
          Adds the tasks review to the database.
 TasksReview createTasksReview(long reviewId)
          Creates a new tasks review with the primary key.
 void deleteTasksReview(long reviewId)
          Deletes the tasks review with the primary key from the database.
 void deleteTasksReview(TasksReview tasksReview)
          Deletes the tasks review 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.
 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.
 TasksProposalFinder getTasksProposalFinder()
          Gets the tasks proposal finder.
 TasksProposalLocalService getTasksProposalLocalService()
          Gets the tasks proposal local service.
 TasksProposalPersistence getTasksProposalPersistence()
          Gets the tasks proposal persistence.
 TasksProposalService getTasksProposalService()
          Gets the tasks proposal remote service.
 TasksReview getTasksReview(long reviewId)
          Gets the tasks review with the primary key.
 TasksReviewLocalService getTasksReviewLocalService()
          Gets the tasks review local service.
 TasksReviewPersistence getTasksReviewPersistence()
          Gets the tasks review persistence.
 List<TasksReview> getTasksReviews(int start, int end)
          Gets a range of all the tasks reviews.
 int getTasksReviewsCount()
          Gets the number of tasks reviews.
 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 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.
 TasksReview updateTasksReview(TasksReview tasksReview)
          Updates the tasks review in the database.
 TasksReview updateTasksReview(TasksReview tasksReview, boolean merge)
          Updates the tasks review 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.TasksReviewLocalService
addReview, approveReview, deleteReview, deleteReview, deleteReviews, getReview, getReview, getReviews, getReviews, getReviews, getReviews, rejectReview, updateReviews
 

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

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

TasksReviewLocalServiceBaseImpl

public TasksReviewLocalServiceBaseImpl()
Method Detail

addTasksReview

public TasksReview addTasksReview(TasksReview tasksReview)
                           throws SystemException
Adds the tasks review to the database. Also notifies the appropriate model listeners.

Specified by:
addTasksReview in interface TasksReviewLocalService
Parameters:
tasksReview - the tasks review to add
Returns:
the tasks review that was added
Throws:
SystemException - if a system exception occurred

createTasksReview

public TasksReview createTasksReview(long reviewId)
Creates a new tasks review with the primary key. Does not add the tasks review to the database.

Specified by:
createTasksReview in interface TasksReviewLocalService
Parameters:
reviewId - the primary key for the new tasks review
Returns:
the new tasks review

deleteTasksReview

public void deleteTasksReview(long reviewId)
                       throws PortalException,
                              SystemException
Deletes the tasks review with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteTasksReview in interface TasksReviewLocalService
Parameters:
reviewId - the primary key of the tasks review to delete
Throws:
PortalException - if a tasks review with the primary key could not be found
SystemException - if a system exception occurred

deleteTasksReview

public void deleteTasksReview(TasksReview tasksReview)
                       throws SystemException
Deletes the tasks review from the database. Also notifies the appropriate model listeners.

Specified by:
deleteTasksReview in interface TasksReviewLocalService
Parameters:
tasksReview - the tasks review 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 TasksReviewLocalService
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 TasksReviewLocalService
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 TasksReviewLocalService
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 TasksReviewLocalService
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

getTasksReview

public TasksReview getTasksReview(long reviewId)
                           throws PortalException,
                                  SystemException
Gets the tasks review with the primary key.

Specified by:
getTasksReview in interface TasksReviewLocalService
Parameters:
reviewId - the primary key of the tasks review to get
Returns:
the tasks review
Throws:
PortalException - if a tasks review with the primary key could not be found
SystemException - if a system exception occurred

getTasksReviews

public List<TasksReview> getTasksReviews(int start,
                                         int end)
                                  throws SystemException
Gets a range of all the tasks reviews.

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:
getTasksReviews in interface TasksReviewLocalService
Parameters:
start - the lower bound of the range of tasks reviews to return
end - the upper bound of the range of tasks reviews to return (not inclusive)
Returns:
the range of tasks reviews
Throws:
SystemException - if a system exception occurred

getTasksReviewsCount

public int getTasksReviewsCount()
                         throws SystemException
Gets the number of tasks reviews.

Specified by:
getTasksReviewsCount in interface TasksReviewLocalService
Returns:
the number of tasks reviews
Throws:
SystemException - if a system exception occurred

updateTasksReview

public TasksReview updateTasksReview(TasksReview tasksReview)
                              throws SystemException
Updates the tasks review in the database. Also notifies the appropriate model listeners.

Specified by:
updateTasksReview in interface TasksReviewLocalService
Parameters:
tasksReview - the tasks review to update
Returns:
the tasks review that was updated
Throws:
SystemException - if a system exception occurred

updateTasksReview

public TasksReview updateTasksReview(TasksReview tasksReview,
                                     boolean merge)
                              throws SystemException
Updates the tasks review in the database. Also notifies the appropriate model listeners.

Specified by:
updateTasksReview in interface TasksReviewLocalService
Parameters:
tasksReview - the tasks review to update
merge - whether to merge the tasks review 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 review 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

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