public CML deleteCML(ISicresAbstractDocumentVO document){
  String id=document.getId();
  Reference reference=new Reference(STORE,id,null);
  Predicate predicate=new Predicate(new Reference[]{reference},null,null);
  CMLDelete delete=new CMLDelete(predicate);
  CML cml=new CML();
  cml.setDelete(new CMLDelete[]{delete});
  return cml;
}

public CML deleteCML ( ISicresAbstractDocumentVO document ) { String id = document . getId ( ) ; Reference reference = new Reference ( STORE , id , null ) ; Predicate predicate = new Predicate ( new Reference [ ] { reference } , null , null ) ; CMLDelete delete = new CMLDelete ( predicate ) ; CML cml = new CML ( ) ; cml . setDelete ( new CMLDelete [ ] { delete } ) ; return cml ; }
metodo que borra un documento
