@Deprecated
    public Attachment attachNewVersion (long attachmentId, InputStream inputStream, String contentType, long contentLength, String attachmentName)
    {
        throw new UnsupportedOperationException();
    }
@ Deprecated public Attachment attachNewVersion ( long attachmentId , InputStream inputStream , String contentType , long contentLength , String attachmentName ) { throw new UnsupportedOperationException ( ) ; }
@deprecated As of release 2.0
@return the attachment