public class PollsQuestionLocalServiceImpl extends PollsQuestionLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, pollsChoiceLocalService, pollsChoicePersistence, pollsQuestionFinder, pollsQuestionLocalService, pollsQuestionPersistence, pollsVoteLocalService, pollsVotePersistence, resourceLocalService, systemEventLocalService, systemEventPersistence, userLocalService, userPersistence| Constructor and Description |
|---|
PollsQuestionLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.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.polls.model.PollsChoice> choices,
com.liferay.portal.kernel.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.polls.model.PollsQuestion question,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addQuestionResources(com.liferay.polls.model.PollsQuestion question,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
deleteQuestion(long questionId) |
void |
deleteQuestion(com.liferay.polls.model.PollsQuestion question) |
void |
deleteQuestions(long groupId) |
com.liferay.polls.model.PollsQuestion |
getQuestion(long questionId) |
java.util.List<com.liferay.polls.model.PollsQuestion> |
getQuestions(long groupId) |
java.util.List<com.liferay.polls.model.PollsQuestion> |
getQuestions(long groupId,
int start,
int end) |
int |
getQuestionsCount(long groupId) |
java.util.List<com.liferay.polls.model.PollsQuestion> |
search(long companyId,
long[] groupIds,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.polls.model.PollsQuestion> orderByComparator) |
java.util.List<com.liferay.polls.model.PollsQuestion> |
search(long companyId,
long[] groupIds,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.polls.model.PollsQuestion> orderByComparator) |
int |
searchCount(long companyId,
long[] groupIds,
java.lang.String keywords) |
int |
searchCount(long companyId,
long[] groupIds,
java.lang.String title,
java.lang.String description,
boolean andOperator) |
com.liferay.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.polls.model.PollsChoice> choices,
com.liferay.portal.kernel.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.polls.model.PollsChoice> choices,
java.util.Date expirationDate) |
addPollsQuestion, afterPropertiesSet, createPollsQuestion, deletePersistedModel, deletePollsQuestion, deletePollsQuestion, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchPollsQuestion, fetchPollsQuestionByUuidAndGroupId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPollsChoiceLocalService, getPollsChoicePersistence, getPollsQuestion, getPollsQuestionByUuidAndGroupId, getPollsQuestionFinder, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestions, getPollsQuestionsByUuidAndCompanyId, getPollsQuestionsByUuidAndCompanyId, getPollsQuestionsCount, getPollsVoteLocalService, getPollsVotePersistence, getResourceLocalService, getSystemEventLocalService, getSystemEventPersistence, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setPollsChoiceLocalService, setPollsChoicePersistence, setPollsQuestionFinder, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsVoteLocalService, setPollsVotePersistence, setResourceLocalService, setSystemEventLocalService, setSystemEventPersistence, setUserLocalService, setUserPersistence, updatePollsQuestionpublic com.liferay.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.polls.model.PollsChoice> choices,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addQuestionResources(long questionId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addQuestionResources(long questionId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addQuestionResources(com.liferay.polls.model.PollsQuestion question,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addQuestionResources(com.liferay.polls.model.PollsQuestion question,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteQuestion(long questionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@SystemEvent(action=1,
type=1)
public void deleteQuestion(com.liferay.polls.model.PollsQuestion question)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteQuestions(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.polls.model.PollsQuestion getQuestion(long questionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.polls.model.PollsQuestion> getQuestions(long groupId)
public java.util.List<com.liferay.polls.model.PollsQuestion> getQuestions(long groupId,
int start,
int end)
public int getQuestionsCount(long groupId)
public java.util.List<com.liferay.polls.model.PollsQuestion> search(long companyId,
long[] groupIds,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.polls.model.PollsQuestion> orderByComparator)
public java.util.List<com.liferay.polls.model.PollsQuestion> search(long companyId,
long[] groupIds,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.polls.model.PollsQuestion> orderByComparator)
public int searchCount(long companyId,
long[] groupIds,
java.lang.String keywords)
public int searchCount(long companyId,
long[] groupIds,
java.lang.String title,
java.lang.String description,
boolean andOperator)
public com.liferay.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.polls.model.PollsChoice> choices,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected 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.polls.model.PollsChoice> choices,
java.util.Date expirationDate)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException