com.liferay.portlet.polls.service.base
Class PollsVoteLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portlet.polls.service.base.PollsVoteLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.polls.service.PollsVoteLocalService
Direct Known Subclasses:
PollsVoteLocalServiceImpl

public abstract class PollsVoteLocalServiceBaseImpl
extends java.lang.Object
implements com.liferay.portlet.polls.service.PollsVoteLocalService, com.liferay.portal.kernel.bean.IdentifiableBean

The base implementation of the polls vote 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 PollsVoteLocalServiceImpl.

Author:
Brian Wing Shun Chan
See Also:
PollsVoteLocalServiceImpl, PollsVoteLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
protected  com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portlet.polls.service.persistence.PollsChoiceFinder pollsChoiceFinder
           
protected  com.liferay.portlet.polls.service.PollsChoiceLocalService pollsChoiceLocalService
           
protected  com.liferay.portlet.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence
           
protected  com.liferay.portlet.polls.service.PollsQuestionLocalService pollsQuestionLocalService
           
protected  com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence
           
protected  com.liferay.portlet.polls.service.PollsQuestionService pollsQuestionService
           
protected  com.liferay.portlet.polls.service.PollsVoteLocalService pollsVoteLocalService
           
protected  com.liferay.portlet.polls.service.persistence.PollsVotePersistence pollsVotePersistence
           
protected  com.liferay.portlet.polls.service.PollsVoteService pollsVoteService
           
protected  com.liferay.portal.service.persistence.ResourceFinder resourceFinder
           
protected  com.liferay.portal.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.ResourceService resourceService
           
protected  com.liferay.portal.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.service.UserLocalService userLocalService
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.UserService userService
           
 
Constructor Summary
PollsVoteLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.polls.model.PollsVote addPollsVote(com.liferay.portlet.polls.model.PollsVote pollsVote)
          Adds the polls vote to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.polls.model.PollsVote createPollsVote(long voteId)
          Creates a new polls vote with the primary key.
 void deletePollsVote(long voteId)
          Deletes the polls vote with the primary key from the database.
 void deletePollsVote(com.liferay.portlet.polls.model.PollsVote pollsVote)
          Deletes the polls vote from the database.
 void destroy()
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 com.liferay.portlet.polls.model.PollsVote fetchPollsVote(long voteId)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 com.liferay.counter.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
protected  java.lang.Class<?> getModelClass()
           
protected  java.lang.String getModelClassName()
           
 com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
           
 com.liferay.portlet.polls.service.persistence.PollsChoiceFinder getPollsChoiceFinder()
          Returns the polls choice finder.
 com.liferay.portlet.polls.service.PollsChoiceLocalService getPollsChoiceLocalService()
          Returns the polls choice local service.
 com.liferay.portlet.polls.service.persistence.PollsChoicePersistence getPollsChoicePersistence()
          Returns the polls choice persistence.
 com.liferay.portlet.polls.service.PollsQuestionLocalService getPollsQuestionLocalService()
          Returns the polls question local service.
 com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence getPollsQuestionPersistence()
          Returns the polls question persistence.
 com.liferay.portlet.polls.service.PollsQuestionService getPollsQuestionService()
          Returns the polls question remote service.
 com.liferay.portlet.polls.model.PollsVote getPollsVote(long voteId)
          Returns the polls vote with the primary key.
 com.liferay.portlet.polls.service.PollsVoteLocalService getPollsVoteLocalService()
          Returns the polls vote local service.
 com.liferay.portlet.polls.service.persistence.PollsVotePersistence getPollsVotePersistence()
          Returns the polls vote persistence.
 java.util.List<com.liferay.portlet.polls.model.PollsVote> getPollsVotes(int start, int end)
          Returns a range of all the polls votes.
 int getPollsVotesCount()
          Returns the number of polls votes.
 com.liferay.portlet.polls.service.PollsVoteService getPollsVoteService()
          Returns the polls vote remote service.
 com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
          Returns the resource finder.
 com.liferay.portal.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 com.liferay.portal.service.ResourceService getResourceService()
          Returns the resource remote service.
 com.liferay.portal.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 com.liferay.portal.service.UserService getUserService()
          Returns the user remote service.
protected  void runSQL(java.lang.String sql)
          Performs an SQL query.
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setPollsChoiceFinder(com.liferay.portlet.polls.service.persistence.PollsChoiceFinder pollsChoiceFinder)
          Sets the polls choice finder.
 void setPollsChoiceLocalService(com.liferay.portlet.polls.service.PollsChoiceLocalService pollsChoiceLocalService)
          Sets the polls choice local service.
 void setPollsChoicePersistence(com.liferay.portlet.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence)
          Sets the polls choice persistence.
 void setPollsQuestionLocalService(com.liferay.portlet.polls.service.PollsQuestionLocalService pollsQuestionLocalService)
          Sets the polls question local service.
 void setPollsQuestionPersistence(com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence)
          Sets the polls question persistence.
 void setPollsQuestionService(com.liferay.portlet.polls.service.PollsQuestionService pollsQuestionService)
          Sets the polls question remote service.
 void setPollsVoteLocalService(com.liferay.portlet.polls.service.PollsVoteLocalService pollsVoteLocalService)
          Sets the polls vote local service.
 void setPollsVotePersistence(com.liferay.portlet.polls.service.persistence.PollsVotePersistence pollsVotePersistence)
          Sets the polls vote persistence.
 void setPollsVoteService(com.liferay.portlet.polls.service.PollsVoteService pollsVoteService)
          Sets the polls vote remote service.
 void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(com.liferay.portal.service.ResourceService resourceService)
          Sets the resource remote service.
 void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(com.liferay.portal.service.UserService userService)
          Sets the user remote service.
 com.liferay.portlet.polls.model.PollsVote updatePollsVote(com.liferay.portlet.polls.model.PollsVote pollsVote)
          Updates the polls vote in the database or adds it if it does not yet exist.
 com.liferay.portlet.polls.model.PollsVote updatePollsVote(com.liferay.portlet.polls.model.PollsVote pollsVote, boolean merge)
          Updates the polls vote in the database or adds it if it does not yet exist.
 
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.polls.service.PollsVoteLocalService
addVote, getChoiceVotes, getChoiceVotesCount, getQuestionVotes, getQuestionVotesCount, getVote
 

Field Detail

pollsChoiceLocalService

@BeanReference(type=com.liferay.portlet.polls.service.PollsChoiceLocalService.class)
protected com.liferay.portlet.polls.service.PollsChoiceLocalService pollsChoiceLocalService

pollsChoicePersistence

@BeanReference(type=com.liferay.portlet.polls.service.persistence.PollsChoicePersistence.class)
protected com.liferay.portlet.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence

pollsChoiceFinder

@BeanReference(type=com.liferay.portlet.polls.service.persistence.PollsChoiceFinder.class)
protected com.liferay.portlet.polls.service.persistence.PollsChoiceFinder pollsChoiceFinder

pollsQuestionLocalService

@BeanReference(type=com.liferay.portlet.polls.service.PollsQuestionLocalService.class)
protected com.liferay.portlet.polls.service.PollsQuestionLocalService pollsQuestionLocalService

pollsQuestionService

@BeanReference(type=com.liferay.portlet.polls.service.PollsQuestionService.class)
protected com.liferay.portlet.polls.service.PollsQuestionService pollsQuestionService

pollsQuestionPersistence

@BeanReference(type=com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence.class)
protected com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence

pollsVoteLocalService

@BeanReference(type=com.liferay.portlet.polls.service.PollsVoteLocalService.class)
protected com.liferay.portlet.polls.service.PollsVoteLocalService pollsVoteLocalService

pollsVoteService

@BeanReference(type=com.liferay.portlet.polls.service.PollsVoteService.class)
protected com.liferay.portlet.polls.service.PollsVoteService pollsVoteService

pollsVotePersistence

@BeanReference(type=com.liferay.portlet.polls.service.persistence.PollsVotePersistence.class)
protected com.liferay.portlet.polls.service.persistence.PollsVotePersistence pollsVotePersistence

counterLocalService

@BeanReference(type=com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService

resourceLocalService

@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class)
protected com.liferay.portal.service.ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=com.liferay.portal.service.ResourceService.class)
protected com.liferay.portal.service.ResourceService resourceService

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=com.liferay.portal.service.persistence.ResourceFinder.class)
protected com.liferay.portal.service.persistence.ResourceFinder resourceFinder

userLocalService

@BeanReference(type=com.liferay.portal.service.UserLocalService.class)
protected com.liferay.portal.service.UserLocalService userLocalService

userService

@BeanReference(type=com.liferay.portal.service.UserService.class)
protected com.liferay.portal.service.UserService userService

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

userFinder

@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class)
protected com.liferay.portal.service.persistence.UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

PollsVoteLocalServiceBaseImpl

public PollsVoteLocalServiceBaseImpl()
Method Detail

addPollsVote

public com.liferay.portlet.polls.model.PollsVote addPollsVote(com.liferay.portlet.polls.model.PollsVote pollsVote)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Adds the polls vote to the database. Also notifies the appropriate model listeners.

Specified by:
addPollsVote in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
pollsVote - the polls vote
Returns:
the polls vote that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createPollsVote

public com.liferay.portlet.polls.model.PollsVote createPollsVote(long voteId)
Creates a new polls vote with the primary key. Does not add the polls vote to the database.

Specified by:
createPollsVote in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
voteId - the primary key for the new polls vote
Returns:
the new polls vote

deletePollsVote

public void deletePollsVote(long voteId)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Deletes the polls vote with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deletePollsVote in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
voteId - the primary key of the polls vote
Throws:
com.liferay.portal.kernel.exception.PortalException - if a polls vote with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deletePollsVote

public void deletePollsVote(com.liferay.portlet.polls.model.PollsVote pollsVote)
                     throws com.liferay.portal.kernel.exception.SystemException
Deletes the polls vote from the database. Also notifies the appropriate model listeners.

Specified by:
deletePollsVote in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
pollsVote - the polls vote
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchPollsVote

public com.liferay.portlet.polls.model.PollsVote fetchPollsVote(long voteId)
                                                         throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchPollsVote in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPollsVote

public com.liferay.portlet.polls.model.PollsVote getPollsVote(long voteId)
                                                       throws com.liferay.portal.kernel.exception.PortalException,
                                                              com.liferay.portal.kernel.exception.SystemException
Returns the polls vote with the primary key.

Specified by:
getPollsVote in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
voteId - the primary key of the polls vote
Returns:
the polls vote
Throws:
com.liferay.portal.kernel.exception.PortalException - if a polls vote with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPersistedModel

public com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
                                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalService
Specified by:
getPersistedModel in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getPollsVotes

public java.util.List<com.liferay.portlet.polls.model.PollsVote> getPollsVotes(int start,
                                                                               int end)
                                                                        throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the polls votes.

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:
getPollsVotes in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
start - the lower bound of the range of polls votes
end - the upper bound of the range of polls votes (not inclusive)
Returns:
the range of polls votes
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPollsVotesCount

public int getPollsVotesCount()
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of polls votes.

Specified by:
getPollsVotesCount in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Returns:
the number of polls votes
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updatePollsVote

public com.liferay.portlet.polls.model.PollsVote updatePollsVote(com.liferay.portlet.polls.model.PollsVote pollsVote)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Updates the polls vote in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updatePollsVote in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
pollsVote - the polls vote
Returns:
the polls vote that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updatePollsVote

public com.liferay.portlet.polls.model.PollsVote updatePollsVote(com.liferay.portlet.polls.model.PollsVote pollsVote,
                                                                 boolean merge)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Updates the polls vote in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updatePollsVote in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
pollsVote - the polls vote
merge - whether to merge the polls vote 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 polls vote that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPollsChoiceLocalService

public com.liferay.portlet.polls.service.PollsChoiceLocalService getPollsChoiceLocalService()
Returns the polls choice local service.

Returns:
the polls choice local service

setPollsChoiceLocalService

public void setPollsChoiceLocalService(com.liferay.portlet.polls.service.PollsChoiceLocalService pollsChoiceLocalService)
Sets the polls choice local service.

Parameters:
pollsChoiceLocalService - the polls choice local service

getPollsChoicePersistence

public com.liferay.portlet.polls.service.persistence.PollsChoicePersistence getPollsChoicePersistence()
Returns the polls choice persistence.

Returns:
the polls choice persistence

setPollsChoicePersistence

public void setPollsChoicePersistence(com.liferay.portlet.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence)
Sets the polls choice persistence.

Parameters:
pollsChoicePersistence - the polls choice persistence

getPollsChoiceFinder

public com.liferay.portlet.polls.service.persistence.PollsChoiceFinder getPollsChoiceFinder()
Returns the polls choice finder.

Returns:
the polls choice finder

setPollsChoiceFinder

public void setPollsChoiceFinder(com.liferay.portlet.polls.service.persistence.PollsChoiceFinder pollsChoiceFinder)
Sets the polls choice finder.

Parameters:
pollsChoiceFinder - the polls choice finder

getPollsQuestionLocalService

public com.liferay.portlet.polls.service.PollsQuestionLocalService getPollsQuestionLocalService()
Returns the polls question local service.

Returns:
the polls question local service

setPollsQuestionLocalService

public void setPollsQuestionLocalService(com.liferay.portlet.polls.service.PollsQuestionLocalService pollsQuestionLocalService)
Sets the polls question local service.

Parameters:
pollsQuestionLocalService - the polls question local service

getPollsQuestionService

public com.liferay.portlet.polls.service.PollsQuestionService getPollsQuestionService()
Returns the polls question remote service.

Returns:
the polls question remote service

setPollsQuestionService

public void setPollsQuestionService(com.liferay.portlet.polls.service.PollsQuestionService pollsQuestionService)
Sets the polls question remote service.

Parameters:
pollsQuestionService - the polls question remote service

getPollsQuestionPersistence

public com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence getPollsQuestionPersistence()
Returns the polls question persistence.

Returns:
the polls question persistence

setPollsQuestionPersistence

public void setPollsQuestionPersistence(com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence)
Sets the polls question persistence.

Parameters:
pollsQuestionPersistence - the polls question persistence

getPollsVoteLocalService

public com.liferay.portlet.polls.service.PollsVoteLocalService getPollsVoteLocalService()
Returns the polls vote local service.

Returns:
the polls vote local service

setPollsVoteLocalService

public void setPollsVoteLocalService(com.liferay.portlet.polls.service.PollsVoteLocalService pollsVoteLocalService)
Sets the polls vote local service.

Parameters:
pollsVoteLocalService - the polls vote local service

getPollsVoteService

public com.liferay.portlet.polls.service.PollsVoteService getPollsVoteService()
Returns the polls vote remote service.

Returns:
the polls vote remote service

setPollsVoteService

public void setPollsVoteService(com.liferay.portlet.polls.service.PollsVoteService pollsVoteService)
Sets the polls vote remote service.

Parameters:
pollsVoteService - the polls vote remote service

getPollsVotePersistence

public com.liferay.portlet.polls.service.persistence.PollsVotePersistence getPollsVotePersistence()
Returns the polls vote persistence.

Returns:
the polls vote persistence

setPollsVotePersistence

public void setPollsVotePersistence(com.liferay.portlet.polls.service.persistence.PollsVotePersistence pollsVotePersistence)
Sets the polls vote persistence.

Parameters:
pollsVotePersistence - the polls vote persistence

getCounterLocalService

public com.liferay.counter.service.CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getResourceLocalService

public com.liferay.portal.service.ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

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

Parameters:
resourceLocalService - the resource local service

getResourceService

public com.liferay.portal.service.ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

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

Parameters:
resourceService - the resource remote service

getResourcePersistence

public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public com.liferay.portal.service.UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

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

Parameters:
userLocalService - the user local service

getUserService

public com.liferay.portal.service.UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

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

Parameters:
userService - the user remote service

getUserPersistence

public com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public com.liferay.portal.service.persistence.UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public java.lang.String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
getBeanIdentifier in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
setBeanIdentifier in interface com.liferay.portlet.polls.service.PollsVoteLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected java.lang.Class<?> getModelClass()

getModelClassName

protected java.lang.String getModelClassName()

runSQL

protected void runSQL(java.lang.String sql)
               throws com.liferay.portal.kernel.exception.SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
com.liferay.portal.kernel.exception.SystemException