Methods Summary |
---|
public static void | create(java.util.HashMap data)
CreateComment.getInstance().execute(data);
|
public static java.util.ArrayList | getApproved()
HashMap data = new HashMap();
data.put(Comment.APPROVED, new Boolean(true));
data = ListComments.getInstance().execute(data);
return (ArrayList)data.get(ListComments.COMMENTS);
|
public static java.util.HashMap | getComment(long cid)
HashMap data = new HashMap();
data.put(Comment.COMMENT_ID, new Long(cid));
data = LoadComment.getInstance().execute(data);
return data;
|
public static java.util.ArrayList | getPending()
HashMap data = new HashMap();
data.put(Comment.APPROVED, new Boolean(false));
data = ListComments.getInstance().execute(data);
return (ArrayList)data.get(ListComments.COMMENTS);
|
public static void | remove(java.util.HashMap data)
RemoveComment.getInstance().execute(data);
|
public static void | save(java.util.HashMap data)
SaveComment.getInstance().execute(data);
|