public static boolean isTopicANormalTopic ( final BaseTopicWrapper < ? > topic , final ServerSettingsWrapper serverSettings ) { return ! ( topic . hasTag ( serverSettings . getEntities ( ) . getRevisionHistoryTagId ( ) ) || topic . hasTag ( serverSettings . getEntities ( ) . getLegalNoticeTagId ( ) ) || topic . hasTag ( serverSettings . getEntities ( ) . getAuthorGroupTagId ( ) ) || topic . hasTag ( serverSettings . getEntities ( ) . getInfoTagId ( ) ) || topic . hasTag ( serverSettings . getEntities ( ) . getAbstractTagId ( ) ) ) ; }
Check to see if a Topic is a normal topic instead of a Revision History or Legal Notice