this.recorder.recordChannelDefinitionRemoved(portalEvent
.getPerson(), portalEvent.getChannelDefinition());
} else if (eventClass.equals(UserLoggedOutPortalEvent.class)) {
this.recorder.recordLogout(event.getPerson());
} else if (eventClass.equals(UserAddedFolderToLayoutPortalEvent.class)) {
final LayoutPortalEvent portalEvent = (LayoutPortalEvent) event;
this.recorder.recordFolderAddedToLayout(portalEvent.getPerson(),
portalEvent.getProfile(), portalEvent.getFolder());
} else if (eventClass.equals(UserLoggedInPortalEvent.class)) {
this.recorder.recordLogin(event.getPerson());
} else if (eventClass.equals(UserMovedFolderInLayoutPortalEvent.class)) {
final LayoutPortalEvent portalEvent = (LayoutPortalEvent) event;
this.recorder.recordFolderMovedInLayout(portalEvent.getPerson(),
portalEvent.getProfile(), portalEvent.getFolder());
} else if (eventClass
.equals(UserRemovedFolderFromLayoutPortalEvent.class)) {
final LayoutPortalEvent portalEvent = (LayoutPortalEvent) event;
this.recorder.recordFolderRemovedFromLayout(
portalEvent.getPerson(), portalEvent.getProfile(),
portalEvent.getFolder());
} else if (eventClass.equals(UserSessionCreatedPortalEvent.class)) {
this.recorder.recordSessionCreated(event.getPerson());
} else if (eventClass.equals(UserSessionDestroyedPortalEvent.class)) {
this.recorder.recordSessionDestroyed(event.getPerson());
} else if (eventClass
.equals(UserUpdatedFolderInLayoutPortalEvent.class)) {
final LayoutPortalEvent portalEvent = (LayoutPortalEvent) event;
this.recorder.recordFolderUpdatedInLayout(portalEvent.getPerson(),
portalEvent.getProfile(), portalEvent.getFolder());
}
}