@Override
    public Void call() throws PortalException {
      StagedModelRepository<T> stagedModelRepository = getStagedModelRepository();

      if (stagedModelRepository == null) {
        return null;
      }

      T stagedModel = stagedModelRepository.fetchStagedModelByUuidAndGroupId(_uuid, _groupId);

      if (stagedModel == null) {
        return null;
      }

      Date endDate = null;

      if (_dateRange != null) {
        endDate = _dateRange.getEndDate();
      }

      ExportImportDateUtil.updateLastPublishDate(
          (StagedGroupedModel) stagedModel, _dateRange, endDate);

      stagedModelRepository.saveStagedModel(stagedModel);

      return null;
    }
    @Override
    public Void call() throws PortalException {
      StagedModelRepository<T> stagedModelRepository = getStagedModelRepository();

      if (stagedModelRepository == null) {
        return null;
      }

      T stagedModel = stagedModelRepository.fetchStagedModelByUuidAndGroupId(_uuid, _groupId);

      if (stagedModel == null) {
        return null;
      }

      Date endDate = null;

      if (_dateRange != null) {
        endDate = _dateRange.getEndDate();
      }

      ExportImportDateUtil.updateLastPublishDate(
          (StagedGroupedModel) stagedModel, _dateRange, endDate);

      ServiceContext serviceContext = new ServiceContext();

      serviceContext.setModifiedDate(stagedModel.getModifiedDate());

      ServiceContextThreadLocal.pushServiceContext(serviceContext);

      try {
        stagedModelRepository.saveStagedModel(stagedModel);
      } finally {
        ServiceContextThreadLocal.popServiceContext();
      }

      return null;
    }