Package org.dspace.app.rest.model
Class SubmissionUploadRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.SubmissionUploadRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class SubmissionUploadRest extends BaseObjectRest<String>
The Upload Section Configuration REST Resource- Author:
- Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAMEstatic StringNAME_LINK_ON_PANEL-
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 SubmissionUploadRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessConditionOptionRest>getAccessConditionOptions()StringgetCategory()ClassgetController()StringgetId()LonggetMaxSize()SubmissionFormRestgetMetadata()StringgetName()StringgetType()booleanisRequired()voidsetAccessConditionOptions(List<AccessConditionOptionRest> accessConditions)voidsetMaxSize(Long maxSize)voidsetMetadata(SubmissionFormRest metadata)voidsetName(String name)voidsetRequired(boolean required)-
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
-
NAME_LINK_ON_PANEL
public static final String NAME_LINK_ON_PANEL
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Overrides:
getIdin classBaseObjectRest<String>
-
setName
public void setName(String name)
-
getName
public String getName()
-
getType
public String getType()
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getAccessConditionOptions
public List<AccessConditionOptionRest> getAccessConditionOptions()
-
setAccessConditionOptions
public void setAccessConditionOptions(List<AccessConditionOptionRest> accessConditions)
-
isRequired
public boolean isRequired()
-
setRequired
public void setRequired(boolean required)
-
getMaxSize
public Long getMaxSize()
-
setMaxSize
public void setMaxSize(Long maxSize)
-
getMetadata
public SubmissionFormRest getMetadata()
-
setMetadata
public void setMetadata(SubmissionFormRest metadata)
-
-