Package org.hcjf.layers.crud
Interface DeleteLayerInterface<O>
-
- All Superinterfaces:
java.lang.reflect.InvocationHandler,LayerInterface
public interface DeleteLayerInterface<O> extends LayerInterface
- Author:
- javaito
-
-
Method Summary
-
Methods inherited from interface org.hcjf.layers.LayerInterface
getImplName, getRegex, isDistributed, isPlugin, isStateful
-
-
-
-
Method Detail
-
delete
default O delete(java.lang.Object id)
This method implements the delete operation over the resource.- Parameters:
id- Id of the instance that gonna be deleted.- Returns:
- Instance of the resource that was deleted.
-
delete
default java.util.Collection<O> delete(Queryable queryable)
This method implements the delete operation over a add of the instances. This instances are selected using the query like a match.- Parameters:
queryable- Instance that contains all the information to evaluate a query.- Returns:
- Return the instances deleted.
-
-