if (tmpHomeID == null || tmpHomeID.trim().length() == 0) { throw new XDSException(XDSException.XDS_ERR_MISSING_HOME_COMMUNITY_ID, "Missing HomeCommunityID for doc.uniqueID "+tmpReq.getDocumentUniqueId(), null);
for ( DocumentRequest docReq : req.getDocumentRequest() ) { reqRepoUid = docReq.getRepositoryUniqueId(); docUid = docReq.getDocumentUniqueId(); if (reqRepoUid == null || docUid == null || reqRepoUid.trim().length() == 0 || docUid.trim().length() == 0) { mainErrors.add(XDSUtil.getRegistryError(XDSException.XDS_ERR_SEVERITY_ERROR, XDSException.XDS_ERR_REPOSITORY_ERROR,
for ( DocumentRequest docReq : req.getDocumentRequest() ) { reqRepoUid = docReq.getRepositoryUniqueId(); docUid = docReq.getDocumentUniqueId(); if ( reqRepoUid.equals(repositoryUID)) { doc = retrieveDocument(docUid);