docs: public Long getRecordIdFromObject(final UUID objectId, final ObjectType objectType, final TenantContext context) {
          try {
              if (objectBelongsToTheRightTenant(objectId, objectType, context)) {
                  return nonEntityDao.retrieveRecordIdFromObject(objectId, objectType, recordIdCacheController);
              } else {
                  return null;
              }
          } catch (final ObjectDoesNotExist e) {
              return null;
          }
      }