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

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.polls.service.base.PollsQuestionServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portlet.polls.service.PollsQuestionService
Direct Known Subclasses:
PollsQuestionServiceImpl

public abstract class PollsQuestionServiceBaseImpl
extends com.liferay.portal.service.base.PrincipalBean
implements com.liferay.portlet.polls.service.PollsQuestionService, com.liferay.portal.kernel.bean.IdentifiableBean

The base implementation of the polls question remote service.

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

Author:
Brian Wing Shun Chan
See Also:
PollsQuestionServiceImpl, PollsQuestionServiceUtil
Generated:

Field Summary
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
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
           
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
PollsQuestionServiceBaseImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 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.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.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.
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
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.PollsQuestionService
addQuestion, deleteQuestion, getQuestion, updateQuestion
 

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
Constructor Detail

PollsQuestionServiceBaseImpl

public PollsQuestionServiceBaseImpl()
Method Detail

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
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
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