Item result = null;
if (unique && hasItem(name)) {
// TODO RPr This function is not yet 100% mime compatible
// Once mime compatible, remove the reference in org.openntf.domino.ext.Document Javadoc
result = getFirstItem(name);
if (result.containsValue(value)) { // this does not work when it is not dominoFriendly
return result;
}
}
try {
if (!hasItem(name)) {