code: public Collection getAllObjects(Class target)
      {
          PersistenceBroker broker = getBroker();
          Collection result;
          try
          {
              Query q = new QueryByCriteria(target);
              result = broker.getCollectionByQuery(q);
          }
          finally
          {
              if (broker != null) broker.close();
          }
          return result;
      }
docs: Return all objects for the given class.