Package org.dspace.app.rest.model
Class BaseObjectRest<T extends Serializable>
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<T>
-
- Type Parameters:
T- the class of the resource identifier
- All Implemented Interfaces:
Serializable,RestModel,org.springframework.hateoas.Identifiable<T>
- Direct Known Subclasses:
AInprogressSubmissionRest,AuthenticationStatusRest,AuthnRest,AuthorityRest,AuthorizationFeatureRest,AuthorizationRest,BitstreamFormatRest,BrowseIndexRest,ClaimedTaskRest,DiscoveryResultsRest,DSpaceObjectRest,EntityTypeRest,ExternalSourceEntryRest,ExternalSourceRest,FacetConfigurationRest,HarvestedCollectionRest,HarvesterMetadataRest,MetadataFieldRest,MetadataSchemaRest,PoolTaskRest,ProcessRest,RelationshipRest,RelationshipTypeRest,ResourcePolicyRest,ScriptRest,SearchConfigurationRest,SearchEventRest,SearchSupportRest,StatisticsSupportRest,SubmissionDefinitionRest,SubmissionFormRest,SubmissionSectionRest,SubmissionUploadRest,TemplateItemRest,VersionHistoryRest,VersionRest,ViewEventRest,WorkflowActionRest,WorkflowDefinitionRest,WorkflowStepRest
public abstract class BaseObjectRest<T extends Serializable> extends RestAddressableModel implements org.springframework.hateoas.Identifiable<T>
Base class for any REST resource that need to be addressable- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Tid-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description BaseObjectRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ErrorRest>getErrors()TgetId()voidsetErrors(List<ErrorRest> errors)voidsetId(T id)-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getCategory, getController, 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
getType, getTypePlural
-
-
-
-
Field Detail
-
id
protected T extends Serializable id
-
-