Class PurgeResourceOperationBuilder
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
-
- org.fcrepo.kernel.impl.operations.PurgeResourceOperationBuilder
-
- All Implemented Interfaces:
ResourceOperationBuilder
public class PurgeResourceOperationBuilder extends AbstractResourceOperationBuilder implements ResourceOperationBuilder
Builder for operations to purge a resource- Author:
- whikloj
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperationBuilder
rescId, transaction, userPrincipal
-
-
Constructor Summary
Constructors Constructor Description PurgeResourceOperationBuilder(Transaction transaction, FedoraId rescId)
Construct the builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurgeResourceOperation
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
-
PurgeResourceOperationBuilder
public PurgeResourceOperationBuilder(Transaction transaction, FedoraId rescId)
Construct the builder- Parameters:
transaction
- the transactionrescId
- identifier of the resource to delete
-
-
Method Detail
-
build
public PurgeResourceOperation build()
Description copied from interface:ResourceOperationBuilder
Build the ResourceOperation constructed by this builder- Specified by:
build
in interfaceResourceOperationBuilder
- Returns:
- the constructed operation
-
-