Package org.dspace.app.rest.model
Class 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 the
Process class- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic 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 TypeMethodDescriptiongetId()getType()voidsetEndTime(Date endTime) voidsetParameterRestList(List<ParameterValueRest> parameterRestList) voidsetProcessId(Integer processId) voidsetProcessStatus(ProcessStatus processStatus) voidsetScriptName(String scriptName) voidsetStartTime(Date startTime) voidMethods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, 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:
-
FILES
- See Also:
-
FILE_TYPES
- See Also:
-
OUTPUT
- See Also:
-
-
Constructor Details
-
ProcessRest
public ProcessRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getUserId
-
setUserId
-
getProcessId
-
setProcessId
-
getProcessStatus
-
setProcessStatus
-
getParameterRestList
-
setParameterRestList
-
getStartTime
-
setStartTime
-
getScriptName
-
setScriptName
-
getEndTime
-
setEndTime
-
getId
- Overrides:
getIdin classBaseObjectRest<Integer>
-