1
22
23 package com.liferay.portlet.polls.service;
24
25
26
51 public interface PollsChoiceLocalService {
52 public com.liferay.portlet.polls.model.PollsChoice addPollsChoice(
53 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
54 throws com.liferay.portal.SystemException;
55
56 public void deletePollsChoice(long choiceId)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deletePollsChoice(
61 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portal.PortalException;
64
65 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> dynamicQuery(
66 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> dynamicQuery(
70 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
71 int begin, int end) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
74 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
75 throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.polls.model.PollsChoice addChoice(
78 long questionId, java.lang.String name, java.lang.String description)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portal.PortalException;
81
82 public com.liferay.portlet.polls.model.PollsChoice addChoice(
83 java.lang.String uuid, long questionId, java.lang.String name,
84 java.lang.String description)
85 throws com.liferay.portal.SystemException,
86 com.liferay.portal.PortalException;
87
88 public com.liferay.portlet.polls.model.PollsChoice getChoice(long choiceId)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portal.PortalException;
91
92 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices(
93 long questionId) throws com.liferay.portal.SystemException;
94
95 public int getChoicesCount(long questionId)
96 throws com.liferay.portal.SystemException;
97
98 public com.liferay.portlet.polls.model.PollsChoice updateChoice(
99 long choiceId, long questionId, java.lang.String name,
100 java.lang.String description)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portal.PortalException;
103 }