@Deprecated public interface ImportMergeBehavior
mergeBehavior
parameter in HippoSession.importDereferencedXML(java.lang.String, java.io.InputStream, int, int, int)
.
When a node already exists in the repository on the same path during import, the value specified by the mergeBehavior governs what to do in such a case.
The mergeBehavior parameter must be just one of these values.Modifier and Type | Field and Description |
---|---|
static int |
IMPORT_MERGE_ADD_OR_OVERWRITE
Deprecated.
When a node already exist, try to add a new node as a same-name sibling.
|
static int |
IMPORT_MERGE_ADD_OR_SKIP
Deprecated.
When a node already exist, try to add a new node as a same-name sibling.
|
static int |
IMPORT_MERGE_DISABLE
Deprecated.
Disable merging with existing nodes.
|
static int |
IMPORT_MERGE_OVERWRITE
Deprecated.
When a node already exits, drop the existing node and import th enew node.
|
static int |
IMPORT_MERGE_SKIP
Deprecated.
When a node already exists in the repository on the same path, skip the node in the import and its subtree.
|
static int |
IMPORT_MERGE_THROW
Deprecated.
When a node alread exist, throw an
ItemExistsException exception and abort the import. |
static final int IMPORT_MERGE_SKIP
static final int IMPORT_MERGE_OVERWRITE
static final int IMPORT_MERGE_ADD_OR_SKIP
static final int IMPORT_MERGE_ADD_OR_OVERWRITE
static final int IMPORT_MERGE_THROW
ItemExistsException
exception and abort the import. The import so far is kept in session transient state.static final int IMPORT_MERGE_DISABLE
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.