public boolean restoreMsWordListFormatForUser(String userId,InputStreamReader streamReader,boolean isAdmin,Errors errors){
  boolean result=reallyRestoreMsWordListFormatForUser(userId,streamReader,isAdmin,errors);
  if (!result) {
    rollback();
  }
 else {
    commit();
  }
  return result;
}

public boolean restoreMsWordListFormatForUser ( String userId , InputStreamReader streamReader , boolean isAdmin , Errors errors ) { boolean result = reallyRestoreMsWordListFormatForUser ( userId , streamReader , isAdmin , errors ) ; if ( ! result ) { rollback ( ) ; } else { commit ( ) ; } return result ; }
api method . this method starts its own transactions . restores a file of notes and creates a notebook for those notes .
