public synchronized IntegerList getDomainIds(final IdentifierList inputDomain) { final IntegerList ids = new IntegerList(); if (inputDomain == null) { return ids; } if (HelperCOM.domainContainsWildcard(inputDomain)) { for (Map.Entry<IdentifierList, Integer> entry : this.fastID.entrySet()) { try { if (HelperCOM.domainMatchesWildcardDomain(entry.getKey(), inputDomain)) { // Does the domain matches the wildcard? ids.add(entry.getValue()); } } catch (Exception ex) { Logger.getLogger(FastDomain.class.getName()).log(Level.SEVERE, null, ex); } } } else { final Integer id = this.fastID.get(inputDomain); if (id == null) { ids.add(this.addNewDomain(inputDomain)); } else { ids.add(id); } } return ids; }
|| HelperCOM.domainContainsWildcard(lArchiveQueryList.get(index).getDomain())) { // Any wilcards? if so, then send the updates separately
if (HelperCOM.domainContainsWildcard(inDomain)) { // requirement: 3.4.3.2.4
if (HelperCOM.domainContainsWildcard(lIdentifierList)) { // requirement: 3.4.8.2.2 throw new MALInteractionException(new MALStandardError(COMHelper.INVALID_ERROR_NUMBER, null)); // requirement: 3.4.8.2.3
|| HelperCOM.domainContainsWildcard(domain)) { // requirement: 3.4.7.2.8 (first part) throw new MALInteractionException(new MALStandardError(COMHelper.INVALID_ERROR_NUMBER, null));
if (HelperCOM.domainContainsWildcard(domain)) { // requirement: 3.4.6.2.10 throw new MALInteractionException(new MALStandardError(COMHelper.INVALID_ERROR_NUMBER, null));