com.objectplanet.survey.event.events
Class AdminEvent

java.lang.Object
  extended by com.objectplanet.survey.event.Event
      extended by com.objectplanet.survey.event.events.AdminEvent
Direct Known Subclasses:
BranchDeletedEvent, ImportedSurveyEvent, InvitationSentManuallyEvent, InvitationTaskCompletedEvent, InviteeImportEvent, LicensesSavedEvent, LoadSurveyEvent, NewBranchEvent, NewQuestionEvent, NewReportEvent, NewSignupSurveyEvent, NewSurveyEvent, NewSurveyFolderEvent, NewTranslatedSurveyEvent, NewUserEvent, NewUserPermissionEvent, PanelistDeletedEvent, PostDeletePanelistsEvent, PostDeleteRespondentsEvent, PreDeleteInvitationEvent, PreDeleteRespondentsEvent, PreDeleteSignupSurveyEvent, PreInvitationTaskEvent, PreInviteeDeleteAllEvent, PreInviteeDeleteEvent, PreSendCustomInvitationMessageEvent, PreSurveyDeleteEvent, PreSurveyFolderDeleteEvent, PreUserDeleteEvent, QuestionDeletedEvent, QuestionMovedEvent, QuestionUpdatedEvent, ReportDeletedEvent, RespondentDeletedEvent, RespondentReopenedEvent, RespondentsExportedEvent, SurveyBehaviorUpdatedEvent, SurveyDeletedEvent, SurveyFolderDeletedEvent, SurveyFolderUpdatedEvent, SurveyUpdatedEvent, SystemInfoSavedEvent, TranslatedSurveyDeletedEvent, UpgradeFailedEvent, UserDeletedEvent, UserLoginEvent, UserLogoutEvent, UserUpdateEvent

public class AdminEvent
extends Event

Represents an event that is fired when an admin operation was performed.

Author:
Torgeir Lund
Created:
16 November 2005

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
AdminEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 java.lang.String getLogin()
           
 long getUserId()
          Gets the userId of the user who performed this action.
 void setLogin(java.lang.String login)
           
 void setUserId(long userId)
          Sets the userId of the user who performed this action.
 
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

AdminEvent

public AdminEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

setUserId

public void setUserId(long userId)
Sets the userId of the user who performed this action.

Parameters:
user - The new userId value

getUserId

public long getUserId()
Gets the userId of the user who performed this action.

Returns:
The userId value

getLogin

public java.lang.String getLogin()
Returns:
the login

setLogin

public void setLogin(java.lang.String login)
Parameters:
login - the login to set

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016