| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013-2014 ForgeRock AS |
| | | * Portions Copyright 2013-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.backends.task; |
| | | |
| | |
| | | try |
| | | { |
| | | Entry e = t.getTaskEntry().duplicate(true); |
| | | if (filter.matchesEntry(e)) |
| | | if (filter.matchesEntry(e) && !searchOperation.returnEntry(e, null)) |
| | | { |
| | | if (! searchOperation.returnEntry(e, null)) |
| | | { |
| | | return false; |
| | | } |
| | | return false; |
| | | } |
| | | } |
| | | finally |
| | |
| | | try |
| | | { |
| | | Entry e = rt.getRecurringTaskEntry().duplicate(true); |
| | | if (filter.matchesEntry(e)) |
| | | if (filter.matchesEntry(e) && ! searchOperation.returnEntry(e, null)) |
| | | { |
| | | if (! searchOperation.returnEntry(e, null)) |
| | | { |
| | | return false; |
| | | } |
| | | return false; |
| | | } |
| | | } |
| | | finally |