/** * Gets all addresses in the collection that are not trusted. * @return All addresses in the collection that are not trusted. */ public Collection<NHINDAddress> getUntrusted() { return this.getUntrusted(NHINDAddressCollection.DefaultMinTrustStatus); }
/** * Categorizes recipients as either trusted or untrusted (rejected). * @param minTrustStatus The minimum level of trust a recipient must have in order to be considered trusted. */ protected void categorizeRecipients(TrustEnforcementStatus minTrustStatus) { rejectedRecipients = NHINDAddressCollection.create(getRecipients().getUntrusted(minTrustStatus)); getRecipients().removeUntrusted(minTrustStatus); } }