Class Task

java.lang.Object
io.quarkus.hibernate.orm.panache.PanacheEntityBase
io.quarkus.hibernate.orm.panache.PanacheEntity
nunnink.dev.entity.Task

public class Task extends io.quarkus.hibernate.orm.panache.PanacheEntity
A task user wants to execute and track time for.
  • Field Summary

    Fields inherited from class io.quarkus.hibernate.orm.panache.PanacheEntity

    id
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    create(String name, User user)
    Create a new task

    Methods inherited from class io.quarkus.hibernate.orm.panache.PanacheEntity

    toString

    Methods inherited from class io.quarkus.hibernate.orm.panache.PanacheEntityBase

    count, count, count, count, delete, delete, delete, delete, deleteAll, deleteById, find, find, find, find, find, find, findAll, findAll, findById, findById, findByIdOptional, findByIdOptional, flush, getEntityManager, getSession, isPersistent, list, list, list, list, list, list, listAll, listAll, persist, persist, persist, persist, persistAndFlush, stream, stream, stream, stream, stream, stream, streamAll, streamAll, update, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Task

      public Task()
  • Method Details

    • create

      public static void create(String name, User user)
      Create a new task
      Parameters:
      name - the descriptive name of this task
      user - the user who owns this task