private void updateFSExport(FileShare fsObj,DbClient dbClient,VNXeApiClient apiClient,FileExport newExport){
  _logger.info("upading file export. ");
  FSExportMap exports=fsObj.getFsExports();
  if (exports == null) {
    exports=new FSExportMap();
  }
  VNXeNfsShare nfsShare=apiClient.findNfsShare(fsObj.getNativeId(),shareName);
  String nfsShareId=nfsShare.getId();
  newExport.setIsilonId(nfsShareId);
  exports.put(newExport.getFileExportKey(),newExport);
  fsObj.setFsExports(exports);
  updateExportRules(fsObj.getId(),newExport,dbClient);
  dbClient.persistObject(fsObj);
}

private void updateFSExport ( FileShare fsObj , DbClient dbClient , VNXeApiClient apiClient , FileExport newExport ) { _logger . info ( "upading file export. " ) ; FSExportMap exports = fsObj . getFsExports ( ) ; if ( exports == null ) { exports = new FSExportMap ( ) ; } VNXeNfsShare nfsShare = apiClient . findNfsShare ( fsObj . getNativeId ( ) , shareName ) ; String nfsShareId = nfsShare . getId ( ) ; newExport . setIsilonId ( nfsShareId ) ; exports . put ( newExport . getFileExportKey ( ) , newExport ) ; fsObj . setFsExports ( exports ) ; updateExportRules ( fsObj . getId ( ) , newExport , dbClient ) ; dbClient . persistObject ( fsObj ) ; }
update fileshare after exported in vnxe
