Interface IXConflictResolverIfc

All Known Implementing Classes:
ContentRoleTypeConflictResolver, FolderConflictResolver, IXAbstractConflictResolver, IXDefaultConflictResolver, IXGenericConflictResolver, IXMultiObjectConflictResolver, IXSingleObjectConflictResolver, LifecycleConflictResolver, NumberConflictResolver, ObjectAlreadyExistsConflictResolver, OrganizationConflictResolver, OrganizationIDConflictResolver, PrincipalReferenceConflictResolver, SecuredInformationExpressionConflictResolver, VersionResolver

public interface IXConflictResolverIfc
The interface for import resolvers. The resolvers are registered in service.properties.xconf

Supported API: true

Extendable: false
  • Method Details

    • resolve

      Object resolve(IxbElement fileXML, Importer importer, Object[] arguments) throws WTException
      Resolve using the default resolution of the resolver.

      Supported API: true
      Parameters:
      fileXML - The IxbElement.
      importer - The context.
      arguments - Object[], arguments for resolver - any additional object(s) which may be required by resolver for resolving, else null.
      Returns:
      Object, any object if required to be returned or else a Boolean for success or failure.
      Throws:
      WTException
    • resolve

      Object resolve(ResolutionType resolutionType, IxbElement fileXML, Importer importer, Object[] arguments) throws WTException
      Resolve using the provided resolution.

      Supported API: true
      Parameters:
      resolutionType - The resolution type.
      fileXML - The IxbElement.
      importer - The context.
      arguments - Object[], arguments for resolver - any additional object(s) which may be required by resolver for resolving, else null.
      Returns:
      Object, any object if required to be returned or else a Boolean for success or failure.
      Throws:
      WTException
    • getDefaultResolution

      ResolutionType getDefaultResolution() throws WTException
      Returns the default resolution from the resolver.

      Supported API: true
      Returns:
      The resolution.
      Throws:
      WTException
    • getDefaultResolution

      ResolutionType getDefaultResolution(Importer importer) throws WTException
      Returns the default resolution from the resolver based on the context.

      Supported API: true
      Parameters:
      importer - The context.
      Returns:
      The resolution.
      Throws:
      WTException
    • getAllResolutions

      HashSet<ResolutionType> getAllResolutions() throws WTException
      Returns all the available resolution from the resolver.

      Supported API: true
      Returns:
      Collection of resolution which the resolver can handle.
      Throws:
      WTException
    • getAllResolutions

      HashSet<ResolutionType> getAllResolutions(Importer importer) throws WTException
      Returns all the available resolution from the resolver based on the context and state of object.

      Supported API: true
      Parameters:
      importer - The context.
      Returns:
      Collection of resolution which the resolver can handle.
      Throws:
      WTException