From 0bee1ee3a776af367c685d042155cd43ae71deab Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Mon, 13 Nov 2006 08:31:12 +0000
Subject: [PATCH] Fix for 982 : reorganize synchronization code :
---
opendj-sdk/opends/src/server/org/opends/server/synchronization/plugin/Historical.java | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/synchronization/Historical.java b/opendj-sdk/opends/src/server/org/opends/server/synchronization/plugin/Historical.java
similarity index 98%
rename from opendj-sdk/opends/src/server/org/opends/server/synchronization/Historical.java
rename to opendj-sdk/opends/src/server/org/opends/server/synchronization/plugin/Historical.java
index c780765..fe95ffa 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/synchronization/Historical.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/synchronization/plugin/Historical.java
@@ -24,7 +24,7 @@
*
* Portions Copyright 2006 Sun Microsystems, Inc.
*/
-package org.opends.server.synchronization;
+package org.opends.server.synchronization.plugin;
import java.util.ArrayList;
import java.util.HashMap;
@@ -38,6 +38,8 @@
import org.opends.server.core.AddOperation;
import org.opends.server.core.DirectoryServer;
import org.opends.server.core.ModifyOperation;
+import org.opends.server.synchronization.common.ChangeNumber;
+import org.opends.server.synchronization.protocol.OperationContext;
import org.opends.server.types.Attribute;
import org.opends.server.types.AttributeType;
import org.opends.server.types.AttributeValue;
@@ -65,9 +67,18 @@
public class Historical
{
- static final String HISTORICALATTRIBUTENAME = "ds-sync-hist";
- static final AttributeType historicalAttrType =
+ /**
+ * The name of the attribute used to store historical information.
+ */
+ public static final String HISTORICALATTRIBUTENAME = "ds-sync-hist";
+
+ /**
+ * The AttributeType associated to the attribute used to store
+ * hitorical information.
+ */
+ public static final AttributeType historicalAttrType =
DirectoryServer.getSchema().getAttributeType(HISTORICALATTRIBUTENAME);
+
static final String ENTRYUIDNAME = "entryuuid";
static final AttributeType entryuuidAttrType =
DirectoryServer.getSchema().getAttributeType(ENTRYUIDNAME);
--
Gitblit v1.10.0