Klasse AdminCorrectionService

java.lang.Object
de.delinkedde.areashopreborn.application.AdminCorrectionService

public final class AdminCorrectionService extends Object
Applies audited administrative ownership corrections across SQLite and WorldGuard.
  • Konstruktordetails

    • AdminCorrectionService

      public AdminCorrectionService(Database database, EstateRepository repository, WorldGuardGateway worldGuard, ThreadBridge threads)
      Creates the correction service.
      Parameter:
      database - asynchronous database executor
      repository - estate repository
      worldGuard - WorldGuard adapter
      threads - server-thread bridge
  • Methodendetails

    • setOwner

      public CompletableFuture<Void> setOwner(UUID actorId, String regionName, UUID ownerId)
      Replaces a region owner and mirrors the new access domain to WorldGuard.
      Parameter:
      actorId - administrator performing the correction
      regionName - region display name or protection identifier
      ownerId - replacement owner or virtual server identity
      Gibt zurück:
      completion future
    • setLandlord

      public CompletableFuture<Void> setLandlord(UUID actorId, String cityName, UUID landlordId)
      Changes a city landlord and propagates the commercial recipient to all direct parcels.
      Parameter:
      actorId - administrator performing the correction
      cityName - city display name or protection identifier
      landlordId - replacement landlord or virtual server identity
      Gibt zurück:
      completion future