IDomainHistory (taack-ui 0.5.7-SNAPSHOT API)
Package: taack.domain

[Groovy] Interface IDomainHistory<T>



  • @groovy.transform.CompileStatic
    interface IDomainHistory<T>
    • Methods Summary

        Methods 
        Type Params Return Type Name and description
        abstract T cloneDirectObjectData()
        Duplicate only direct fields and nextVersion field, not link to other fields and deactivate the object.
        abstract java.util.List<T> getHistory()
        Returns:
        list of previous versions ordered
    • Method Detail

      • abstract T cloneDirectObjectData()

        Duplicate only direct fields and nextVersion field, not link to other fields and deactivate the object. Unless you know what you are doing

        Parameters:
        newVersion
        Returns:
        oldVersion

      • abstract java.util.List<T> getHistory()

        Returns:
        list of previous versions ordered