Interface Modifier<T extends MasterEntity>
- Type Parameters:
T
- the type ofMasterEntity
to 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
Optional
with the object which is modified in thisModifier
- Since:
- 10.0.102
-
write
Writes the changes done in thisModifier
- Returns:
- the persisted instance of the
MasterEntity
associated with thisModifier
- Throws:
PersistencyException
- if theMasterEntity
could not be written. The associated- Since:
- 10.0.28
-
delete
Deletes theMasterEntity
instance associated with thisModifier
- Throws:
PersistencyException
- if theMasterEntity
could not be deleted- Since:
- 10.0.28
-