int limit = 200;
int offset = 0;
ContentletAPI conAPI=APILocator.getContentletAPI();
List<Contentlet> contentlets=null;
do {
contentlets = conAPI.findByStructure(st, user, false, limit, offset);
for(Contentlet contentlet : contentlets){
contentlet.getMap().put(Contentlet.DONT_VALIDATE_ME, true);
}
conAPI.delete(contentlets, user, false);
} while(contentlets.size()>0);