public boolean primary() {
   return currentObject.equals(Documents.primary(selectedObject()));
 }
 public WOActionResults delete() {
   currentObject.delete();
   ec().saveChanges();
   return null;
 }