com.objectplanet.survey.event.events
Class InviteeImportEvent

java.lang.Object
  extended bycom.objectplanet.survey.event.Event
      extended bycom.objectplanet.survey.event.events.AdminEvent
          extended bycom.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 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()
           
 void setStatus(int status)
           
 
Methods inherited from class com.objectplanet.survey.event.events.AdminEvent
getUserId, 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()

Copyright © ObjectPlanet Inc. All Rights Reserved.

Built on January 31 2008