// It does not matter which type of PIM list is being opened here
// They share the same categories defined in the PIM database
BlackBerryPIMList pimList = (BlackBerryPIMList) BlackBerryPIM.getInstance().openPIMList( PIM.TODO_LIST, PIM.READ_WRITE );
// Do not delete any Task items, only categories
boolean deleteUnassignedItems = false;
pimList.deleteCategory( args[ 0 ].toString(), deleteUnassignedItems );
return UNDEFINED;
}
/**