Interface ImportReferenceBehavior

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int IMPORT_REFERENCE_NOT_FOUND_REMOVE
      When a reference to occurs which cannot be resolved, remove the property containing the reference.
      static int IMPORT_REFERENCE_NOT_FOUND_THROW
      A missing reference will cause the import to abort by throwing a @{link javax.jcr.RepositoryException} at some time during the import and leave a partial state in the transient state.
      static int IMPORT_REFERENCE_NOT_FOUND_TO_ROOT
      When a missing reference occurs, re-target the reference to reference the root of the JCR tree (/jcr:root).
    • Field Detail

      • IMPORT_REFERENCE_NOT_FOUND_REMOVE

        static final int IMPORT_REFERENCE_NOT_FOUND_REMOVE
        When a reference to occurs which cannot be resolved, remove the property containing the reference. In case the the lack of the property is not valid for the node definition in which the property occurred, a RepositoryException will be thrown by either the import method or when the data in the session is being saved.
        See Also:
        Constant Field Values
      • IMPORT_REFERENCE_NOT_FOUND_TO_ROOT

        static final int IMPORT_REFERENCE_NOT_FOUND_TO_ROOT
        When a missing reference occurs, re-target the reference to reference the root of the JCR tree (/jcr:root).
        See Also:
        Constant Field Values
      • IMPORT_REFERENCE_NOT_FOUND_THROW

        static final int IMPORT_REFERENCE_NOT_FOUND_THROW
        A missing reference will cause the import to abort by throwing a @{link javax.jcr.RepositoryException} at some time during the import and leave a partial state in the transient state.
        See Also:
        Constant Field Values