throw new UnsupportedOperationException();
}
public Collection<?> getObjects() {
Collection<Object> result = new ArrayList<Object>();
Iterator<?> iterator = commandService.execute(new GetObjectsCommand());
if (iterator != null) {
while (iterator.hasNext()) {
result.add(iterator.next());
}
}