*/
@SuppressWarnings({ "unchecked", "nls", "boxing" })
public List<Comment> getComments(String status, Integer post_id,
Integer number, Integer offset) throws XmlRpcFault {
XmlRpcStruct filter = new XmlRpcStruct();
if (status != null) {
filter.put("status", status);
}
if (post_id != null) {
filter.put("post_id", post_id);
}
if (number != null) {
filter.put("number", number);
}
if (offset != null) {
filter.put("offset", offset);
}
XmlRpcArray r = this.wp
.getComments(0, this.username, this.password, filter);
return fillFromXmlRpcArray(r, Comment.class);