Package ch.ivyteam.ivy.workflow
Interface INoteable
- All Known Subinterfaces:
IBusinessCase,ICase,ITask
Deprecated, for removal: This API element is subject to removal in a future version.
All workflow classes that implement this interface are able to handle notes.
- Since:
- 17.05.2006
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptioncreateNote(IWorkflowSession session, String message) Deprecated, for removal: This API element is subject to removal in a future version.voiddeleteNote(INote note) Deprecated, for removal: This API element is subject to removal in a future version.getNotes()Deprecated, for removal: This API element is subject to removal in a future version.booleanhasNotes()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
createNote
@Deprecated(since="12.0.0", forRemoval=true) INote createNote(IWorkflowSession session, String message) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new note associated with this object.
Note: If the object (task or case), on which the additional property is set, is not yet persisted in the system database then the object (task or case) will be persisted in the system database by this method.
- Parameters:
session- the session which creates the notemessage- the note itself- Returns:
- the created note
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in Java.
-
getNotes
Deprecated, for removal: This API element is subject to removal in a future version.Gets all notes associated with this object- Returns:
- iterator with the notes information
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in Java.
-
hasNotes
Deprecated, for removal: This API element is subject to removal in a future version.Returns true if the object has notes, otherwise false- Returns:
- true if the object has notes, otherwise false
- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in Java.
-
deleteNote
Deprecated, for removal: This API element is subject to removal in a future version.Deletes the given note- Parameters:
note- the node to delete- Throws:
PersistencyException- if persistency access fails- API:
- This public API is available in Java.
-
ICase.notes()orITask.notes()