question: public void deleteDictItemById ( long dictItemId ) throws SystemException , NoSuchDictItemException { List < DictItem > dictItems = dictItemPersistence . findByTreeIndex ( dictItemId + StringPool . PERIOD ) ; if ( dictItems == null || dictItems . isEmpty ( ) ) { dictItemPersistence . remove ( dictItemId ) ; } }
target:  <p> Phuong thu xoa DictItem theo dictItemId. Neu DictItem co cap con thi khong xoa