1 package org.exoplatform.services.xml.querying.helper; 2 3 import org.exoplatform.services.xml.querying.InvalidStatementException; 4 import org.exoplatform.services.xml.querying.Statement; 5 import org.exoplatform.services.xml.querying.XMLData; 6 import org.exoplatform.services.xml.querying.XMLWellFormedData; 7 8 public interface SimpleStatementHelper { 9 17 Statement append(String match, String source, String destination, XMLData value) throws InvalidStatementException; 18 19 26 Statement append(String match, String resource, XMLData value) throws InvalidStatementException; 27 28 34 Statement append(String match, XMLData value) throws InvalidStatementException; 35 36 42 Statement create(String resource, XMLWellFormedData initTree) throws InvalidStatementException; 43 44 51 Statement delete(String match, String source, String destination) throws InvalidStatementException; 52 53 59 Statement delete(String match, String resource) throws InvalidStatementException; 60 61 66 Statement delete(String match) throws InvalidStatementException; 67 68 73 Statement drop(String resource) throws InvalidStatementException; 74 75 82 Statement select(String match, String source, String destination) throws InvalidStatementException; 83 84 90 Statement select(String match, String resource) throws InvalidStatementException; 91 92 97 Statement select(String match) throws InvalidStatementException; 98 99 107 Statement update(String match, String source, String destination, XMLData value) throws InvalidStatementException; 108 109 116 Statement update(String match, String resource, XMLData value) throws InvalidStatementException; 117 118 124 Statement update(String match, XMLData value) throws InvalidStatementException; 125 } 126 | Popular Tags |