20
|
1
|
|
2 namespace JungleDB {
|
|
3 public interface JungleTreeEditor {
|
|
4 Either<Error,JungleTreeEditor> addNewChildAt(NodePath path,int pos);
|
|
5 Either<Error,JungleTreeEditor> deleteChildAt(NodePath path,int pos);
|
|
6 Either<Error,JungleTreeEditor> putAttribute(NodePath path,string key, byte[] value);
|
28
|
7 // add Method put Attribute (path, T?);
|
20
|
8 Either<Error,JungleTreeEditor> deleteAttribute(NodePath path,string key);
|
|
9 Either<Error, JungleTreeEditor> replaceNewRootNode();
|
28
|
10 Either<Error,JungleTreeEditor> edit(NodePath path, NodeEditor editor);
|
20
|
11 Either<Error,JungleTreeEditor> commit();
|
|
12 Either<Error,JungleTreeEditor> flushSuccess();
|
|
13
|
|
14 }
|
|
15 }
|