@Scope(value="prototype")
 @Path(value="/{path: .*}/fcr:tx")
public class FedoraTransactions
extends FedoraBaseResource
| Modifier and Type | Field and Description | 
|---|---|
| protected BatchService | batchService | 
idTranslator, securityContext, sessionbinaryService, containerService, defaultPidMinter, eventBus, headers, nodeService, pidMinter, sessions, uriInfo, versionService| Constructor and Description | 
|---|
| FedoraTransactions() | 
| Modifier and Type | Method and Description | 
|---|---|
| javax.ws.rs.core.Response | commit(String externalPath)Commit a transaction resource | 
| javax.ws.rs.core.Response | createTransaction(String externalPath)Create a new transaction resource and add it to the registry | 
| javax.ws.rs.core.Response | rollback(String externalPath)Rollback a transaction | 
asNode, getBaseUrlProperty, getResourceFromPath, getUserPrincipal, session, setUpJMSInfo, translatortoPath@Inject protected BatchService batchService
public FedoraTransactions()
@POST public javax.ws.rs.core.Response createTransaction(@PathParam(value="path") String externalPath) throws URISyntaxException
externalPath - the external pathURISyntaxException - if URI syntax exception occurred@POST @Path(value="fcr:commit") public javax.ws.rs.core.Response commit(@PathParam(value="path") String externalPath)
externalPath - the external pathCopyright © 2013–2017 DuraSpace, Inc.. All rights reserved.