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 String
getInteractionModel()
Get the interaction model of the resource being createdFedoraId
getParentId()
Get the identifier of the parent of the resource being createddefault ResourceOperationType
getType()
Returns the type of operation represented by this requestboolean
isArchivalGroup()
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:ResourceOperation
Returns the type of operation represented by this request- Specified by:
getType
in 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
-
-