Interface ConflictModelInterface

All Superinterfaces:
Serializable
All Known Implementing Classes:
ConflictModel

public interface ConflictModelInterface extends Serializable
Model of conflicts. The model contains all conflicts and provides them to the user interface.
Version:
11.2.1
Author:
jmback
  • Method Details

    • getNumUnresolved

      Get number of conflicts of the same conflict type as the next unresolved conflict.
      Parameters:
      changed - changes done
      Returns:
      number of further conflicts of the same conflict type
      Throws:
      M2MException
      RemoteException
    • getUnresolved

      Get first unresolved conflict.
      Parameters:
      iFVPMode - tells whether the conflict resolution should be checked or updated
      changed - changes done
      Returns:
      next unresolved conflict, if there is none, return null
      Throws:
      M2MException
      RemoteException
    • add

      void add(Conflict iConflict)
      Add a conflict to the conflict model.
      Parameters:
      iConflict - new conflict
    • get

      Get the conflict of the given type and with the involved source elements.
      Parameters:
      iType - type of conflict
      source - source elements involved in conflict
      Returns:
      return the conflict, if one exists, else null
    • getType

      ConflictType getType(Class<?> iCls)
      Get a new conflict type instance of the defining class.
      Parameters:
      iCls - Class of conflict type
      Returns:
      Instance conflict type
    • clean

      void clean()
      Clean the conflict model and remove all conflicts.