| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006 Sun Microsystems, Inc. |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api; |
| | | |
| | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.SynchronizationProviderResult; |
| | | |
| | | import static org.opends.server.loggers.Debug.*; |
| | | |
| | | |
| | | |
| | |
| | | */ |
| | | public abstract class SynchronizationProvider |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | | */ |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.api.SynchronizationProvider"; |
| | | |
| | | |
| | | |
| | |
| | | */ |
| | | public void finalizeSynchronizationProvider() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "finalizeSynchronizationProvider"); |
| | | |
| | | // No implementation is required by default. |
| | | } |
| | |
| | | handleConflictResolution(AddOperation addOperation) |
| | | throws DirectoryException |
| | | { |
| | | assert debugEnter(CLASS_NAME, "handleConflictResolution", |
| | | String.valueOf(addOperation)); |
| | | |
| | | // No processing is required by default. |
| | | return new SynchronizationProviderResult(true); |
| | |
| | | handleConflictResolution(DeleteOperation deleteOperation) |
| | | throws DirectoryException |
| | | { |
| | | assert debugEnter(CLASS_NAME, "handleConflictResolution", |
| | | String.valueOf(deleteOperation)); |
| | | |
| | | // No processing is required by default. |
| | | return new SynchronizationProviderResult(true); |
| | |
| | | modifyOperation) |
| | | throws DirectoryException |
| | | { |
| | | assert debugEnter(CLASS_NAME, "handleConflictResolution", |
| | | String.valueOf(modifyOperation)); |
| | | |
| | | // No processing is required by default. |
| | | return new SynchronizationProviderResult(true); |
| | |
| | | modifyDNOperation) |
| | | throws DirectoryException |
| | | { |
| | | assert debugEnter(CLASS_NAME, "handleConflictResolution", |
| | | String.valueOf(modifyDNOperation)); |
| | | |
| | | // No processing is required by default. |
| | | return new SynchronizationProviderResult(true); |