public interface Modifiable<PK> extends BusinessObject<PK>
BusinessObject
must implement to be used in modifying
rules, UpdateRule
, InsertRule
, UpdateFinalRule
, InsertFinalRule
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes this bo.
|
static <PK> void |
delete(PK id)
Deletes the bo with this id.
|
void |
save(SaveFlag... saveFlags)
Saves this bo.
|
void |
setChangedBy(java.lang.String username)
Sets name of user who last modified the object
|
void |
setCreatedBy(java.lang.String username)
Sets name of user who created the object
|
get, getEntity, getEntityUid, getId, getVersion, isDelete, isInsert, isUpdate
void setCreatedBy(java.lang.String username)
username
- void setChangedBy(java.lang.String username)
username
- void save(SaveFlag... saveFlags) throws BusinessException
BusinessException
void delete() throws BusinessException
BusinessException
static <PK> void delete(PK id) throws BusinessException
BusinessException
Copyright © 2024. All rights reserved.