class VufsServiceImpl implements IVufsService {

    @Override
    public void setAllocationForBlockByUuid(String blockUuid, Set<String> allocationSet)
            throws BlockNotExistInMetatableException {
        boolean isAdded = false;
        for (Metafile metafile : currentMetatable.getMetafileSet()) {
            if (metafile.getBlockUuidList().contains(blockUuid)) {
                isAdded = true;
                for (String cloud : allocationSet) {
                    metafile.addBlockAllocation(blockUuid, cloud);
                }
                break;
            }
        }
        if (!isAdded) {
            throw new BlockNotExistInMetatableException(MessageFormat.format(
                    "Block with uuid: {0}, does not exist in currentMetatable with uuid: {1}, with type: {2}",
                    blockUuid, currentMetatable.getUuid(), currentMetatable.getType()));
        }
    }

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

}