com.objectplanet.survey.event.events
Class PreSendCustomInvitationMessageEvent

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

public class PreSendCustomInvitationMessageEvent
extends AdminEvent

Represents an event that is fired before "custom" invitation messages are sent manually. Custom type means different type than the normal invitation, reminder or manual reminder message. For instance, it is used when selecting invitees in the manage invitees screen, and select to resend reminders.

Author:
Torgeir Lund
Created:
Apr 25, 2014

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
PreSendCustomInvitationMessageEvent(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

PreSendCustomInvitationMessageEvent

public PreSendCustomInvitationMessageEvent(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