Package org.dspace.app.rest.model
Class PoolTaskRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<Integer>
-
- org.dspace.app.rest.model.PoolTaskRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinksRest(links=@LinkRest(name="step",method="getStep")) public class PoolTaskRest extends BaseObjectRest<Integer>
The PoolTask REST Resource- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAMEstatic StringPLURAL_NAMEstatic StringSTEP-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
Fields 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 Constructor Description PoolTaskRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()StringgetCategory()ClassgetController()EPersonRestgetEperson()GroupRestgetGroup()StringgetType()WorkflowItemRestgetWorkflowitem()voidsetAction(String action)voidsetEperson(EPersonRest eperson)voidsetGroup(GroupRest group)voidsetWorkflowitem(WorkflowItemRest workflowitem)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setId
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PLURAL_NAME
public static final String PLURAL_NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
STEP
public static final String STEP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getAction
public String getAction()
- Returns:
- See Also:
PoolTask.getActionID()
-
setAction
public void setAction(String action)
-
getEperson
public EPersonRest getEperson()
- Returns:
- See Also:
PoolTask.getEperson()
-
setEperson
public void setEperson(EPersonRest eperson)
-
getGroup
public GroupRest getGroup()
- Returns:
- See Also:
PoolTask.getGroup()
-
setGroup
public void setGroup(GroupRest group)
-
getWorkflowitem
public WorkflowItemRest getWorkflowitem()
- Returns:
- the WorkflowItemRest that belong to this pool task
-
setWorkflowitem
public void setWorkflowitem(WorkflowItemRest workflowitem)
-
-