Class ToDoEventLog

    • Constructor Detail

      • ToDoEventLog

        public ToDoEventLog()
      • ToDoEventLog

        public ToDoEventLog​(int eventType,
                            java.lang.String title,
                            java.lang.String description,
                            ToDoUser eventUser,
                            java.lang.String ip,
                            java.lang.String key,
                            long duration)
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getEventDate

        public java.time.LocalDateTime getEventDate()
      • setEventDate

        public void setEventDate​(java.time.LocalDateTime eventDate)
      • getEventType

        public int getEventType()
      • setEventType

        public void setEventType​(int eventType)
      • getEventUser

        public ToDoUser getEventUser()
      • setEventUser

        public void setEventUser​(ToDoUser eventUser)
      • getTitle

        public java.lang.String getTitle()
      • setTitle

        public void setTitle​(java.lang.String title)
      • getDuration

        public long getDuration()
      • setDuration

        public void setDuration​(long duration)
      • getIp

        public java.lang.String getIp()
      • setIp

        public void setIp​(java.lang.String ip)
      • getKey

        public java.lang.String getKey()
      • setKey

        public void setKey​(java.lang.String key)
      • getId

        public java.lang.Long getId()
        Description copied from class: ToDoVersionedIdentifiable
        Method returning a canonical id of the object. Transient objects return -1;
        Specified by:
        getId in class ToDoVersionedIdentifiable
        Returns:
        id the id of the object. Id is canonical for all instances of a class.
      • setId

        public void setId​(java.lang.Long id)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the canonical id of the object. Should under normal circumstances not be manually invoked.
        Specified by:
        setId in class ToDoVersionedIdentifiable
        Parameters:
        id - id of the object
      • setVersion

        public void setVersion​(java.lang.Integer version)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the version of the instance, Should under normal circumstances not be manually invoked.
        Specified by:
        setVersion in class ToDoVersionedIdentifiable
        Parameters:
        version - of the object
      • isActive

        public java.lang.Boolean isActive()
        Description copied from class: ToDoVersionedIdentifiable
        Method that returns whether the instance is active or not (means: logically deleted)
        Specified by:
        isActive in class ToDoVersionedIdentifiable
        Returns:
        boolean whether the object is active
      • setActive

        public void setActive​(java.lang.Boolean active)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the active flag. Invoking this method with false logically deletes the instance in the database.
        Specified by:
        setActive in class ToDoVersionedIdentifiable
        Parameters:
        active - is the object active or not
      • getEventUserId

        public java.lang.Long getEventUserId()
      • setEventUserId

        public void setEventUserId​(java.lang.Long eventUserId)