@Override
    public String getDefaultContentDisposition(Property binaryProperty) throws RepositoryException {
        Node parentNode = getParentNode(binaryProperty);
        String parentName = parentNode.getName();
        if (StringUtil.isBlank(parentName)) {
            parentName = "binary";
        }
        return DEFAULT_CONTENT_DISPOSITION_PREFIX + parentName;
    }
@ Override public String getDefaultContentDisposition ( Property binaryProperty ) throws RepositoryException { Node parentNode = getParentNode ( binaryProperty ) ; String parentName = parentNode . getName ( ) ; if ( StringUtil . isBlank ( parentName ) ) { parentName = "binary" ; } return DEFAULT_CONTENT_DISPOSITION_PREFIX + parentName ; }
Returns a default Content-Disposition {@link String} for a given binary property.

@param binaryProperty a non-null {@link javax.jcr.Property}
@return a non-null String which represents a valid Content-Disposition.
@throws javax.jcr.RepositoryException if any JCR related operation involving the binary property fail.