Interface Modifier<T extends MasterEntity>
- Type Parameters:
T- the type ofMasterEntityto modify with thisModifier
- All Known Subinterfaces:
AccountModifier,AgentGroupModifier,CategoryModifier,ChatBotModifier,ExternalRoutingModifier,GroupModifier<T>,LocationModifier,MessengerAccountModifier,PhoneSystemModifier,RoutingTagModifier,SystemGroupModifier,TenantModifier,TextModuleFirstLevelGroupModifier,TextModuleGroupModifier<T>,TextModuleModifier,TextModuleNodeModifier<T>,TextModuleRootModifier,TextModuleSecondLevelGroupModifier,TransactionCodeModifier,UndeletableModifier<T>,UserModifier
public interface Modifier<T extends MasterEntity>
Defines an API to modify an instance of type
MasterEntity- Since:
- 10.0.28
-
Method Summary
-
Method Details
-
get
Get the object which is modified in thisModifier.- Returns:
- An
Optionalwith the object which is modified in thisModifier - Since:
- 10.0.102
-
write
Writes the changes done in thisModifier- Returns:
- the persisted instance of the
MasterEntityassociated with thisModifier - Throws:
PersistencyException- if theMasterEntitycould not be written. The associated- Since:
- 10.0.28
-
delete
Deletes theMasterEntityinstance associated with thisModifier- Throws:
PersistencyException- if theMasterEntitycould not be deleted- Since:
- 10.0.28
-