@ SuppressWarnings ( "unchecked" ) public < T extends IEntity > T upload ( T entity , InputStream docContent ) throws FMSException { IntuitMessage intuitMessage = prepareUpload ( entity , docContent ) ; //execute interceptors executeInterceptors ( intuitMessage ) ; return ( T ) getReturnEntity ( intuitMessage ) ; }
Method to upload the given document content for the corresponding entity