public class NewSurveyEvent extends AdminEvent
Event.NonVetoable
Constructor and Description |
---|
NewSurveyEvent(IEventListener source)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
int |
getCreationType()
Sets the creation type attribute.
|
long |
getSurveyId()
Gets the surveyId attribute of the NewSurveyEvent object
|
java.lang.String |
getSurveyName() |
boolean |
isQuestionLibrary() |
void |
setCreationType(int creationType)
Sets the creation type attribute.
|
void |
setQuestionLibrary(boolean isQuestionLibrary) |
void |
setSurveyId(long surveyId)
Sets the surveyId attribute of the NewSurveyEvent object
|
void |
setSurveyName(java.lang.String surveyName) |
getLogin, getUserId, setLogin, setUserId
public NewSurveyEvent(IEventListener source)
source
- The event sourcepublic void setSurveyId(long surveyId)
surveyId
- The new surveyId valuepublic long getSurveyId()
public java.lang.String getSurveyName()
public void setSurveyName(java.lang.String surveyName)
surveyName
- the surveyName to setpublic void setCreationType(int creationType)
creationType
- public int getCreationType()
public boolean isQuestionLibrary()
public void setQuestionLibrary(boolean isQuestionLibrary)
isQuestionLibrary
- set to true, if the survey is a library.Built on April 12 2018