if ( ( changeLogBean == null ) || changeLogBean.isDisabled() )
{
return null;
}
ChangeLog changeLog = new DefaultChangeLog();
changeLog.setEnabled( changeLogBean.isEnabled() );
changeLog.setExposed( changeLogBean.isChangeLogExposed() );
return changeLog;
}