public void moveWeblogCategory(WeblogCategory srcCat, WeblogCategory destCat)
throws WebloggerException {
// TODO: this check should be made before calling this method?
if (destCat.descendentOf(srcCat)) {
throw new WebloggerException(
"ERROR cannot move parent category into it's own child");
}
log.debug("Moving category "+srcCat.getPath() +
" under "+destCat.getPath());