| | |
| | | return taskScheduler.getRecurringTaskCount(); |
| | | } |
| | | |
| | | DN parentDN = DirectoryServer.getParentDNInSuffix(entryDN); |
| | | DN parentDN = serverContext.getBackendConfigManager().getParentDNInSuffix(entryDN); |
| | | if (parentDN == null) |
| | | { |
| | | return -1; |
| | |
| | | return taskScheduler.getRecurringTaskParentEntry(); |
| | | } |
| | | |
| | | DN parentDN = DirectoryServer.getParentDNInSuffix(entryDN); |
| | | DN parentDN = serverContext.getBackendConfigManager().getParentDNInSuffix(entryDN); |
| | | if (parentDN == null) |
| | | { |
| | | return null; |
| | |
| | | |
| | | // Get the DN for the entry and then get its parent. |
| | | DN entryDN = e.getName(); |
| | | DN parentDN = DirectoryServer.getParentDNInSuffix(entryDN); |
| | | DN parentDN = serverContext.getBackendConfigManager().getParentDNInSuffix(entryDN); |
| | | |
| | | if (parentDN == null) |
| | | { |
| | |
| | | { |
| | | // Get the parent for the provided entry DN. It must be either the |
| | | // scheduled or recurring task parent DN. |
| | | DN parentDN = DirectoryServer.getParentDNInSuffix(entryDN); |
| | | DN parentDN = serverContext.getBackendConfigManager().getParentDNInSuffix(entryDN); |
| | | if (parentDN == null) |
| | | { |
| | | LocalizableMessage message = ERR_TASKBE_DELETE_INVALID_ENTRY.get(entryDN); |
| | |
| | | { |
| | | // Get the parent for the provided entry DN. It must be either the |
| | | // scheduled or recurring task parent DN. |
| | | DN parentDN = DirectoryServer.getParentDNInSuffix(entryDN); |
| | | DN parentDN = serverContext.getBackendConfigManager().getParentDNInSuffix(entryDN); |
| | | if (parentDN == null) |
| | | { |
| | | LocalizableMessage message = ERR_TASKBE_MODIFY_INVALID_ENTRY.get(entryDN); |
| | |
| | | } |
| | | else |
| | | { |
| | | DN parentDN = DirectoryServer.getParentDNInSuffix(baseDN); |
| | | DN parentDN = serverContext.getBackendConfigManager().getParentDNInSuffix(baseDN); |
| | | if (parentDN == null) |
| | | { |
| | | LocalizableMessage message = ERR_TASKBE_SEARCH_INVALID_BASE.get(baseDN); |