private ChangeLog getChangeLog( DN changelogDN ) throws Exception
{
long id = configPartition.getEntryId( changelogDN.getNormName() );
Entry clEntry = configPartition.lookup( id );
ChangeLog cl = new DefaultChangeLog();
EntryAttribute clEnabledAttr = clEntry.get( "ads-changeLogEnabled" );
if ( clEnabledAttr != null )
{
cl.setEnabled( Boolean.parseBoolean( clEnabledAttr.getString() ) );
}
EntryAttribute clExpAttr = clEntry.get( "ads-changeLogExposed" );
if ( clExpAttr != null )
{
cl.setExposed( Boolean.parseBoolean( clExpAttr.getString() ) );
}
return cl;
}