@ProviderType
public abstract class PollsQuestionLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.polls.service.PollsQuestionLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in PollsQuestionLocalServiceImpl.
PollsQuestionLocalServiceImpl,
PollsQuestionLocalServiceUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
protected com.liferay.polls.service.PollsChoiceLocalService |
pollsChoiceLocalService |
protected com.liferay.polls.service.persistence.PollsChoicePersistence |
pollsChoicePersistence |
protected com.liferay.polls.service.persistence.PollsQuestionFinder |
pollsQuestionFinder |
protected com.liferay.polls.service.PollsQuestionLocalService |
pollsQuestionLocalService |
protected com.liferay.polls.service.persistence.PollsQuestionPersistence |
pollsQuestionPersistence |
protected com.liferay.polls.service.PollsVoteLocalService |
pollsVoteLocalService |
protected com.liferay.polls.service.persistence.PollsVotePersistence |
pollsVotePersistence |
protected com.liferay.portal.kernel.service.ResourceLocalService |
resourceLocalService |
protected com.liferay.portal.kernel.service.SystemEventLocalService |
systemEventLocalService |
protected com.liferay.portal.kernel.service.persistence.SystemEventPersistence |
systemEventPersistence |
protected com.liferay.portal.kernel.service.UserLocalService |
userLocalService |
protected com.liferay.portal.kernel.service.persistence.UserPersistence |
userPersistence |
| Constructor and Description |
|---|
PollsQuestionLocalServiceBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.polls.model.PollsQuestion |
addPollsQuestion(com.liferay.polls.model.PollsQuestion pollsQuestion)
Adds the polls question to the database.
|
void |
afterPropertiesSet() |
com.liferay.polls.model.PollsQuestion |
createPollsQuestion(long questionId)
Creates a new polls question with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
com.liferay.polls.model.PollsQuestion |
deletePollsQuestion(long questionId)
Deletes the polls question with the primary key from the database.
|
com.liferay.polls.model.PollsQuestion |
deletePollsQuestion(com.liferay.polls.model.PollsQuestion pollsQuestion)
Deletes the polls question from the database.
|
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
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.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> 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 matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
com.liferay.polls.model.PollsQuestion |
fetchPollsQuestion(long questionId) |
com.liferay.polls.model.PollsQuestion |
fetchPollsQuestionByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the polls question matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
protected java.lang.Class<?> |
getModelClass() |
protected java.lang.String |
getModelClassName() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
com.liferay.polls.service.PollsChoiceLocalService |
getPollsChoiceLocalService()
Returns the polls choice local service.
|
com.liferay.polls.service.persistence.PollsChoicePersistence |
getPollsChoicePersistence()
Returns the polls choice persistence.
|
com.liferay.polls.model.PollsQuestion |
getPollsQuestion(long questionId)
Returns the polls question with the primary key.
|
com.liferay.polls.model.PollsQuestion |
getPollsQuestionByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the polls question matching the UUID and group.
|
com.liferay.polls.service.persistence.PollsQuestionFinder |
getPollsQuestionFinder()
Returns the polls question finder.
|
com.liferay.polls.service.PollsQuestionLocalService |
getPollsQuestionLocalService()
Returns the polls question local service.
|
com.liferay.polls.service.persistence.PollsQuestionPersistence |
getPollsQuestionPersistence()
Returns the polls question persistence.
|
java.util.List<com.liferay.polls.model.PollsQuestion> |
getPollsQuestions(int start,
int end)
Returns a range of all the polls questions.
|
java.util.List<com.liferay.polls.model.PollsQuestion> |
getPollsQuestionsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the polls questions matching the UUID and company.
|
java.util.List<com.liferay.polls.model.PollsQuestion> |
getPollsQuestionsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.polls.model.PollsQuestion> orderByComparator)
Returns a range of polls questions matching the UUID and company.
|
int |
getPollsQuestionsCount()
Returns the number of polls questions.
|
com.liferay.polls.service.PollsVoteLocalService |
getPollsVoteLocalService()
Returns the polls vote local service.
|
com.liferay.polls.service.persistence.PollsVotePersistence |
getPollsVotePersistence()
Returns the polls vote persistence.
|
com.liferay.portal.kernel.service.ResourceLocalService |
getResourceLocalService()
Returns the resource local service.
|
com.liferay.portal.kernel.service.SystemEventLocalService |
getSystemEventLocalService()
Returns the system event local service.
|
com.liferay.portal.kernel.service.persistence.SystemEventPersistence |
getSystemEventPersistence()
Returns the system event persistence.
|
com.liferay.portal.kernel.service.UserLocalService |
getUserLocalService()
Returns the user local service.
|
com.liferay.portal.kernel.service.persistence.UserPersistence |
getUserPersistence()
Returns the user persistence.
|
protected void |
initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) |
protected void |
runSQL(java.lang.String sql)
Performs a SQL query.
|
void |
setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setPollsChoiceLocalService(com.liferay.polls.service.PollsChoiceLocalService pollsChoiceLocalService)
Sets the polls choice local service.
|
void |
setPollsChoicePersistence(com.liferay.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence)
Sets the polls choice persistence.
|
void |
setPollsQuestionFinder(com.liferay.polls.service.persistence.PollsQuestionFinder pollsQuestionFinder)
Sets the polls question finder.
|
void |
setPollsQuestionLocalService(com.liferay.polls.service.PollsQuestionLocalService pollsQuestionLocalService)
Sets the polls question local service.
|
void |
setPollsQuestionPersistence(com.liferay.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence)
Sets the polls question persistence.
|
void |
setPollsVoteLocalService(com.liferay.polls.service.PollsVoteLocalService pollsVoteLocalService)
Sets the polls vote local service.
|
void |
setPollsVotePersistence(com.liferay.polls.service.persistence.PollsVotePersistence pollsVotePersistence)
Sets the polls vote persistence.
|
void |
setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
Sets the resource local service.
|
void |
setSystemEventLocalService(com.liferay.portal.kernel.service.SystemEventLocalService systemEventLocalService)
Sets the system event local service.
|
void |
setSystemEventPersistence(com.liferay.portal.kernel.service.persistence.SystemEventPersistence systemEventPersistence)
Sets the system event persistence.
|
void |
setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
Sets the user local service.
|
void |
setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
Sets the user persistence.
|
com.liferay.polls.model.PollsQuestion |
updatePollsQuestion(com.liferay.polls.model.PollsQuestion pollsQuestion)
Updates the polls question in the database or adds it if it does not yet exist.
|
getClassLoader, getLocalizationMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddQuestion, addQuestionResources, addQuestionResources, addQuestionResources, addQuestionResources, deleteQuestion, deleteQuestion, deleteQuestions, getQuestion, getQuestions, getQuestions, getQuestionsCount, search, search, searchCount, searchCount, updateQuestion@BeanReference(type=com.liferay.polls.service.PollsQuestionLocalService.class) protected com.liferay.polls.service.PollsQuestionLocalService pollsQuestionLocalService
@BeanReference(type=com.liferay.polls.service.persistence.PollsQuestionPersistence.class) protected com.liferay.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence
@BeanReference(type=com.liferay.polls.service.persistence.PollsQuestionFinder.class) protected com.liferay.polls.service.persistence.PollsQuestionFinder pollsQuestionFinder
@ServiceReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.polls.service.PollsChoiceLocalService.class) protected com.liferay.polls.service.PollsChoiceLocalService pollsChoiceLocalService
@BeanReference(type=com.liferay.polls.service.persistence.PollsChoicePersistence.class) protected com.liferay.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence
@ServiceReference(type=com.liferay.portal.kernel.service.ResourceLocalService.class) protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService
@ServiceReference(type=com.liferay.portal.kernel.service.SystemEventLocalService.class) protected com.liferay.portal.kernel.service.SystemEventLocalService systemEventLocalService
@ServiceReference(type=com.liferay.portal.kernel.service.persistence.SystemEventPersistence.class) protected com.liferay.portal.kernel.service.persistence.SystemEventPersistence systemEventPersistence
@ServiceReference(type=com.liferay.portal.kernel.service.UserLocalService.class) protected com.liferay.portal.kernel.service.UserLocalService userLocalService
@ServiceReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
@BeanReference(type=com.liferay.polls.service.PollsVoteLocalService.class) protected com.liferay.polls.service.PollsVoteLocalService pollsVoteLocalService
@BeanReference(type=com.liferay.polls.service.persistence.PollsVotePersistence.class) protected com.liferay.polls.service.persistence.PollsVotePersistence pollsVotePersistence
@ServiceReference(type=com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
@Indexable(type=REINDEX) public com.liferay.polls.model.PollsQuestion addPollsQuestion(com.liferay.polls.model.PollsQuestion pollsQuestion)
addPollsQuestion in interface com.liferay.polls.service.PollsQuestionLocalServicepollsQuestion - the polls questionpublic com.liferay.polls.model.PollsQuestion createPollsQuestion(long questionId)
createPollsQuestion in interface com.liferay.polls.service.PollsQuestionLocalServicequestionId - the primary key for the new polls question@Indexable(type=DELETE)
public com.liferay.polls.model.PollsQuestion deletePollsQuestion(long questionId)
throws com.liferay.portal.kernel.exception.PortalException
deletePollsQuestion in interface com.liferay.polls.service.PollsQuestionLocalServicequestionId - the primary key of the polls questioncom.liferay.portal.kernel.exception.PortalException - if a polls question with the primary key could not be found@Indexable(type=DELETE) public com.liferay.polls.model.PollsQuestion deletePollsQuestion(com.liferay.polls.model.PollsQuestion pollsQuestion)
deletePollsQuestion in interface com.liferay.polls.service.PollsQuestionLocalServicepollsQuestion - the polls questionpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface com.liferay.polls.service.PollsQuestionLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface com.liferay.polls.service.PollsQuestionLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PollsQuestionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface com.liferay.polls.service.PollsQuestionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PollsQuestionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface com.liferay.polls.service.PollsQuestionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface com.liferay.polls.service.PollsQuestionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface com.liferay.polls.service.PollsQuestionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic com.liferay.polls.model.PollsQuestion fetchPollsQuestion(long questionId)
fetchPollsQuestion in interface com.liferay.polls.service.PollsQuestionLocalServicepublic com.liferay.polls.model.PollsQuestion fetchPollsQuestionByUuidAndGroupId(java.lang.String uuid,
long groupId)
fetchPollsQuestionByUuidAndGroupId in interface com.liferay.polls.service.PollsQuestionLocalServiceuuid - the polls question's UUIDgroupId - the primary key of the groupnull if a matching polls question could not be foundpublic com.liferay.polls.model.PollsQuestion getPollsQuestion(long questionId)
throws com.liferay.portal.kernel.exception.PortalException
getPollsQuestion in interface com.liferay.polls.service.PollsQuestionLocalServicequestionId - the primary key of the polls questioncom.liferay.portal.kernel.exception.PortalException - if a polls question with the primary key could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface com.liferay.polls.service.PollsQuestionLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface com.liferay.polls.service.PollsQuestionLocalServiceprotected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface com.liferay.polls.service.PollsQuestionLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface com.liferay.polls.service.PollsQuestionLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface com.liferay.polls.service.PollsQuestionLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.polls.model.PollsQuestion> getPollsQuestionsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
getPollsQuestionsByUuidAndCompanyId in interface com.liferay.polls.service.PollsQuestionLocalServiceuuid - the UUID of the polls questionscompanyId - the primary key of the companypublic java.util.List<com.liferay.polls.model.PollsQuestion> getPollsQuestionsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.polls.model.PollsQuestion> orderByComparator)
getPollsQuestionsByUuidAndCompanyId in interface com.liferay.polls.service.PollsQuestionLocalServiceuuid - the UUID of the polls questionscompanyId - the primary key of the companystart - the lower bound of the range of polls questionsend - the upper bound of the range of polls questions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public com.liferay.polls.model.PollsQuestion getPollsQuestionByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException
getPollsQuestionByUuidAndGroupId in interface com.liferay.polls.service.PollsQuestionLocalServiceuuid - the polls question's UUIDgroupId - the primary key of the groupcom.liferay.portal.kernel.exception.PortalException - if a matching polls question could not be foundpublic java.util.List<com.liferay.polls.model.PollsQuestion> getPollsQuestions(int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from PollsQuestionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getPollsQuestions in interface com.liferay.polls.service.PollsQuestionLocalServicestart - the lower bound of the range of polls questionsend - the upper bound of the range of polls questions (not inclusive)public int getPollsQuestionsCount()
getPollsQuestionsCount in interface com.liferay.polls.service.PollsQuestionLocalService@Indexable(type=REINDEX) public com.liferay.polls.model.PollsQuestion updatePollsQuestion(com.liferay.polls.model.PollsQuestion pollsQuestion)
updatePollsQuestion in interface com.liferay.polls.service.PollsQuestionLocalServicepollsQuestion - the polls questionpublic com.liferay.polls.service.PollsQuestionLocalService getPollsQuestionLocalService()
public void setPollsQuestionLocalService(com.liferay.polls.service.PollsQuestionLocalService pollsQuestionLocalService)
pollsQuestionLocalService - the polls question local servicepublic com.liferay.polls.service.persistence.PollsQuestionPersistence getPollsQuestionPersistence()
public void setPollsQuestionPersistence(com.liferay.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence)
pollsQuestionPersistence - the polls question persistencepublic com.liferay.polls.service.persistence.PollsQuestionFinder getPollsQuestionFinder()
public void setPollsQuestionFinder(com.liferay.polls.service.persistence.PollsQuestionFinder pollsQuestionFinder)
pollsQuestionFinder - the polls question finderpublic com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic com.liferay.polls.service.PollsChoiceLocalService getPollsChoiceLocalService()
public void setPollsChoiceLocalService(com.liferay.polls.service.PollsChoiceLocalService pollsChoiceLocalService)
pollsChoiceLocalService - the polls choice local servicepublic com.liferay.polls.service.persistence.PollsChoicePersistence getPollsChoicePersistence()
public void setPollsChoicePersistence(com.liferay.polls.service.persistence.PollsChoicePersistence pollsChoicePersistence)
pollsChoicePersistence - the polls choice persistencepublic com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService()
public void setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
resourceLocalService - the resource local servicepublic com.liferay.portal.kernel.service.SystemEventLocalService getSystemEventLocalService()
public void setSystemEventLocalService(com.liferay.portal.kernel.service.SystemEventLocalService systemEventLocalService)
systemEventLocalService - the system event local servicepublic com.liferay.portal.kernel.service.persistence.SystemEventPersistence getSystemEventPersistence()
public void setSystemEventPersistence(com.liferay.portal.kernel.service.persistence.SystemEventPersistence systemEventPersistence)
systemEventPersistence - the system event persistencepublic com.liferay.portal.kernel.service.UserLocalService getUserLocalService()
public void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
userLocalService - the user local servicepublic com.liferay.portal.kernel.service.persistence.UserPersistence getUserPersistence()
public void setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
userPersistence - the user persistencepublic com.liferay.polls.service.PollsVoteLocalService getPollsVoteLocalService()
public void setPollsVoteLocalService(com.liferay.polls.service.PollsVoteLocalService pollsVoteLocalService)
pollsVoteLocalService - the polls vote local servicepublic com.liferay.polls.service.persistence.PollsVotePersistence getPollsVotePersistence()
public void setPollsVotePersistence(com.liferay.polls.service.persistence.PollsVotePersistence pollsVotePersistence)
pollsVotePersistence - the polls vote persistencepublic void afterPropertiesSet()
public void destroy()
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface com.liferay.polls.service.PollsQuestionLocalServicegetOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServiceprotected java.lang.Class<?> getModelClass()
protected java.lang.String getModelClassName()
protected void runSQL(java.lang.String sql)
sql - the sql query