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