@Deprecated
    public FormValidation doViewExistsCheck(@QueryParameter String value) {
        checkPermission(View.CREATE);

        String view = fixEmpty(value);
        if(view==null) return FormValidation.ok();

        if(getView(view)==null)
            return FormValidation.ok();
        else
            return FormValidation.error(Messages.Hudson_ViewAlreadyExists(view));
    }
@ Deprecated public FormValidation doViewExistsCheck ( @ QueryParameter String value ) { checkPermission ( View . CREATE ) ; String view = fixEmpty ( value ) ; if ( view == null ) return FormValidation . ok ( ) ; if ( getView ( view ) == null ) return FormValidation . ok ( ) ; else return FormValidation . error ( Messages . Hudson_ViewAlreadyExists ( view ) ) ; }
Checks if a top-level view with the given name exists.
@deprecated 1.512