if (oids == null || oids.length < 1)
return;
String transformationId = transformation.getID().toString();
for (NumericOid oid : oids) {
LdapSearchParameters searchParameters = ldapStructure.getSearchParameters(oid);
if (searchParameters == null)
continue;
// The class name and the path have to be non-empty strings.
// For now we allow the filter itself to be an empty string.
String className = searchParameters.getClassName();
if (className == null || className.length() < 1)
continue;
String path = searchParameters.getBaseDN();
if (path == null)
continue;
String filter = searchParameters.getFilter();
if (filter == null)
filter = "";
int scope = searchParameters.getScope().getApiCode();
String[] fields = new String[6];
fields[0] = transformationId;
fields[1] = className;
fields[2] = path;