code: public void restoreDeletedResource(CmsRequestContext context, CmsUUID structureId) throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              checkOfflineProject(dbc);
              // write permissions on parent folder are checked later
              m_driverManager.restoreDeletedResource(dbc, structureId);
          } catch (Exception e) {
              dbc.report(null, Messages.get().container(Messages.ERR_RESTORE_DELETED_RESOURCE_1, structureId), e);
          } finally {
              dbc.clear();
          }
      }
docs: Restores a deleted resource identified by its structure id from the historical archive.<p>
  
  @param context the current request context
  @param structureId the structure id of the resource to restore
  
  @throws CmsException if something goes wrong
  
  @see CmsObject#restoreDeletedResource(CmsUUID)