Package ch.ivyteam.ivy.workflow
Interface INote
-
public interface INote
A note- Since:
- 17.05.2006
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Date
getCreationTimestamp()
Gets the creation timestamplong
getId()
Gets the identifier of the noteString
getMessage()
Gets the message of the noteIUser
getWritter()
Gets the user who wrote the note.String
getWritterName()
Gets the name of the user who wrote the node.
-
-
-
Method Detail
-
getWritter
IUser getWritter()
Gets the user who wrote the note. The method may return null if the user was deleted since the note was written. Use methodgetWritterName()
to evaluate the name of the writter even if the user was deleted.- Returns:
- writer or null
- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getWritterName
String getWritterName()
Gets the name of the user who wrote the node. Method never returns null even if the user who wrote the note was deleted.- Returns:
- name of the writter
- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getCreationTimestamp
Date getCreationTimestamp()
Gets the creation timestamp- Returns:
- creation timestamp
- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getMessage
String getMessage()
Gets the message of the note- Returns:
- message
- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getId
long getId()
Gets the identifier of the note- Returns:
- identifier
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-