Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.backendless.transaction.UnitOfWorkSetRelationImpl Maven / Gradle / Ivy
package com.backendless.transaction;
import java.util.List;
import java.util.Map;
class UnitOfWorkSetRelationImpl implements UnitOfWorkSetRelation
{
private final RelationOperation relationOperation;
UnitOfWorkSetRelationImpl( RelationOperation relationOperation )
{
this.relationOperation = relationOperation;
}
@Override
public OpResult setRelation( String parentTable, Map parentObject, String columnName,
String[] childrenObjectIds )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable, parentObject, columnName, childrenObjectIds );
}
@Override
public OpResult setRelation( String parentTable, Map parentObject, String columnName,
E[] childrenInstance )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable, parentObject, columnName, childrenInstance );
}
@Override
public OpResult setRelation( String parentTable, Map parentObject, String columnName,
List> childrenMaps )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable, parentObject, columnName, childrenMaps );
}
@Override
public OpResult setRelation( String parentTable, Map parentObject,
String columnName, OpResult children )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable,
parentObject, columnName, children );
}
@Override
public OpResult setRelation( String parentTable, Map parentObject,
String columnName, String whereClauseForChildren )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable, parentObject,
columnName, whereClauseForChildren );
}
@Override
public OpResult setRelation( String parentTable, String parentObjectId, String columnName,
String[] childrenObjectIds )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable,
parentObjectId, columnName, childrenObjectIds );
}
@Override
public OpResult setRelation( String parentTable, String parentObjectId, String columnName, E[] childrenInstances )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable,
parentObjectId, columnName, childrenInstances );
}
@Override
public OpResult setRelation( String parentTable, String parentObjectId, String columnName,
List> childrenMaps )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable,
parentObjectId, columnName, childrenMaps );
}
@Override
public OpResult setRelation( String parentTable, String parentObjectId, String columnName, OpResult children )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable,
parentObjectId, columnName, children );
}
@Override
public OpResult setRelation( String parentTable, String parentObjectId, String columnName, String whereClauseForChildren )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentTable, parentObjectId,
columnName, whereClauseForChildren);
}
@Override
public OpResult setRelation( E parentObject, String columnName, String[] childrenObjectIds )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenObjectIds );
}
@Override
public OpResult setRelation( E parentObject, String columnName, U[] childrenInstances )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenInstances );
}
@Override
public OpResult setRelation( E parentObject, String columnName, List> childrenMaps )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenMaps );
}
@Override
public OpResult setRelation( E parentObject, String columnName, OpResult children )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, children );
}
@Override
public OpResult setRelation( E parentObject, String columnName, String whereClauseForChildren )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, whereClauseForChildren );
}
@Override
public OpResult setRelation( OpResult parentObject, String columnName, String[] childrenObjectIds )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenObjectIds );
}
@Override
public OpResult setRelation( OpResult parentObject, String columnName, E[] childrenInstances )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenInstances );
}
@Override
public OpResult setRelation( OpResult parentObject, String columnName, List> childrenMaps )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenMaps );
}
@Override
public OpResult setRelation( OpResult parentObject, String columnName, OpResult children )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, children );
}
@Override
public OpResult setRelation( OpResult parentObject, String columnName, String whereClauseForChildren )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, whereClauseForChildren );
}
@Override
public OpResult setRelation( OpResultValueReference parentObject, String columnName, String[] childrenObjectIds )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenObjectIds );
}
@Override
public OpResult setRelation( OpResultValueReference parentObject, String columnName, E[] childrenInstances )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenInstances );
}
@Override
public OpResult setRelation( OpResultValueReference parentObject, String columnName,
List> childrenMaps )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, childrenMaps );
}
@Override
public OpResult setRelation( OpResultValueReference parentObject, String columnName, OpResult children )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, children );
}
@Override
public OpResult setRelation( OpResultValueReference parentObject, String columnName, String whereClauseForChildren )
{
return relationOperation.addOperation( OperationType.SET_RELATION, parentObject, columnName, whereClauseForChildren );
}
}