Interface TransactionManager
public interface TransactionManager
Manages write transactions for plugins.
Each transaction is scoped to one plugin identity and one document.
-
Method Summary
Modifier and TypeMethodDescriptionopenTransaction(PluginContext ctx, DocumentId docId) Opens a new write transaction for the given plugin context and document.
-
Method Details
-
openTransaction
ModelTransaction openTransaction(PluginContext ctx, DocumentId docId) throws TransactionException, CubismPermissionException Opens a new write transaction for the given plugin context and document.- Throws:
TransactionException- if a transaction is already open for this plugin+document, or if permission is denied.CubismPermissionException- if the plugin lacks the required write permission.
-