Example #1
0
 public boolean save() {
   Node node = ForumManager.getCloud().getNode(id);
   node.setValue("mode", mode);
   node.setValue("body", body);
   node.setValue("encoding", encoding);
   node.commit();
   return true;
 }
Example #2
0
 public boolean delete() {
   Node node = ForumManager.getCloud().getNode(id);
   if (node != null) {
     node.delete(true);
   }
   parent.deleteSignature(this);
   return true;
 }