Package org.dspace.app.rest.repository
Interface ReloadableEntityObjectRepository<T extends ReloadableEntity<PK>,PK extends Serializable>
- Type Parameters:
T- the ReloadableEntity typePK- the primary key type
- All Known Implementing Classes:
BitstreamRestRepository,BundleRestRepository,CollectionRestRepository,CommunityRestRepository,DSpaceObjectRestRepository,EPersonRestRepository,GroupRestRepository,ItemRestRepository,SiteRestRepository,VersionRestRepository,WorkspaceItemRestRepository
public interface ReloadableEntityObjectRepository<T extends ReloadableEntity<PK>,PK extends Serializable>
This interface must be implemented by all the rest repository that need to
provide access to the DSpace API model objects corresponding to the REST
resources that it manages
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
-
Method Summary
-
Method Details
-
findDomainObjectByPk
- Parameters:
context- the DSpace contextid- the primary key shared between the rest and dspace api object- Returns:
- the dspace api model object related to the specified id
- Throws:
SQLException- if a database error occurs
-
getPKClass
- Returns:
- the class of the primary key
-