public interface Stateful
BusinessObject
must implement to be
used in StateChangeRule
and StateChangeFinalRule
rulesModifier and Type | Method and Description |
---|---|
void |
changeStatus(State status)
Changes Status.
|
void |
deleteAttachment(NuclosFile nuclosFile)
Deletes the given file if attached to this businessobject
|
java.util.List<NuclosFile> |
getAttachments()
Returns all generic documents attached to this businessobject
|
UID |
getNuclosStateId()
Returns the id of the current status
|
void |
insertAttachment(NuclosFile nuclosFile,
java.lang.String comment)
Inserts the given file as generic document with the given comment
|
UID getNuclosStateId()
void changeStatus(State status) throws BusinessException
status:
- The target status.BusinessException
void insertAttachment(NuclosFile nuclosFile, java.lang.String comment)
nuclosFile
- file to insertcomment
- java.util.List<NuclosFile> getAttachments()
void deleteAttachment(NuclosFile nuclosFile)
nuclosFile
- the file to be deletedCopyright © 2024. All rights reserved.