com.liferay.portlet.polls.service
Interface PollsQuestionLocalService
- public interface PollsQuestionLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.polls.service.impl.PollsQuestionLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsQuestionLocalServiceFactory
,
PollsQuestionLocalServiceUtil
Method Summary |
PollsQuestion |
addPollsQuestion(PollsQuestion model)
|
PollsQuestion |
addQuestion(long userId,
long plid,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
PollsQuestion |
addQuestion(long userId,
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)
|
PollsQuestion |
addQuestion(long userId,
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)
|
PollsQuestion |
addQuestion(java.lang.String uuid,
long userId,
long plid,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
PollsQuestion |
addQuestion(java.lang.String uuid,
long userId,
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.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addQuestionResources(long questionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addQuestionResources(long questionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addQuestionResources(PollsQuestion question,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addQuestionResources(PollsQuestion question,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
afterPropertiesSet()
|
void |
deleteQuestion(long questionId)
|
void |
deleteQuestion(PollsQuestion question)
|
void |
deleteQuestions(long groupId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
PollsChoiceFinder |
getPollsChoiceFinder()
|
PollsChoicePersistence |
getPollsChoicePersistence()
|
PollsQuestionPersistence |
getPollsQuestionPersistence()
|
PollsVotePersistence |
getPollsVotePersistence()
|
PollsQuestion |
getQuestion(long questionId)
|
java.util.List |
getQuestions(long groupId)
|
java.util.List |
getQuestions(long groupId,
int begin,
int end)
|
int |
getQuestionsCount(long groupId)
|
ResourceFinder |
getResourceFinder()
|
ResourcePersistence |
getResourcePersistence()
|
UserFinder |
getUserFinder()
|
UserPersistence |
getUserPersistence()
|
void |
setPollsChoiceFinder(PollsChoiceFinder pollsChoiceFinder)
|
void |
setPollsChoicePersistence(PollsChoicePersistence pollsChoicePersistence)
|
void |
setPollsQuestionPersistence(PollsQuestionPersistence pollsQuestionPersistence)
|
void |
setPollsVotePersistence(PollsVotePersistence pollsVotePersistence)
|
void |
setResourceFinder(ResourceFinder resourceFinder)
|
void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
void |
setUserFinder(UserFinder userFinder)
|
void |
setUserPersistence(UserPersistence userPersistence)
|
PollsQuestion |
updatePollsQuestion(PollsQuestion model)
|
PollsQuestion |
updateQuestion(long userId,
long questionId,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire)
|
PollsQuestion |
updateQuestion(long userId,
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)
|
addPollsQuestion
public PollsQuestion addPollsQuestion(PollsQuestion model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updatePollsQuestion
public PollsQuestion updatePollsQuestion(PollsQuestion model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPollsChoicePersistence
public PollsChoicePersistence getPollsChoicePersistence()
setPollsChoicePersistence
public void setPollsChoicePersistence(PollsChoicePersistence pollsChoicePersistence)
getPollsChoiceFinder
public PollsChoiceFinder getPollsChoiceFinder()
setPollsChoiceFinder
public void setPollsChoiceFinder(PollsChoiceFinder pollsChoiceFinder)
getPollsQuestionPersistence
public PollsQuestionPersistence getPollsQuestionPersistence()
setPollsQuestionPersistence
public void setPollsQuestionPersistence(PollsQuestionPersistence pollsQuestionPersistence)
getPollsVotePersistence
public PollsVotePersistence getPollsVotePersistence()
setPollsVotePersistence
public void setPollsVotePersistence(PollsVotePersistence pollsVotePersistence)
getResourcePersistence
public ResourcePersistence getResourcePersistence()
setResourcePersistence
public void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public ResourceFinder getResourceFinder()
setResourceFinder
public void setResourceFinder(ResourceFinder resourceFinder)
getUserPersistence
public UserPersistence getUserPersistence()
setUserPersistence
public void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public UserFinder getUserFinder()
setUserFinder
public void setUserFinder(UserFinder userFinder)
afterPropertiesSet
public void afterPropertiesSet()
addQuestion
public PollsQuestion addQuestion(long userId,
long plid,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addQuestion
public PollsQuestion addQuestion(java.lang.String uuid,
long userId,
long plid,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addQuestion
public PollsQuestion addQuestion(long userId,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addQuestion
public PollsQuestion addQuestion(long userId,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addQuestion
public PollsQuestion addQuestion(java.lang.String uuid,
long userId,
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.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addQuestionResources
public void addQuestionResources(long questionId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addQuestionResources
public void addQuestionResources(PollsQuestion question,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addQuestionResources
public void addQuestionResources(long questionId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addQuestionResources
public void addQuestionResources(PollsQuestion question,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteQuestion
public void deleteQuestion(long questionId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteQuestion
public void deleteQuestion(PollsQuestion question)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteQuestions
public void deleteQuestions(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getQuestion
public PollsQuestion getQuestion(long questionId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getQuestions
public java.util.List getQuestions(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getQuestions
public java.util.List getQuestions(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getQuestionsCount
public int getQuestionsCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateQuestion
public PollsQuestion updateQuestion(long userId,
long questionId,
java.lang.String title,
java.lang.String description,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateQuestion
public PollsQuestion updateQuestion(long userId,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException