1 16 package org.apache.cocoon.components.repository.helpers; 17 18 import org.apache.cocoon.ProcessingException; 19 20 23 public interface RepositoryTransactionHelper { 24 25 31 boolean beginTran() throws ProcessingException; 32 33 39 boolean commitTran() throws ProcessingException; 40 41 47 boolean rollbackTran() throws ProcessingException; 48 49 56 boolean lock(String uri) throws ProcessingException; 57 58 66 boolean lock(String uri, int timeout) throws ProcessingException; 67 68 75 boolean unlock(String uri) throws ProcessingException; 76 77 82 boolean supportsTransactions(); 83 84 89 boolean supportsLocking(); 90 91 } | Popular Tags |