String accessType = AccessType.AUTHENTICATED.getText();
String requestUri = FileUrls.COLLECTION_ENTRY.format(this, FileUrlParts.accessType.get(accessType));
Map<String, String> headers = new HashMap<String, String>();
headers.put(Headers.ContentType, Headers.ATOM);
String payload = new FlagSerializer(objectId, flagReason, flagWhat).flagPayload();
updateData(requestUri, null, headers, payload, objectId);
}