class VolumeApiServiceImpl extends ManagerBase implements VolumeApiService, VmWorkJobHandler {

  public String getVolumeNameFromCommand(CreateVolumeCmd cmd) {
    String userSpecifiedName = cmd.getVolumeName();

    if (org.apache.commons.lang.StringUtils.isBlank(userSpecifiedName)) {
      userSpecifiedName = getRandomVolumeName();
    }

    return userSpecifiedName;
  }

  protected  VolumeApiServiceImpl();

}