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

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

The newest version!
package com.backendless.transaction;

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

interface UnitOfWorkUpdate
{
   OpResult update( E instance );

  OpResult update( String tableName, Map objectMap );

  // OpResult from CREATE/UPDATE = identification object what will update (get object id)
  OpResult update( OpResult result, Map changes );

  // OpResult from CREATE/UPDATE = identification object what will update (get object id)
  OpResult update( OpResult result, String propertyName, Object propertyValue );

  // OpResultValueReference from FIND = identification object what will update (get object id)
  // OpResultValueReference from CREATE_BULK = already an object identifier
  OpResult update( OpResultValueReference result, Map changes );

  // OpResultValueReference from FIND = identification object what will update (get object id)
  // OpResultValueReference from CREATE_BULK = already an object identifier
  OpResult update( OpResultValueReference result, String propertyName, Object propertyValue );

  OpResult bulkUpdate( String tableName, String whereClause, Map changes );

  OpResult bulkUpdate( String tableName, List objectsForChanges, Map changes );

  // OpResult from FIND or CREATE_BULK
  OpResult bulkUpdate( OpResult objectIdsForChanges, Map changes );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy