question: public VNXeCommandResult deleteLunGroup ( String lunGroupId , boolean isForceSnapDeletion , boolean isForceVolumeDeletion ) { if ( isForceVolumeDeletion ) { DeleteStorageResourceRequest deleteReq = new DeleteStorageResourceRequest ( _khClient ) ; return deleteReq . deleteLunGroup ( lunGroupId , isForceSnapDeletion ) ; } else { BlockLunRequests lunReq = new BlockLunRequests ( _khClient ) ; List < VNXeLun > luns = lunReq . getLunsInLunGroup ( lunGroupId ) ; if ( luns != null && ! luns . isEmpty ( ) ) { List < String > lunIds = new ArrayList < String > ( ) ; for ( VNXeLun lun : luns ) { lunIds . add ( lun . getId ( ) ) ; } removeLunsFromLunGroup ( lunGroupId , lunIds ) ; } DeleteStorageResourceRequest deleteReq = new DeleteStorageResourceRequest ( _khClient ) ; return deleteReq . deleteLunGroup ( lunGroupId , isForceSnapDeletion ) ; } }
target:  Delete lun group. if isForceVolumeDeletion is true, it would delete all the volumes in the lun group and the lun group. if isForceVolumeDeletion is false, it would remove all the volumes from the lun group, then delete the lun group.