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 * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
14 @ImplementedBy(WebOfTrustUpdaterImpl.class)
15 public interface WebOfTrustUpdater extends Service {
17 void setTrust(OwnIdentity truster, Identity trustee, Integer score, String comment);
18 boolean addContextWait(OwnIdentity ownIdentity, String context);
19 void removeContext(OwnIdentity ownIdentity, String context);
20 void setProperty(OwnIdentity ownIdentity, String propertyName, String propertyValue);
21 void removeProperty(OwnIdentity ownIdentity, String propertyName);