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

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

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

The base implementation of the polls choice 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 PollsChoiceLocalServiceImpl.

Author:
Brian Wing Shun Chan
See Also:
PollsChoiceLocalServiceImpl, PollsChoiceLocalServiceUtil
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
PollsChoiceLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.polls.model.PollsChoice addPollsChoice(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
          Adds the polls choice to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.polls.model.PollsChoice createPollsChoice(long choiceId)
          Creates a new polls choice with the primary key.
 void deletePollsChoice(long choiceId)
          Deletes the polls choice with the primary key from the database.
 void deletePollsChoice(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
          Deletes the polls choice 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.PollsChoice fetchPollsChoice(long choiceId)
           
 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.model.PollsChoice getPollsChoice(long choiceId)
          Returns the polls choice with the primary key.
 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.
 java.util.List<com.liferay.portlet.polls.model.PollsChoice> getPollsChoices(int start, int end)
          Returns a range of all the polls choices.
 int getPollsChoicesCount()
          Returns the number of polls choices.
 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.service.PollsVoteLocalService getPollsVoteLocalService()
          Returns the polls vote local service.
 com.liferay.portlet.polls.service.persistence.PollsVotePersistence getPollsVotePersistence()
          Returns the polls vote persistence.
 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.PollsChoice updatePollsChoice(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
          Updates the polls choice in the database or adds it if it does not yet exist.
 com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(com.liferay.portlet.polls.model.PollsChoice pollsChoice, boolean merge)
          Updates the polls choice 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.PollsChoiceLocalService
addChoice, getChoice, getChoices, getChoicesCount, updateChoice
 

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

PollsChoiceLocalServiceBaseImpl

public PollsChoiceLocalServiceBaseImpl()
Method Detail

addPollsChoice

public com.liferay.portlet.polls.model.PollsChoice addPollsChoice(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
                                                           throws com.liferay.portal.kernel.exception.SystemException
Adds the polls choice to the database. Also notifies the appropriate model listeners.

Specified by:
addPollsChoice in interface com.liferay.portlet.polls.service.PollsChoiceLocalService
Parameters:
pollsChoice - the polls choice
Returns:
the polls choice that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createPollsChoice

public com.liferay.portlet.polls.model.PollsChoice createPollsChoice(long choiceId)
Creates a new polls choice with the primary key. Does not add the polls choice to the database.

Specified by:
createPollsChoice in interface com.liferay.portlet.polls.service.PollsChoiceLocalService
Parameters:
choiceId - the primary key for the new polls choice
Returns:
the new polls choice

deletePollsChoice

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

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

deletePollsChoice

public void deletePollsChoice(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
                       throws com.liferay.portal.kernel.exception.SystemException
Deletes the polls choice from the database. Also notifies the appropriate model listeners.

Specified by:
deletePollsChoice in interface com.liferay.portlet.polls.service.PollsChoiceLocalService
Parameters:
pollsChoice - the polls choice
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.PollsChoiceLocalService
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.PollsChoiceLocalService
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.PollsChoiceLocalService
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.PollsChoiceLocalService
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

fetchPollsChoice

public com.liferay.portlet.polls.model.PollsChoice fetchPollsChoice(long choiceId)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchPollsChoice in interface com.liferay.portlet.polls.service.PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPollsChoice

public com.liferay.portlet.polls.model.PollsChoice getPollsChoice(long choiceId)
                                                           throws com.liferay.portal.kernel.exception.PortalException,
                                                                  com.liferay.portal.kernel.exception.SystemException
Returns the polls choice with the primary key.

Specified by:
getPollsChoice in interface com.liferay.portlet.polls.service.PollsChoiceLocalService
Parameters:
choiceId - the primary key of the polls choice
Returns:
the polls choice
Throws:
com.liferay.portal.kernel.exception.PortalException - if a polls choice 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.PollsChoiceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getPollsChoices

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

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

getPollsChoicesCount

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

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

updatePollsChoice

public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
                                                              throws com.liferay.portal.kernel.exception.SystemException
Updates the polls choice in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updatePollsChoice in interface com.liferay.portlet.polls.service.PollsChoiceLocalService
Parameters:
pollsChoice - the polls choice
Returns:
the polls choice that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updatePollsChoice

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

Specified by:
updatePollsChoice in interface com.liferay.portlet.polls.service.PollsChoiceLocalService
Parameters:
pollsChoice - the polls choice
merge - whether to merge the polls choice 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 choice 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.PollsChoiceLocalService
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.PollsChoiceLocalService
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