/** * Creates an instance using a bundle of identifiers. * * @param securityBundle the security bundle to search for, not null */ public SecuritySearchRequest(ExternalIdBundle securityBundle) { addExternalIds(securityBundle); }
/** * Adds a single security external identifier to the collection to search for. Unless customized, * the search will match {@link ExternalIdSearchType#ANY any} of the identifiers. * * @param securityId the security key identifier to add, not null */ public void addExternalId(ExternalId securityId) { ArgumentChecker.notNull(securityId, "securityId"); addExternalIds(Arrays.asList(securityId)); }