public static boolean isResourceTypeIdFree ( int id ) { try { OpenCms . getResourceManager ( ) . getResourceType ( id ) ; } catch ( CmsLoaderException e ) { return true ; } return false ; }
Is the given resource type id free?