*/
public File uploadNewVersionCommunityFile(InputStream iStream, String fileId, String title,
String communityId, Map<String, String> params)
throws ClientServicesException {
if (StringUtil.isEmpty(fileId)) {
throw new ClientServicesException(null, Messages.Invalid_FileId);
}
if (iStream == null) {
throw new ClientServicesException(null, Messages.Invalid_Stream);
}
if (title == null) {
throw new ClientServicesException(null, Messages.Invalid_Name);
}
String accessType = AccessType.AUTHENTICATED.getText();
String requestUri = FileUrls.UPLOAD_NEW_VERSION_COMMUNITY_FILE.format(this,
FileUrlParts.accessType.get(accessType), FileUrlParts.communityId.get(communityId),
FileUrlParts.fileId.get(fileId));