Package org.fcrepo.kernel.api.operations
Interface CreateResourceOperation
- All Superinterfaces:
ResourceOperation
- All Known Subinterfaces:
CreateRdfSourceOperation,OverwriteTombstoneOperation
Operation for creating a resource
- Author:
- bbpennel
-
Method Summary
Modifier and TypeMethodDescriptionGet the interaction model of the resource being createdGet the identifier of the parent of the resource being createddefault ResourceOperationTypegetType()Returns the type of operation represented by this requestbooleanA flag indicating whether or the new resource should be created as an archival group.Methods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperation
getResourceId, getTransaction, getUserPrincipal
-
Method Details
-
getParentId
Get the identifier of the parent of the resource being created- Returns:
- identifer of parent
-
getInteractionModel
Get the interaction model of the resource being created- Returns:
- interaction model
-
getType
Description copied from interface:ResourceOperationReturns the type of operation represented by this request- Specified by:
getTypein interfaceResourceOperation- Returns:
- operation type
-
isArchivalGroup
boolean isArchivalGroup()A flag indicating whether or the new resource should be created as an archival group.- Returns:
- true if archival group
-