if ( activitiesById.keySet().contains( id ) ) {
throw new RuntimeException( "Conflict detected. Activity Id already exists. " + activityBean.getBeanClass().toString() );
}
activitiesById.put( id, activityBean );
newPerspectiveEventEvent.fire( new NewPerspectiveEvent( id ) );
}