Package org.dspace.app.rest.model
Class ProcessRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<Integer>
-
- org.dspace.app.rest.model.ProcessRest
-
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="files",method="getFilesFromProcess") @LinkRest(name="filetypes",method="getFileTypesFromProcess") @LinkRest(name="output",method="getOutputFromProcess") public class ProcessRest extends BaseObjectRest<Integer>
This class serves as a REST representation for theProcessclass- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringFILE_TYPESstatic StringFILESstatic StringNAMEstatic StringOUTPUTstatic StringPLURAL_NAME-
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, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description ProcessRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()DategetEndTime()IntegergetId()List<ParameterValueRest>getParameterRestList()IntegergetProcessId()org.dspace.content.ProcessStatusgetProcessStatus()StringgetScriptName()DategetStartTime()StringgetType()UUIDgetUserId()voidsetEndTime(Date endTime)voidsetParameterRestList(List<ParameterValueRest> parameterRestList)voidsetProcessId(Integer processId)voidsetProcessStatus(org.dspace.content.ProcessStatus processStatus)voidsetScriptName(String scriptName)voidsetStartTime(Date startTime)voidsetUserId(UUID userId)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, 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
-
FILES
public static final String FILES
- See Also:
- Constant Field Values
-
FILE_TYPES
public static final String FILE_TYPES
- See Also:
- Constant Field Values
-
OUTPUT
public static final String OUTPUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getType
public String getType()
-
getUserId
public UUID getUserId()
-
setUserId
public void setUserId(UUID userId)
-
getProcessId
public Integer getProcessId()
-
setProcessId
public void setProcessId(Integer processId)
-
getProcessStatus
public org.dspace.content.ProcessStatus getProcessStatus()
-
setProcessStatus
public void setProcessStatus(org.dspace.content.ProcessStatus processStatus)
-
getParameterRestList
public List<ParameterValueRest> getParameterRestList()
-
setParameterRestList
public void setParameterRestList(List<ParameterValueRest> parameterRestList)
-
getStartTime
public Date getStartTime()
-
setStartTime
public void setStartTime(Date startTime)
-
getScriptName
public String getScriptName()
-
setScriptName
public void setScriptName(String scriptName)
-
getEndTime
public Date getEndTime()
-
setEndTime
public void setEndTime(Date endTime)
-
getId
public Integer getId()
- Overrides:
getIdin classBaseObjectRest<Integer>
-
-