| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2012 ForgeRock AS |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.protocol; |
| | | |
| | |
| | | import org.opends.server.core.DeleteOperationBasis; |
| | | import org.opends.server.protocols.internal.InternalClientConnection; |
| | | import org.opends.server.replication.common.ChangeNumber; |
| | | import org.opends.server.types.AbstractOperation; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.Operation; |
| | | import org.opends.server.types.operation.PostOperationDeleteOperation; |
| | | |
| | | /** |
| | |
| | | { |
| | | private String initiatorsName; |
| | | |
| | | // whether the DEL operation is a subtree DEL |
| | | /** whether the DEL operation is a subtree DEL. */ |
| | | private boolean isSubtreeDelete = false; |
| | | |
| | | /** |
| | |
| | | } |
| | | catch(Exception e) |
| | | {} |
| | | |
| | | } |
| | | |
| | | /** |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public AbstractOperation createOperation( |
| | | InternalClientConnection connection, String newDn) |
| | | public Operation createOperation(InternalClientConnection connection, |
| | | String newDn) |
| | | { |
| | | DeleteOperationBasis del = new DeleteOperationBasis(connection, |
| | | InternalClientConnection.nextOperationID(), |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public byte[] getBytes_V1() throws UnsupportedEncodingException |
| | | { |
| | | return encodeHeader_V1(MSG_TYPE_DELETE_V1, 0); |