Class DeleteResourceOperationBuilder
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
-
- org.fcrepo.kernel.impl.operations.DeleteResourceOperationBuilder
-
- All Implemented Interfaces:
ResourceOperationBuilder
public class DeleteResourceOperationBuilder extends AbstractResourceOperationBuilder implements ResourceOperationBuilder
Builder for operations to delete a resource- Author:
- bbpennel
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
rescId, transaction, userPrincipal
-
-
Constructor Summary
Constructors Constructor Description DeleteResourceOperationBuilder(Transaction transaction, FedoraId rescId)
Construct the builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteResourceOperation
build()
Build the ResourceOperation constructed by this builder-
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
userPrincipal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperationBuilder
userPrincipal
-
-
-
-
Constructor Detail
-
DeleteResourceOperationBuilder
public DeleteResourceOperationBuilder(Transaction transaction, FedoraId rescId)
Construct the builder- Parameters:
transaction
- the transactionrescId
- identifier of the resource to delete
-
-
Method Detail
-
build
public DeleteResourceOperation build()
Description copied from interface:ResourceOperationBuilder
Build the ResourceOperation constructed by this builder- Specified by:
build
in interfaceResourceOperationBuilder
- Returns:
- the constructed operation
-
-