public DesignDocument getFromDb ( String id ) { assertNotEmpty ( id , "id" ) ; final URI uri = buildUri ( dbc . getDBUri ( ) ) . path ( id ) . build ( ) ; return dbc . get ( uri , DesignDocument . class ) ; }
Gets a design document from the database .