public boolean snapshotDisableImageAccessSingleStep(URI rpSystemId,List<URI> snapshots,boolean isRollback,String token) throws ControllerException {
  try {
    WorkflowStepCompleter.stepExecuting(token);
    boolean setSnapshotSyncActive=true;
    disableImageForSnapshots(rpSystemId,snapshots,isRollback,setSnapshotSyncActive,token);
    WorkflowStepCompleter.stepSucceded(token);
  }
 catch (  Exception e) {
    _log.error(String.format("snapshotDisableImageAccessSingleStep Failed - Protection System: %s",String.valueOf(rpSystemId)));
    return stepFailed(token,e,"snapshotDisableImageAccessSingleStep");
  }
  return true;
}

public boolean snapshotDisableImageAccessSingleStep ( URI rpSystemId , List < URI > snapshots , boolean isRollback , String token ) throws ControllerException { try { WorkflowStepCompleter . stepExecuting ( token ) ; boolean setSnapshotSyncActive = true ; disableImageForSnapshots ( rpSystemId , snapshots , isRollback , setSnapshotSyncActive , token ) ; WorkflowStepCompleter . stepSucceded ( token ) ; } catch ( Exception e ) { _log . error ( String . format ( "snapshotDisableImageAccessSingleStep Failed - Protection System: %s" , String . valueOf ( rpSystemId ) ) ) ; return stepFailed ( token , e , "snapshotDisableImageAccessSingleStep" ) ; } return true ; }
workflow step method for disabling an image access . called only when disabling image access during a snapshot create that is part array snapshot and part rp bookmark .
