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

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

The newest version!
package com.backendless.transaction;

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

interface UnitOfWorkDeleteRelation
{
  // HashMap + array of objectIds
  OpResult deleteRelation( String parentTable, Map parentObject, String columnName, String[] childrenObjectIds );

  // HashMap + array of custom classes
   OpResult deleteRelation( String parentTable, Map parentObject, String columnName, E[] childrenInstance );

  // HashMap + List of hashmaps
  OpResult deleteRelation( String parentTable, Map parentObject, String columnName, List> childrenMaps );

  // HashMap + OpResult=CREATE_BULK
  OpResult deleteRelation( String parentTable, Map parentObject, String columnName, OpResult children );

  // HashMap + whereClause
  OpResult deleteRelation( String parentTable, Map parentObject,
                          String columnName, String whereClauseForChildren );

  // String + array of objectIds
  OpResult deleteRelation( String parentTable, String parentObjectId, String columnName, String[] childrenObjectIds );

  // String + array of custom classes
   OpResult deleteRelation( String parentTable, String parentObjectId, String columnName, E[] childrenInstances );

  // String + List of hashmaps
  OpResult deleteRelation( String parentTable, String parentObjectId, String columnName, List> childrenMaps );

  // String + OpResult=CREATE_BULK
  OpResult deleteRelation( String parentTable, String parentObjectId, String columnName, OpResult children );

  // String + whereClause
  OpResult deleteRelation( String parentTable, String parentObjectId, String columnName, String whereClauseForChildren );

  // Custom class + array of objectIds
   OpResult deleteRelation( E parentObject, String columnName, String[] childrenObjectIds );

  // Custom class + array of custom classes
   OpResult deleteRelation( E parentObject, String columnName, U[] childrenInstances );

  // Custom class + List of hashmaps
   OpResult deleteRelation( E parentObject, String columnName, List> childrenMaps );

  // Custom class + OpResult=CREATE_BULK
   OpResult deleteRelation( E parentObject, String columnName, OpResult children );

  // Custom class + whereClause
   OpResult deleteRelation( E parentObject, String columnName, String whereClauseForChildren );

  // OpResult=CREATE/UPDATE(getObjectId) + array of objectIds
  OpResult deleteRelation( OpResult parentObject, String columnName, String[] childrenObjectIds );

  // OpResult=CREATE/UPDATE(getObjectId) + array of custom classes
   OpResult deleteRelation( OpResult parentObject, String columnName, E[] childrenInstances );

  // OpResult=CREATE/UPDATE(getObjectId) + List of hashmaps
  OpResult deleteRelation( OpResult parentObject, String columnName, List> childrenMaps );

  // OpResult=CREATE/UPDATE(getObjectId) + OpResult=CREATE_BULK
  OpResult deleteRelation( OpResult parentObject, String columnName, OpResult children );

  // OpResult=CREATE/UPDATE(getObjectId) + where clause
  OpResult deleteRelation( OpResult parentObject, String columnName, String whereClauseForChildren );

  // OpResult=CREATE_BULK(resultIndex) + array of objectIds
 OpResult deleteRelation( OpResultValueReference parentObject, String columnName, String[] childrenObjectIds );

  // OpResultValueReference=CREATE_BULK/FIND(getObjectId)+ array of custom classes
   OpResult deleteRelation(  OpResultValueReference parentObject, String columnName, E[] childrenInstances );

  // OpResultValueReference=CREATE_BULK/FIND(getObjectId) + List of hashmaps
  OpResult deleteRelation( OpResultValueReference parentObject, String columnName, List> childrenMaps );

  // OpResult=CREATE_BULK(resultIndex) + OpResult=CREATE_BULK
  OpResult deleteRelation( OpResultValueReference parentObject, String columnName, OpResult children );

  // OpResult=CREATE_BULK(resultIndex) + where clause
  OpResult deleteRelation( OpResultValueReference parentObject, String columnName, String whereClauseForChildren );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy