|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objectplanet.survey.event.Event
com.objectplanet.survey.event.events.AdminEvent
com.objectplanet.survey.event.events.NewSurveyEvent
public class NewSurveyEvent
Represents an event that is fired when a new Survey is created.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event |
|---|
Event.NonVetoable |
| Constructor Summary | |
|---|---|
NewSurveyEvent(IEventListener source)
Creates a new event. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.objectplanet.survey.event.events.AdminEvent |
|---|
getLogin, getUserId, setLogin, setUserId |
| Methods inherited from class com.objectplanet.survey.event.Event |
|---|
getSource, isVetoed, paramString, toString, veto |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NewSurveyEvent(IEventListener source)
source - The event source| Method Detail |
|---|
public 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.
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||