Package org.dspace.app.rest.model
Class ItemRest
java.lang.Object
org.dspace.app.rest.model.RestAddressableModel
org.dspace.app.rest.model.BaseObjectRest<String>
org.dspace.app.rest.model.DSpaceObjectRest
org.dspace.app.rest.model.ItemRest
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="accessStatus",method="getAccessStatus") @LinkRest(name="bundles",method="getBundles") @LinkRest(name="identifiers",method="getIdentifiers") @LinkRest(name="mappedCollections",method="getMappedCollections") @LinkRest(name="owningCollection",method="getOwningCollection") @LinkRest(name="relationships",method="getRelationships") @LinkRest(name="version",method="getItemVersion") @LinkRest(name="templateItemOf",method="getTemplateItemOf") @LinkRest(name="thumbnail",method="getThumbnail") @LinkRest(name="submitter",method="getItemSubmitter")
public class ItemRest
extends DSpaceObjectRest
The Item REST Resource
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic 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, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetType()booleanvoidsetDiscoverable(boolean discoverable) voidsetEntityType(String entityType) voidsetInArchive(boolean inArchive) voidsetLastModified(Instant lastModified) voidsetWithdrawn(boolean withdrawn) Methods inherited from class org.dspace.app.rest.model.DSpaceObjectRest
getController, getHandle, getId, getMetadata, getName, getUuid, setHandle, setMetadata, setName, setUuidMethods 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, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
ACCESS_STATUS
- See Also:
-
BUNDLES
- See Also:
-
IDENTIFIERS
- See Also:
-
MAPPED_COLLECTIONS
- See Also:
-
OWNING_COLLECTION
- See Also:
-
RELATIONSHIPS
- See Also:
-
VERSION
- See Also:
-
TEMPLATE_ITEM_OF
- See Also:
-
THUMBNAIL
- See Also:
-
SUBMITTER
- See Also:
-
-
Constructor Details
-
ItemRest
public ItemRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
-
getInArchive
public boolean getInArchive() -
setInArchive
public void setInArchive(boolean inArchive) -
getDiscoverable
public boolean getDiscoverable() -
setDiscoverable
public void setDiscoverable(boolean discoverable) -
getWithdrawn
public boolean getWithdrawn() -
setWithdrawn
public void setWithdrawn(boolean withdrawn) -
getLastModified
-
setLastModified
-
getEntityType
-
setEntityType
-