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
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionReturns all the available resolution from the resolver.getAllResolutions(Importer importer) Returns all the available resolution from the resolver based on the context and state of object.Returns the default resolution from the resolver.getDefaultResolution(Importer importer) Returns the default resolution from the resolver based on the context.resolve(ResolutionType resolutionType, IxbElement fileXML, Importer importer, Object[] arguments) Resolve using the provided resolution.resolve(IxbElement fileXML, Importer importer, Object[] arguments) Resolve using the default resolution of the resolver.
-
Method Details
-
resolve
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
Returns the default resolution from the resolver.
Supported API: true- Returns:
- The resolution.
- Throws:
WTException
-
getDefaultResolution
Returns the default resolution from the resolver based on the context.
Supported API: true- Parameters:
importer- The context.- Returns:
- The resolution.
- Throws:
WTException
-
getAllResolutions
Returns all the available resolution from the resolver.
Supported API: true- Returns:
- Collection of resolution which the resolver can handle.
- Throws:
WTException
-
getAllResolutions
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
-