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
- Direct Known Subclasses:
AInprogressSubmissionRest,AuthenticationStatusRest,AuthnRest,AuthorizationFeatureRest,AuthorizationRest,BitstreamFormatRest,BrowseIndexRest,ClaimedTaskRest,DiscoveryResultsRest,DSpaceObjectRest,EntityTypeRest,ExternalSourceRest,FacetConfigurationRest,FeedbackRest,HarvestedCollectionRest,HarvesterMetadataRest,MetadataFieldRest,MetadataSchemaRest,PoolTaskRest,ProcessFileTypesRest,ProcessRest,PropertyRest,RelationshipRest,RelationshipTypeRest,RequestItemRest,ResourcePolicyRest,ScriptRest,SearchConfigurationRest,SearchEventRest,SearchSupportRest,StatisticsSupportRest,SubmissionAccessOptionRest,SubmissionCCLicenseRest,SubmissionCCLicenseUrlRest,SubmissionDefinitionRest,SubmissionFormRest,SubmissionSectionRest,SubmissionUploadRest,TemplateItemRest,UsageReportPointRest,UsageReportRest,VersionHistoryRest,VersionRest,ViewEventRest,VocabularyEntryDetailsRest,VocabularyRest,WorkflowActionRest,WorkflowDefinitionRest,WorkflowStepRest
public abstract class BaseObjectRest<T extends Serializable> extends RestAddressableModel
Base class for any REST resource that need to be addressable and identifiable (via an ID)- 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
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, 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
-
-