1 package net.pterodactylus.sone.core;
3 import net.pterodactylus.sone.freenet.wot.Identity;
4 import net.pterodactylus.sone.freenet.wot.OwnIdentity;
5 import net.pterodactylus.util.service.Service;
7 import com.google.inject.ImplementedBy;
10 * Updates WebOfTrust identity data.
12 @ImplementedBy(WebOfTrustUpdaterImpl.class)
13 public interface WebOfTrustUpdater extends Service {
15 void setTrust(OwnIdentity truster, Identity trustee, Integer score, String comment);
16 boolean addContextWait(OwnIdentity ownIdentity, String context);
17 void removeContext(OwnIdentity ownIdentity, String context);
18 void setProperty(OwnIdentity ownIdentity, String propertyName, String propertyValue);
19 void removeProperty(OwnIdentity ownIdentity, String propertyName);