Package ch.ivyteam.ivy.workflow.note
Interface Note
public interface Note
A note consists out of a author and a message
- Since:
- 12.0.0
- API:
- This is a public API.
-
Method Summary
-
Method Details
-
id
long id()Returns the id of the note.- Returns:
- id
- API:
- This public API is available in Java.
-
content
String content()Returns the content.- Returns:
- content
- API:
- This public API is available in Java.
-
author
IUser author()Returns the author. This method may return null if the user was deleted since the note was created. Use methodauthorName()to get the name of the author even if the user was deleted.- Returns:
- author or null
- API:
- This public API is available in Java.
-
authorName
String authorName()Returns the name of the author. Method never returns null even if the author was deleted.- Returns:
- name of the author
- API:
- This public API is available in Java.
-
createdAt
Date createdAt()Returns the creation date.- Returns:
- creation date
- API:
- This public API is available in Java.
-