Interface DeleteLayerInterface<O>

  • All Superinterfaces:
    java.lang.reflect.InvocationHandler, LayerInterface

    public interface DeleteLayerInterface<O>
    extends LayerInterface
    Author:
    javaito
    • Method Summary

      Modifier and Type Method Description
      default O delete​(java.lang.Object id)
      This method implements the delete operation over the resource.
      default java.util.Collection<O> delete​(Queryable queryable)
      This method implements the delete operation over a add of the instances.
      • Methods inherited from interface java.lang.reflect.InvocationHandler

        invoke
    • 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.