private void triggerIpLeaseDeleteService(final State current,List<DhcpSubnetService.State> dhcpSubnetList){
  if (dhcpSubnetList.size() == 0) {
    ServiceUtils.logInfo(this,"No DhcpSubnets found any more.");
    sendStageProgressPatch(current);
    return;
  }
  for (  DhcpSubnetService.State state : dhcpSubnetList) {
    triggerIpLeaseDeleteService(ServiceUtils.getIDFromDocumentSelfLink(state.documentSelfLink));
  }
  sendStageProgressPatch(current);
}

private void triggerIpLeaseDeleteService ( final State current , List < DhcpSubnetService . State > dhcpSubnetList ) { if ( dhcpSubnetList . size ( ) == 0 ) { ServiceUtils . logInfo ( this , "No DhcpSubnets found any more." ) ; sendStageProgressPatch ( current ) ; return ; } for ( DhcpSubnetService . State state : dhcpSubnetList ) { triggerIpLeaseDeleteService ( ServiceUtils . getIDFromDocumentSelfLink ( state . documentSelfLink ) ) ; } sendStageProgressPatch ( current ) ; }
triggers ipleasedeleteservice for one dhcp subnet list .
