Package org.dspace.app.util
Class DSpaceObjectUtilsImpl
- java.lang.Object
-
- org.dspace.app.util.DSpaceObjectUtilsImpl
-
- All Implemented Interfaces:
DSpaceObjectUtils
public class DSpaceObjectUtilsImpl extends Object implements DSpaceObjectUtils
-
-
Constructor Summary
Constructors Constructor Description DSpaceObjectUtilsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DSpaceObjectfindDSpaceObject(Context context, UUID uuid)Retrieve a DSpaceObject from its uuid.
-
-
-
Method Detail
-
findDSpaceObject
public DSpaceObject findDSpaceObject(Context context, UUID uuid) throws SQLException
Retrieve a DSpaceObject from its uuid. As this method need to iterate over all the different services that support concrete class of DSpaceObject it has poor performance. Please consider the use of the direct service (ItemService, CommunityService, etc.) if you know in advance the type of DSpaceObject that you are looking for- Specified by:
findDSpaceObjectin interfaceDSpaceObjectUtils- Parameters:
context- DSpace contextuuid- the uuid to lookup- Returns:
- the DSpaceObject if any with the supplied uuid
- Throws:
SQLException
-
-