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:
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 pollsChoice)
|
void |
deletePollsChoice(long choiceId)
|
void |
deletePollsChoice(PollsChoice pollsChoice)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
PollsChoice |
getChoice(long choiceId)
|
java.util.List<PollsChoice> |
getChoices(long questionId)
|
int |
getChoicesCount(long questionId)
|
PollsChoice |
getPollsChoice(long choiceId)
|
java.util.List<PollsChoice> |
getPollsChoices(int start,
int end)
|
int |
getPollsChoicesCount()
|
PollsChoice |
updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description)
|
PollsChoice |
updatePollsChoice(PollsChoice pollsChoice)
|
addPollsChoice
PollsChoice addPollsChoice(PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deletePollsChoice
void deletePollsChoice(long choiceId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePollsChoice
void deletePollsChoice(PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPollsChoice
PollsChoice getPollsChoice(long choiceId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPollsChoices
java.util.List<PollsChoice> getPollsChoices(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPollsChoicesCount
int getPollsChoicesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updatePollsChoice
PollsChoice updatePollsChoice(PollsChoice pollsChoice)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addChoice
PollsChoice addChoice(long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addChoice
PollsChoice addChoice(java.lang.String uuid,
long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getChoice
PollsChoice getChoice(long choiceId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getChoices
java.util.List<PollsChoice> getChoices(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getChoicesCount
int getChoicesCount(long questionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateChoice
PollsChoice updateChoice(long choiceId,
long questionId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException