All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backendless.transaction.UnitOfWorkDelete Maven / Gradle / Ivy

There is a newer version: 7.0-alpha
Show newest version
package com.backendless.transaction;

import java.util.List;
import java.util.Map;

interface UnitOfWorkDelete
{
   OpResult delete( E instance );

  OpResult delete( String tableName, Map objectMap );

  OpResult delete( String tableName, String objectId );

  // OpResult from CREAT/UPDATE = identification object what will update (get object id)
  OpResult delete( OpResult result );

  // OpResultValueReference from FIND = identification object what will update (get object id)
  // OpResultValueReference from CREATE_BULK = already an object identifier
  OpResult delete( OpResultValueReference resultIndex );

   OpResult bulkDelete( List instances );

  OpResult bulkDelete( String tableName, String[] objectIdValues );

  OpResult bulkDelete( String tableName, List> arrayOfObjects );

  OpResult bulkDelete( String tableName, String whereClause );

  // OpResult from FIND or CREATE_BULK
  OpResult bulkDelete( OpResult result );
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy