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