private List<Case> getOpenCases() {
   PortalApiResourceLocator locator = new ClientProxyPortalApiResourceLocator();
   Cases cases = locator.getCasesResource().listCases(true, null, null, null);
   return cases.getCase();
 }