com.liferay.portlet.polls.service
Interface PollsChoiceLocalService
- public interface PollsChoiceLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.polls.service.impl.PollsChoiceLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsChoiceLocalServiceFactory
,
PollsChoiceLocalServiceUtil
Method Summary |
PollsChoice |
addChoice(long questionId,
java.lang.String name,
java.lang.String description)
|
PollsChoice |
addChoice(java.lang.String uuid,
long questionId,
java.lang.String name,
java.lang.String description)
|
PollsChoice |
addPollsChoice(PollsChoice model)
|
void |
afterPropertiesSet()
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
PollsChoice |
getChoice(long choiceId)
|
java.util.List |
getChoices(long questionId)
|
int |
getChoicesCount(long questionId)
|
PollsChoiceFinder |
getPollsChoiceFinder()
|
PollsChoicePersistence |
getPollsChoicePersistence()
|
PollsQuestionPersistence |
getPollsQuestionPersistence()
|
PollsVotePersistence |
getPollsVotePersistence()
|
void |
setPollsChoiceFinder(PollsChoiceFinder pollsChoiceFinder)
|
void |
setPollsChoicePersistence(PollsChoicePersistence pollsChoicePersistence)
|
void |
setPollsQuestionPersistence(PollsQuestionPersistence pollsQuestionPersistence)
|
void |
setPollsVotePersistence(PollsVotePersistence pollsVotePersistence)
|
PollsChoice |
updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description)
|
PollsChoice |
updatePollsChoice(PollsChoice model)
|
addPollsChoice
public PollsChoice addPollsChoice(PollsChoice model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updatePollsChoice
public PollsChoice updatePollsChoice(PollsChoice model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPollsChoicePersistence
public PollsChoicePersistence getPollsChoicePersistence()
setPollsChoicePersistence
public void setPollsChoicePersistence(PollsChoicePersistence pollsChoicePersistence)
getPollsChoiceFinder
public PollsChoiceFinder getPollsChoiceFinder()
setPollsChoiceFinder
public void setPollsChoiceFinder(PollsChoiceFinder pollsChoiceFinder)
getPollsQuestionPersistence
public PollsQuestionPersistence getPollsQuestionPersistence()
setPollsQuestionPersistence
public void setPollsQuestionPersistence(PollsQuestionPersistence pollsQuestionPersistence)
getPollsVotePersistence
public PollsVotePersistence getPollsVotePersistence()
setPollsVotePersistence
public void setPollsVotePersistence(PollsVotePersistence pollsVotePersistence)
afterPropertiesSet
public void afterPropertiesSet()
addChoice
public PollsChoice addChoice(long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addChoice
public PollsChoice addChoice(java.lang.String uuid,
long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getChoice
public PollsChoice getChoice(long choiceId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getChoices
public java.util.List getChoices(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getChoicesCount
public int getChoicesCount(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateChoice
public PollsChoice updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException