com.liferay.portlet.polls.service.impl
Class PollsQuestionServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portlet.polls.service.impl.PollsQuestionServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.polls.service.PollsQuestionService
- public class PollsQuestionServiceImpl
- extends PrincipalBean
- implements com.liferay.portlet.polls.service.PollsQuestionService
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portlet.polls.model.PollsQuestion |
addQuestion(long plid,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List choices,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.polls.model.PollsQuestion |
addQuestion(long plid,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List choices,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteQuestion(long questionId)
|
com.liferay.portlet.polls.model.PollsQuestion |
getQuestion(long questionId)
|
com.liferay.portlet.polls.model.PollsQuestion |
updateQuestion(long questionId,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List choices)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsQuestionServiceImpl
public PollsQuestionServiceImpl()
addQuestion
public com.liferay.portlet.polls.model.PollsQuestion addQuestion(long plid,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List choices,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addQuestion
in interface com.liferay.portlet.polls.service.PollsQuestionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addQuestion
public com.liferay.portlet.polls.model.PollsQuestion addQuestion(long plid,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List choices,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addQuestion
in interface com.liferay.portlet.polls.service.PollsQuestionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteQuestion
public void deleteQuestion(long questionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteQuestion
in interface com.liferay.portlet.polls.service.PollsQuestionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getQuestion
public com.liferay.portlet.polls.model.PollsQuestion getQuestion(long questionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getQuestion
in interface com.liferay.portlet.polls.service.PollsQuestionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateQuestion
public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(long questionId,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List choices)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateQuestion
in interface com.liferay.portlet.polls.service.PollsQuestionService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException