public class PollsQuestionLocalServiceImpl extends PollsQuestionLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, pollsChoiceLocalService, pollsChoicePersistence, pollsChoiceService, pollsQuestionLocalService, pollsQuestionPersistence, pollsQuestionService, pollsVoteLocalService, pollsVotePersistence, pollsVoteService, resourceLocalService, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService| Constructor and Description |
|---|
PollsQuestionLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.polls.model.PollsQuestion |
addQuestion(long userId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
addQuestionResources(long questionId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addQuestionResources(long questionId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addQuestionResources(com.liferay.portlet.polls.model.PollsQuestion question,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addQuestionResources(com.liferay.portlet.polls.model.PollsQuestion question,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
deleteQuestion(long questionId) |
void |
deleteQuestion(com.liferay.portlet.polls.model.PollsQuestion question) |
void |
deleteQuestions(long groupId) |
com.liferay.portlet.polls.model.PollsQuestion |
getQuestion(long questionId) |
java.util.List<com.liferay.portlet.polls.model.PollsQuestion> |
getQuestions(long groupId) |
java.util.List<com.liferay.portlet.polls.model.PollsQuestion> |
getQuestions(long groupId,
int start,
int end) |
int |
getQuestionsCount(long groupId) |
com.liferay.portlet.polls.model.PollsQuestion |
updateQuestion(long userId,
long questionId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
validate(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices) |
addPollsQuestion, afterPropertiesSet, createPollsQuestion, deletePollsQuestion, deletePollsQuestion, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchPollsQuestion, fetchPollsQuestionByUuidAndCompanyId, fetchPollsQuestionByUuidAndGroupId, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsChoiceService, getPollsQuestion, getPollsQuestionByUuidAndCompanyId, getPollsQuestionByUuidAndGroupId, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestions, getPollsQuestionsCount, getPollsQuestionService, getPollsVoteLocalService, getPollsVotePersistence, getPollsVoteService, getResourceLocalService, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsChoiceService, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsQuestionService, setPollsVoteLocalService, setPollsVotePersistence, setPollsVoteService, setResourceLocalService, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updatePollsQuestionpublic com.liferay.portlet.polls.model.PollsQuestion addQuestion(long userId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addQuestionResources(long questionId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addQuestionResources(long questionId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addQuestionResources(com.liferay.portlet.polls.model.PollsQuestion question,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addQuestionResources(com.liferay.portlet.polls.model.PollsQuestion question,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteQuestion(long questionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@SystemEvent(action=1,
type=1)
public void deleteQuestion(com.liferay.portlet.polls.model.PollsQuestion question)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteQuestions(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.polls.model.PollsQuestion getQuestion(long questionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getQuestionsCount(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.polls.model.PollsQuestion updateQuestion(long userId,
long questionId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void validate(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException