1 18 package sync4j.framework.engine; 19 20 import java.security.Principal ; 21 22 import sync4j.framework.engine.SyncItem; 23 24 37 public interface SyncOperation { 38 39 public static final char NEW = 'N'; 40 public static final char DELETE = 'D'; 41 public static final char UPDATE = 'U'; 42 public static final char CONFLICT = 'O'; 43 public static final char ACCEPT_CHUNK = 'A'; 44 public static final char NOP = '-'; 45 46 public SyncItem getSyncItemA(); 47 public void setSyncItemA(SyncItem syncItemA); 48 49 public SyncItem getSyncItemB(); 50 public void setSyncItemB(SyncItem syncItemB); 51 52 57 public boolean isAOperation(); 58 public void setAOperation(boolean a); 59 60 65 public boolean isBOperation(); 66 public void setBOperation(boolean b); 67 68 public char getOperation(); 69 70 75 public Principal getOwner(); 76 } | Popular Tags |