Package org.dspace.app.rest.model
Class ClaimedTaskRest
- All Implemented Interfaces:
Serializable,RestModel
@LinksRest(links=@LinkRest(name="step",method="getStep"))
public class ClaimedTaskRest
extends BaseObjectRest<Integer>
The ClaimedTask REST Resource
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOwner()getType()voidsetAction(WorkflowActionRest action) voidsetOwner(EPersonRest owner) voidsetWorkflowitem(WorkflowItemRest workflowitem) Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
STEP
- See Also:
-
-
Constructor Details
-
ClaimedTaskRest
public ClaimedTaskRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getAction
- Returns:
- the action
- See Also:
-
setAction
-
getOwner
- Returns:
- the owner of the task
- See Also:
-
setOwner
-
getWorkflowitem
- Returns:
- the WorkflowItemRest that belong to this claimed task
-
setWorkflowitem
-