Package org.fcrepo.kernel.api.operations
Interface CreateResourceOperation
-
- All Superinterfaces:
ResourceOperation
- All Known Subinterfaces:
CreateRdfSourceOperation
- All Known Implementing Classes:
CreateNonRdfSourceOperation,CreateRdfSourceOperationImpl
public interface CreateResourceOperation extends ResourceOperation
Operation for creating a resource- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetInteractionModel()Get the interaction model of the resource being createdFedoraIdgetParentId()Get the identifier of the parent of the resource being createddefault ResourceOperationTypegetType()Returns the type of operation represented by this requestbooleanisArchivalGroup()A 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 Detail
-
getParentId
FedoraId getParentId()
Get the identifier of the parent of the resource being created- Returns:
- identifer of parent
-
getInteractionModel
String getInteractionModel()
Get the interaction model of the resource being created- Returns:
- interaction model
-
getType
default ResourceOperationType 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
-
-