Klasse AdminCorrectionService
java.lang.Object
de.delinkedde.areashopreborn.application.AdminCorrectionService
Applies audited administrative ownership corrections across SQLite and WorldGuard.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAdminCorrectionService(Database database, EstateRepository repository, WorldGuardGateway worldGuard, ThreadBridge threads) Creates the correction service. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungsetLandlord(UUID actorId, String cityName, UUID landlordId) Changes a city landlord and propagates the commercial recipient to all direct parcels.Replaces a region owner and mirrors the new access domain to WorldGuard.
-
Konstruktordetails
-
AdminCorrectionService
public AdminCorrectionService(Database database, EstateRepository repository, WorldGuardGateway worldGuard, ThreadBridge threads) Creates the correction service.- Parameter:
database- asynchronous database executorrepository- estate repositoryworldGuard- WorldGuard adapterthreads- server-thread bridge
-
-
Methodendetails
-
setOwner
Replaces a region owner and mirrors the new access domain to WorldGuard.- Parameter:
actorId- administrator performing the correctionregionName- region display name or protection identifierownerId- replacement owner or virtual server identity- Gibt zurück:
- completion future
-
setLandlord
Changes a city landlord and propagates the commercial recipient to all direct parcels.- Parameter:
actorId- administrator performing the correctioncityName- city display name or protection identifierlandlordId- replacement landlord or virtual server identity- Gibt zurück:
- completion future
-