administrative package
DCType (Deleted)
app.bulkedit package
BulkEditChange
- registerRemove,registerAdd, registerConstant, getAdds, getRemoves, getConstant, getComplete, now require a newly created BulkEditMetadataValue instead of a Metadatum (values retrieved from a csv cannot be transformed into a MetadataValue anymore)
MetadataImport
- getAuthorityValueType() method moved to AuthorityValueService
app.itemexport package
ItemExport => ItemExportService
- Class has been split into ItemExportService & ItemExportCLITool
- exportAsZip now requires an Iterator<Item> instead of an ItemIterator
- getExportDownloadDirectory,deleteOldExportArchives methods now require an EPerson instead of an identifier
- getExportFileSize & getExportFileLastModified now require a context
app.itemimport package
ItemImport => ItemImportService
Factory usage: ItemImportServiceFactory.getInstance().getItemImportService()
- Class has been split into ItemImportService & ItemImportCLITool
- addItemsAtomic(), addItems(), require a collection list instead of an array
- getImportUploadableDirectory() now requires an EPerson
- processUIImport() methods now require a template boolean
- now has setters/getters to control if service should be used in test/resume, useWorkflow,
app.itemupdate package
ItemArchive
- addUndoDeleteContents method now requires a UUID.
app.util package
AbstractDSpaceWebapp
- The class remains but all code related to the WebApp database table has been moved to the respective WebApp, WebAppService, WebAppDAO classes.
- getApps method has been moved to WebAppService and now returns a list of WebApp objects
MetadataExposure => MetadataExposureService
Factory usage: UtilServiceFactory.getInstance().getMetadataExposureService();
- Has been refactored into MetadataExposureService
OpenSearch => OpenSearchService
- Has been refactored into OpenSearchService
- getResultsString(), getResultsDoc() methods now require a context
SyndicationFeed
- populate() method now requires a context.
Util
- getControlledVocabulariesDisplayValueLocalized now requires a list of MetadataValues instead of an array of Metadatum
MetadataUtilities
- deleteMetadataByValue(), appendMetadata() methods now require a context
- getDCValueString now requries a metadata value
- readDeleteContentsFile() now returns a list of strings, this is due to the fact that exported files can have both legacy integers as well as UUIDS.
app.mediafilter package
MediaFilterManager => MediaFilterService
- Class been split into MediaFilterService & MediaFilterCLITool
FormatFilter
- getDestinationStream(), preProcessBitstream() now require verbose boolean
- getDestinationStream() now requires an item
ImageMagickThumbnailFilter
- getThumbnailFile(), getImageFile(), now requires verbose boolean
MediaFilter
- preProcessBitstream() now requires verbose boolean
app.sfx package
SFXFileReader => SFXFileReaderService
- SFXFileReader migrated to SFXFileReaderService
app.statistics package
LogAnalyser
- Now uses a discovery query to retrieve items by accessioned date instead of a complex query.
authenticate package
AuthenticationManager => AuthenticationService
- Migrated to: AuthenticationService
- getSpecialGroups() method now returns a list of groups instead of array of identifiers
AuthenticationMethod
- getSpecialGroups() method now returns a list of groups instead of array of identifiers
PasswordAuthentication
- getSpecialGroups() method now returns a list of groups instead of array of identifiers
ShibAuthentication
- getSpecialGroups() method now returns a list of groups instead of array of identifiers
authority package
AuthorityValue
- getAuthorityTypes() method moved to AuthorityServiceFactory.getInstance().getAuthorTypes();
- fromSolr() method moved to AuthorityValueService.
- updateItem() method now requires context
AuthorityValueGenerator & AuthorityValueFinder => AuthorityValueService
- Migrated into AuthorityValueService
AuthorityIndexClient
- indexItem() method moved to AuthorityService
authorize Package
AuthorizeManager => AuthorizeService
- getAuthorizedGroups now returns a list instead of an array of groups
- isAnIdenticalPolicyAlreadyInPlace now requires a group as argument instead of a group identifier
- isAnIdenticalPolicyAlreadyInPlace with dsoType & dsoId parameters has been removed, use the one which passes a DSpaceObject.
- removeGroupPolicies(Context c, int groupID) now requires a group instead of a group identifier
- getAuthorizedGroups now returns a list instead of an array of groups
- findByTypeIdGroupAction(Context c, int dsoType, int dsoID, int groupID, int action, int policyID) has been changed to use Group & DSpaceObject instead of integers.
- createOrModifyPolicy groupID parameter has been adjusted to use the group object
PolicySet
- setPolicies() methods now require UUIDs instead of integers
ResourcePolicy => ResourcePolicy & ResourcePolicyService
- setResource() renamed to setdSpaceObject()
- update(context) now also requires an object to update
- delete(context) now also requires an object to delete
Browse package
General
- BrowseCreateDAOPostgres
- BrowseCreateDAOOracle
- BrowseDAOUtilsOracle
- BrowseDAOUtilsPostgres
- BrowseItemDAOOracle
- BrowseItemDAOPostgres
- ItemCountDAOOracle
- ItemCountDAOPostgres
- BrowseDAOOracle
- BrowseDAOPostgres
BrowseItem (Deleted)
- Class has been removed, uses Item/ItemService now
BrowseItemDAO (Deleted)
- Class has been removed, use ItemService now
BrowseInfo
- getBrowseItemResults() now returns list of items instead of array of BrowseItem objects
- getItemResults() method removed, use getBrowseItemResults() instead
BrowseCreateDAO
- deleteByItemID(), deleteCommunityMappings(), updateCommunityMappings(), insertIndex(), updateIndex(), updateDistinctMappings(), deleteMappingsByItemID(), now require a UUID instead of an integer
BrowseDAO
- getContainerID()/setContainerID() methods now require/return a UUID instead of an integer
- oQuery() now returns items instead of browseItems
BrowseDAOFactory
- getItemInstance() method has been removed, we are now using itemService directly
- getUtils() method removed, wasn’t used.
BrowseDAOUtils (Deleted)
- Class has been removed (wasn't used anymore)
BrowseDAOUtilsDefault (Deleted)
- Class has been removed (wasn't used anymore)
IndexBrowse
- itemRemoved() method now requires a UUID instead of integer
- itemMetadataProxy inner class has been removed, use Item class instead
SolrBrowseDAO
- getContainerID()/setContainerID() methods now require/return a UUID instead of an integer
- deleteByItemID(), deleteCommunityMappings(), updateCommunityMappings(), insertIndex(), updateIndex(), updateDistinctMappings(), deleteMappingsByItemID(), now require a UUID instead of an integer
Checker package
BitstreamDAO (Deleted)
Class has been removed, use bitstreamService.retrieve to get an input stream for a bitstream
BitstreamDispatcher
next() method uses bitstreams instead of integers
BitstreamInfoDAO (Deleted)
- Uses combo of bitstreamService & ChecksumHistoryService to perform queries
ChecksumCheckResults => ChecksumResultCode
- ChecksumCheckResults has been renamed to ChecksumResultCode and no longer is a class but an enum
ChecksumHistoryDAO
- ChecksumHistoryDAO has been moved from org.dspace.checker.ChecksumHistoryDAO to org.dspace.checker.dao.impl.ChecksumHistoryDAOImpl & code has been made hibernate compatible
DAOSupport (Deleted)
- Class removed, relied on the old Database code
ChecksumResult (New)
- ChecksumResult class created to represent a “checksum_results” table row
DSpaceBitstreamInfo
- Class has been removed, was a value object for Bitstream, uses bitstream now
ChecksumResultDAO => ChecksumResultService
ReporterDAO (Deleted)
- Class removed, use MostRecentChecksumService & ChecksumHistoryService
BitstreamInfo => MostRecentChecksum
- Has been refactored into “MostRecentChecksum” class
CheckerCommand
- Constructor now requires a context
ChecksumHistory
- getBitstreamId returns a UUID
- getResult/setResult now require/return a ChecksumResult object instead of a string
ChecksumResultsCollector
- collect() method now requires a context
HandleDispatcher
- next() method returns a bitstream instead of integer
- Constructor now uses context & handle instead of BitstreamInfoDAO & handle.
ListDispatcher => IteratorDispatcher
- Renamed to IteratorDispatcher
- Now uses an iterator instead of a list for a performance boost
LimitedCountDispatcher
- next() method returns a bitstream instead of integer
LimitedDurationDispatcher
- next() method returns a bitstream instead of integer
ResultsLogger
- collect() now uses MostRecentChecksum instead of BitstreamInfo
ResultsPruner
- getDefaultPruner(), getPruner(), constructor now require a context
- addInterested() methods require a ChecksumResultCode object instead of string representation of this object.
SimpleReporter => SimpleReporterService
Factory usage: CheckerServiceFactory.getInstance().getSimpleReporterService();
- getDeletedBitstreamReport(), getChangedChecksumReport(), getBitstreamNotFoundReport(), getNotToBeProcessedReport(), getUncheckedBitstreamsReport() methods all require a context.
SimpleReporterImpl => SimpleReporterServiceImpl
- Is now used as a service & can be requested by using the factory from the checker package
SimpleDispatcher
- Constructor now requires a context instead of BitstreamInfoDAO object
- next() method now returns bitstream instead of integer