210211212213214215216
@Override public SaveObjectCommand createSaveObjectCommand(final ObjectAdapter object) { if (object.getSpecification().isParented()) { return null; } return new InMemorySaveObjectCommand(object, persistedObjects); }
208209210211212213214
198199200201202203204
return new InMemoryCreateObjectCommand(object, persistedObjects); } @Override public SaveObjectCommand createSaveObjectCommand(final ObjectAdapter object) { return new InMemorySaveObjectCommand(object, persistedObjects); }
195196197198199200201