Revision 8200
Added by ben leinfelder over 10 years ago
SystemMetadataFactory.java | ||
---|---|---|
613 | 613 |
*/ |
614 | 614 |
public static boolean oreExistsFor(Identifier identifier) { |
615 | 615 |
MockHttpServletRequest request = new MockHttpServletRequest(null, null, null); |
616 |
List<Identifier> ids = MNodeService.getInstance(request).lookupOreFor(identifier); |
|
616 |
List<Identifier> ids = MNodeService.getInstance(request).lookupOreFor(identifier, true);
|
|
617 | 617 |
return (ids != null && ids.size() > 0); |
618 | 618 |
} |
619 | 619 |
|
Also available in: Unified diff
only attempt to generate OREs for objects that we know not to have them already. https://projects.ecoinformatics.org/ecoinfo/issues/6061