java.lang.Object
com.aquima.interactions.framework.service.instance.DeleteInstance
All Implemented Interfaces:
IService

public class DeleteInstance extends Object implements IService
Service delivered with R5 that can be used in all projects to delete an instance.

This service has the following parameter(s):

  • type The type of Entities that needs to be deleted, the Entity name like "Company"
  • attribute-path A dotted notation of the target Entity: Company(.Employee) etc.
  • condition A condition (expression) that needs to be matched in order to delete
  • type-scope Default is Active, then only an active instance is deleted, in order to delete all Entities of parameter 'type' use "Global"
  • exact-scope If only the exact type in parameter 'type' is to be matched, no derived types
Since:
5.0
Author:
B. van der Veeken
  • Field Details

  • Constructor Details

    • DeleteInstance

      public DeleteInstance()
  • Method Details

    • handle

      public IServiceResult handle(IServiceContext context)
      Description copied from interface: IService
      The handle method of the service is allowed to make changes to the interfaces passed along with the IServiceContext. This means the service context is changed accordingly.
      Specified by:
      handle in interface IService
      Parameters:
      context - the context in which the service is called and allowed to make changes.
      Returns:
      The result of this service, may be null.