01: /*
02: * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
03: */
04: package javax.jcr;
05:
06: /**
07: * The possible actions specified by the <code>uuidBehavior</code>
08: * parameter in {@link Workspace#importXML}, {@link Session#importXML},
09: * {@link Workspace#getImportContentHandler} and {@link Session#getImportContentHandler}.
10: */
11:
12: public interface ImportUUIDBehavior {
13: public static final int IMPORT_UUID_CREATE_NEW = 0;
14: public static final int IMPORT_UUID_COLLISION_REMOVE_EXISTING = 1;
15: public static final int IMPORT_UUID_COLLISION_REPLACE_EXISTING = 2;
16: public static final int IMPORT_UUID_COLLISION_THROW = 3;
17: }
|