com.objectplanet.survey.event.events
Class InviteeImportEvent

java.lang.Object
  extended by com.objectplanet.survey.event.Event
      extended by com.objectplanet.survey.event.events.AdminEvent
          extended by com.objectplanet.survey.event.events.InviteeImportEvent

public class InviteeImportEvent
extends AdminEvent

Represents an event that is fired when invitee import thread has change it's status. Status constants are defined in this class.

Author:
Irina Brun

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Field Summary
static int STATUS_COMPLETED
           
static int STATUS_ERROR
           
static int STATUS_STARTED
           
 
Constructor Summary
InviteeImportEvent(long invitationId, long importIdentifier, IEventListener source)
          Creates a new event.
 
Method Summary
 long getImportIdentifier()
           
 long getInvitationId()
           
 int getStatus()
           
 long getSurveyId()
           
 void setStatus(int status)
           
 void setSurveyId(long surveyId)
           
 
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
 

Field Detail

STATUS_STARTED

public static final int STATUS_STARTED
See Also:
Constant Field Values

STATUS_ERROR

public static final int STATUS_ERROR
See Also:
Constant Field Values

STATUS_COMPLETED

public static final int STATUS_COMPLETED
See Also:
Constant Field Values
Constructor Detail

InviteeImportEvent

public InviteeImportEvent(long invitationId,
                          long importIdentifier,
                          IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

getInvitationId

public long getInvitationId()

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

getImportIdentifier

public long getImportIdentifier()

getSurveyId

public long getSurveyId()

setSurveyId

public void setSurveyId(long surveyId)

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016