class VufsServiceImpl implements IVufsService {

    @Override
    public boolean removeMetafileFromParent(String childMetafileUuid,
            String parentMetafileUuid) {
        boolean isRemovedAsChild = false;
        // Remove child metafile uuid from list of childMetafileUuidList if Metafile with parentMetafileUuid.
        for (Metafile metafile : currentMetatable.getMetafileSet()) {
            if (metafile.getFileUuid().equalsIgnoreCase(parentMetafileUuid)) {
                isRemovedAsChild = metafile.removeChildFileUuid(childMetafileUuid);
                break;
            }
        }
        // If was removed from parent, remove metafile form metatable.
        return isRemovedAsChild && currentMetatable.removeMetafileByUuid(childMetafileUuid);
    }

    @Autowired public  VufsServiceImpl(IProfile profile,
            MetatableTransformer metatableTransformer,
            IMetatableService persistingService);

}