001
014
015 package com.liferay.portlet.polls.service;
016
017
026 public class PollsChoiceLocalServiceWrapper implements PollsChoiceLocalService {
027 public PollsChoiceLocalServiceWrapper(
028 PollsChoiceLocalService pollsChoiceLocalService) {
029 _pollsChoiceLocalService = pollsChoiceLocalService;
030 }
031
032 public com.liferay.portlet.polls.model.PollsChoice addPollsChoice(
033 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _pollsChoiceLocalService.addPollsChoice(pollsChoice);
036 }
037
038 public com.liferay.portlet.polls.model.PollsChoice createPollsChoice(
039 long choiceId) {
040 return _pollsChoiceLocalService.createPollsChoice(choiceId);
041 }
042
043 public void deletePollsChoice(long choiceId)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _pollsChoiceLocalService.deletePollsChoice(choiceId);
047 }
048
049 public void deletePollsChoice(
050 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 _pollsChoiceLocalService.deletePollsChoice(pollsChoice);
053 }
054
055 @SuppressWarnings("unchecked")
056 public java.util.List dynamicQuery(
057 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058 throws com.liferay.portal.kernel.exception.SystemException {
059 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery);
060 }
061
062 @SuppressWarnings("unchecked")
063 public java.util.List dynamicQuery(
064 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065 int end) throws com.liferay.portal.kernel.exception.SystemException {
066 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery, start, end);
067 }
068
069 @SuppressWarnings("unchecked")
070 public java.util.List dynamicQuery(
071 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072 int end,
073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074 throws com.liferay.portal.kernel.exception.SystemException {
075 return _pollsChoiceLocalService.dynamicQuery(dynamicQuery, start, end,
076 orderByComparator);
077 }
078
079 public long dynamicQueryCount(
080 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _pollsChoiceLocalService.dynamicQueryCount(dynamicQuery);
083 }
084
085 public com.liferay.portlet.polls.model.PollsChoice getPollsChoice(
086 long choiceId)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _pollsChoiceLocalService.getPollsChoice(choiceId);
090 }
091
092 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getPollsChoices(
093 int start, int end)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _pollsChoiceLocalService.getPollsChoices(start, end);
096 }
097
098 public int getPollsChoicesCount()
099 throws com.liferay.portal.kernel.exception.SystemException {
100 return _pollsChoiceLocalService.getPollsChoicesCount();
101 }
102
103 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
104 com.liferay.portlet.polls.model.PollsChoice pollsChoice)
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice);
107 }
108
109 public com.liferay.portlet.polls.model.PollsChoice updatePollsChoice(
110 com.liferay.portlet.polls.model.PollsChoice pollsChoice, boolean merge)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _pollsChoiceLocalService.updatePollsChoice(pollsChoice, merge);
113 }
114
115 public com.liferay.portlet.polls.model.PollsChoice addChoice(
116 long questionId, java.lang.String name, java.lang.String description,
117 com.liferay.portal.service.ServiceContext serviceContext)
118 throws com.liferay.portal.kernel.exception.PortalException,
119 com.liferay.portal.kernel.exception.SystemException {
120 return _pollsChoiceLocalService.addChoice(questionId, name,
121 description, serviceContext);
122 }
123
124 public com.liferay.portlet.polls.model.PollsChoice getChoice(long choiceId)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 return _pollsChoiceLocalService.getChoice(choiceId);
128 }
129
130 public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices(
131 long questionId)
132 throws com.liferay.portal.kernel.exception.SystemException {
133 return _pollsChoiceLocalService.getChoices(questionId);
134 }
135
136 public int getChoicesCount(long questionId)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _pollsChoiceLocalService.getChoicesCount(questionId);
139 }
140
141 public com.liferay.portlet.polls.model.PollsChoice updateChoice(
142 long choiceId, long questionId, java.lang.String name,
143 java.lang.String description)
144 throws com.liferay.portal.kernel.exception.PortalException,
145 com.liferay.portal.kernel.exception.SystemException {
146 return _pollsChoiceLocalService.updateChoice(choiceId, questionId,
147 name, description);
148 }
149
150 public PollsChoiceLocalService getWrappedPollsChoiceLocalService() {
151 return _pollsChoiceLocalService;
152 }
153
154 private PollsChoiceLocalService _pollsChoiceLocalService;
155 }