From 2273c26793fe6e3abfd90a400823e8e46b3303bb Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Mon, 15 Dec 2008 16:07:29 +0000
Subject: [PATCH] - [Issue 274]  Recurring Tasks

---
 opends/src/server/org/opends/server/backends/task/Task.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/backends/task/Task.java b/opends/src/server/org/opends/server/backends/task/Task.java
index 82fc38f..d8e6ec3 100644
--- a/opends/src/server/org/opends/server/backends/task/Task.java
+++ b/opends/src/server/org/opends/server/backends/task/Task.java
@@ -580,6 +580,18 @@
   }
 
   /**
+   * Indicates whether or not this task is an iteration of
+   * some recurring task.
+   *
+   * @return boolean where true indicates that this task is
+   *         recurring, false otherwise.
+   */
+  public boolean isRecurring()
+  {
+    return (recurringTaskID != null);
+  }
+
+  /**
    * Indicates whether or not this task has been cancelled.
    *
    * @return boolean where true indicates that this task was

--
Gitblit v1.10.0