* @return The {@link WorkflowInstancePage} that this XML-RPC
* {@link Hashtable} provided represents.
*/
public static WorkflowInstancePage getWorkflowInstancePageFromXmlRpc(
Hashtable pageHash) {
WorkflowInstancePage page = new WorkflowInstancePage();
page.setPageNum(Integer.parseInt((String) pageHash.get("pageNum")));
page.setPageSize(Integer.parseInt((String) pageHash.get("pageSize")));
page.setTotalPages(Integer
.parseInt((String) pageHash.get("totalPages")));
page.setPageWorkflows(getWorkflowInstancesFromXmlRpc((Vector) pageHash
.get("pageWorkflows")));
return page;
}