com.objectplanet.survey.event.events
Class InvitationSentManuallyEvent

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.InvitationSentManuallyEvent

public class InvitationSentManuallyEvent
extends AdminEvent

Represents an event that is fired when an invitation is sent manually. The event is only triggered when the invitation is sent manually, not on reminders.

Author:
Eivind Pedersen
Created:
May 7, 2013

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
InvitationSentManuallyEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getInvitationId()
          Gets the invitationId attribute of the InvitationSentManuallyEvent object
 long[] getInvitees()
          Gets the previously pending invitees that the invitation was sent to.
 long getSurveyId()
          Gets the surveyId attribute of the InvitationSentManuallyEvent object
 void setInvitationId(long invitationId)
          Sets the invitationId attribute of the InvitationSentManuallyEvent object
 void setInvitees(long[] invitees)
          Sets the invitees that the invitation has been sent to.
 void setSurveyId(long surveyId)
          Sets the surveyId attribute of the InvitationSentManuallyEvent object
 
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

InvitationSentManuallyEvent

public InvitationSentManuallyEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

setSurveyId

public void setSurveyId(long surveyId)
Sets the surveyId attribute of the InvitationSentManuallyEvent object

Parameters:
surveyId - The new surveyId value

getSurveyId

public long getSurveyId()
Gets the surveyId attribute of the InvitationSentManuallyEvent object

Returns:
The surveyId value

getInvitationId

public long getInvitationId()
Gets the invitationId attribute of the InvitationSentManuallyEvent object

Returns:
The invitationId value

getInvitees

public long[] getInvitees()
Gets the previously pending invitees that the invitation was sent to.

Returns:
An array holding the previously pending invitee ids that the invitation was sent to.

setInvitationId

public void setInvitationId(long invitationId)
Sets the invitationId attribute of the InvitationSentManuallyEvent object

Parameters:
invitationId - The new invitationId value

setInvitees

public void setInvitees(long[] invitees)
Sets the invitees that the invitation has been sent to.

Parameters:
invitees - An array holding the invitee ids.

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016