// Set the state of this document to be fetched
attachDoc.replaceItemValue(NCCONST.ITM_ACTION, ActionType.ADD.toString());
attachDoc.replaceItemValue(NCCONST.NCITM_STATE, NCCONST.STATEFETCHED);
attachDoc.save();
attachDoc.recycle();
LOGGER.exiting(CLASS_NAME, METHOD);
return attachNameHash;
} catch (Exception e) {
LOGGER.logp(Level.SEVERE, CLASS_NAME, METHOD,
"Error pre-fetching attachment: " + AttachmentName +