IDomainHistory (taack-ui 0.3.8 API)
Package: taack.domain

[Groovy] Interface IDomainHistory<T extends GormEntity>



  • @groovy.transform.CompileStatic
    interface IDomainHistory<T extends GormEntity>
    • 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