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, CORE, DISCOVER, EPERSON, INTEGRATION, 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, setProjectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
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
-
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
-