Contribute to the DSpace Development Fund

The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

administrative package

DCType (Deleted)

Class has been removed, isn’t used anywhere in the codebase

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

Factory usage: ItemExportServiceFactory.getInstance().getItemExportService()
  • 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

Factory usage: UtilServiceFactory.getInstance().getOpenSearchService();
  • 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

Factory usage: MediaFilterServiceFactory.getInstance().getMediaFilterService()
  • 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

Factory usage: SfxServiceFactory.getInstance().getSfxFileReaderService()
  • 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

Factory usage: AuthenticateServiceFactory.getInstance().getAuthenticationService()
  • 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

Factory usage: AuthorityServiceFactory.getInstance().getAuthorityValueService();
  • Migrated into AuthorityValueService

AuthorityIndexClient

  • indexItem() method moved to AuthorityService

authorize Package

AuthorizeManager => AuthorizeService

Factory usage: AuthorizeServiceFactory.getInstance().getAuthorizeService()
  • 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

Factory usage: AuthorizeServiceFactory.getInstance().getResourcePolicyService()
  • 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

Removed the following classes since this isn’t supported any more:
  • 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

content package

Bitstream refactored into: Bitstream, BitstreamService

Factory usage: ContentServiceFactory.getInstance().getBitstreamService();

  • findAll, getBundles, now return a list instead of an array
  • getBundles now returns an BundleBitstream object instead of a bundle
  • create method has become public and can be called with our without a bundle. When called without a bundle the class calling on this method is responsible for linking it to the proper object (logo for community for example).
  • register method is now public and requries a bundle parameter
  • setUserFormatDescription(), setFormat(), setName(), setSource(), setDescription() now require a context
  • delete, isDeleted, setDeleted, setInternalId methods are now public
  • delete, update, retrieve, getFormat(), getFormatDescription() now require a context & a bitstream
  • isRegisteredBitstream now requires a bitstream

Bundle refactored into: Bundle, BundleService

Factory usage: ContentServiceFactory.getInstance().getBundleService();

  • create method has become public and must be called with an item.
  • getBitstreamByName now requires a bundle
  • createBitstream method has been removed from bundle, use bitstreamService.create() instead
  • registerBitstream method has been removed from bundle, use bitstreamService.registerBitstream() instead
  • addBitstream, inheritCollectionDefaultPolicies, replaceAllBitstreamPolicies, getBitstreamPolicies, update, delete, removeBitstream methods require a context and a bundle
  • getBundlePolicies has been removed, use authorizeService.getPolicies
  • delete is now public
  • setOrder now requires a context a bundle & a list of UUIDS instead of integers
  • getItems now returns a list instead of an array
  • getBitstreams now returns a list of BundleBitstream objects instead of bundles
  • getPrimaryBitstreamID & setPrimaryBitstreamID now renamed to getPrimaryBitstream & setPrimaryBitstream and require/return a bitstream
  • setName(),getBundlePolicies() now requires a context

BitstreamFormat refactored into: BitstreamFormat, BitstreamFormatService

Factory usage: ContentServiceFactory.getInstance().getBitstreamFormatService();

  • findAll, findNonInternal now return a list instead of an array.
  • setShortDescription is set on BitstreamFormatService & requires a context and the bitstreamformat alongside the description.
  • getSupportLevelText, setSupportLevel now require a bitstreamformat since they have been moved to the service.
  • update, delete now require a context and the bitstream format.
  • getExtensions & setExtensions now return/require a list instead of an array.

Collection refactored into: Collection, CollectionService

Factory usage: ContentServiceFactory.getInstance().getCollectionService();

  • create methods have been made public
  • findAll(), findAuthorized(),getCommunities(),findDirectMapped(), findGroup2CommunityMapped(),findGroup2GroupMapped(),findGroupMapped() methods now return a list instead of an array
  • getItems() methods  have been moved to the itemService and has been renamed to findByCollection()
  • getAllItems() method has been moved to the itemService and has been renamed to findAllByCollection()
  • getWorkflowGroup(), getLicense(), hasCustomLicense(), setWorkflowGroup() methods now require a collection parameter
  • setMetadata(), setLogo(), createWorkflowGroup(),createSubmitters(), createAdministrators(),removeAdministrators(), createTemplateItem(), removeTemplateItem(),addItem(),removeItem(), canEditBoolean(), canEdit() methods now require a context and collection parameter.
  • setLicense() now requires a context.
  • countItems() method moved to itemService

Community refactored into: Community, CommunityService

Factory usage: ContentServiceFactory.getInstance().getCommunity();

  • findAll, findAllTop now return list instead of array
  • getMetadata method now requires community as param
  • setMetadata, setLogo, createAdministrators,removeAdministrators, getAllParents, getAllCollections, addCollection, createSubcommunity, addSubcommunity, removeCollection, removeSubcommunity, delete, canEditBoolean methods now require context & community as param
  • getCollections, getSubcommunities, getAllParents, getAllCollections now return a list instead of an array
  • createCollection has moved to the collection service
  • getParentCommunity has been renamed to getParentCommunities now returns a list of communities since it is possible in the code to have multiple parent communities
  • countItems now requires a context

DSpaceObject refactored into: DSpaceObjectService

Factory usage: ContentServiceFactory.getInstance().getDSpaceLegacyObjectService(type)

  • getIdentifiers now returns a list instead of an array
  • getParentObject now requires a context & the dspaceObject you want the parent for
  • updateLastModified now requires context & the dspaceObject you want to update
  • update() now requires context & the dspaceObject you want to update
  • deprecated getDC, addDC methods have been removed
  • getMetadata methods now return a list of metadata values instead of an array of Metadatum
  • getElements(String fieldName) & getElementsFilled(String fieldName) have been made protected, wasn’t used outside of the object
  • replaceMetadataValue has been removed, use the setters on metadataValue instead.
  • addMetadata, getMetadata & clearMetadata methods now require a dspaceObject as a parameter
  • addMetadata & clear metadata require a context as a parameter
  • addMetadata has been altered to use lists instead of arrays to pass repeatable params
  • find(context, type, id) method has been removed, use: ContentServiceFactory.getInstance().getDSpaceObjectService(type).find(context, id) instead
  • finding by legacy id can be done using: 
  • ContentServiceFactory.getInstance().getDSpaceLegacyObjectService(type).findByIdOrLegacyId(context, String id)
  • resetIdentifiersCache() has been removed, caching is not used, hibernate takes care of the caching for us.
  • getAuthoritiesAndConfidences() method now requires a collection.

FormatIdentifier (Deleted)

  • Class has been removed, uses BitstreamFormatService.guessFormat() instead

InProgressSubmission refactored into: InProgressSubmission, InProgressSubmissionService

Factory usage: ContentServiceFactory.getInstance().getInProgressSubmissionService(submissionInfo)

  • deleteWrapper(), update() methods moved to InProgressSubmissionService

InstallItem refactored into: InstallItemService

Factory usage: ContentServiceFactory.getInstance().getInstallItemService();

  • method getBitstreamProvenanceMessage() now requires a context.

Item refactored into: Item, ItemService

Factory usage: ContentServiceFactory.getInstance().getItemService();

  • create is now public & requires a workspaceItem (if the workspace item is linked to another item an exception will be thrown).
  • isIn(), getBundles(String name), isOwningCollection(), hasUploadedFiles() require an item
  • getCommunities(), addBundle(),removeBundle(), createSingleBitstream(), removeDSpaceLicense(), removeLicenses(), withdraw(), reinstate(),delete(), replaceAllItemPolicies(), replaceAllBitstreamPolicies(),removeGroupPolicies(), getNonInternalBitstreams(), inheritCollectionDefaultPolicies(),adjustBundleBitstreamPolicies(), adjustItemPolicies(), move(), getCollectionsNotLinked(), canEdit() now require a context and an item
  • getCommunities, getBundles, getNonInternalBitstreams, getCollectionsNotLinked(), getCollections() now return a list instead of an array
  • createBundle has been removed, creating of a bundle is now done in the BundleService
  • item deletion is now public
  • findByMetadataField(), findByAuthorityValue(), findByMetadataFieldAuthority() now return an Iterator<Item> instead of ItemIterator
  • getThumbnail now requires an item instead of an itemid

ItemDAO

  • Is now an interface instead of a class and has become part of the DAO, model, is no longer public. Use itemService instead.

ItemDAOFactory (Deleted)

  • Class has been removed, DAO’s are autowired into the services & no factories are present

ItemDAOOracle (Deleted)

ItemDAOPostgres (Deleted)

ItemIterator (Deleted)

  • You can now use Iterator<Item>

ItemService

  • Has now become an interface
  • getThumbnail is available in this interface
  • getFirstMetadataValue removed use

MetadataAuthorityManager refactored into: MetadataAuthorityService

Factory usage: ContentAuthorityServiceFactory.getInstance().getMetadataAuthorityService();

  • isAuthorityControlled now requires a metadata field object instead of schema, element, qualifier, ..
  • isAuthorityRequired now requires a metadata field object instead of schema, element, qualifier, ...
  • getMinConfidence now requires a metadata field object instead of schema, element, qualifier ….

Metadatum (Deleted)

  • Class has been removed, MetadataValue is used

MetadataField refactored into: MetadataField, MetadataFieldService

Factory usage: ContentServiceFactory.getInstance().getMetadataFieldService();

  • create(Context context) method has been moved to MetadataFieldService.create(Context, MetadataSchema, element, qualifier, scopeNote)
  • findByElement now requires a metadataSchema OR a metadata schema name instead of an identifier
  • findAllInSchema now requires a schema instead of the identifier of a schema
  • update(context) now also requires an object to update
  • delete(context) now also requires an object to delete
  • formKey has been removed, use the toString() method from a metadataField
  • findAll, findAllInSchema now return lists instead of arrays

MetadataSchema refactored into: MetadataSchema, MetadataSchemaService

Factory usage: ContentServiceFactory.getInstance().getMetadataSchemaService();

  • MetadataSchema.DC_SCHEMA_ID has been removed, best to use the lookup by name.
  • MetadataSchema(String namespace, String name) constructor has been moved to metadataSchemaService.create(Context context, String namespace, String name)
  • create(Context context) method has been moved to metadataSchemaService.create(Context context, String namespace, String name)
  • update(context) now also requires an object to update
  • delete(context) now also requires an object to delete
  • findAll now returns a list instead of array

MetadataValue refactored into: MetadataValue, MetadataValueService

Factory usage: ContentServiceFactory.getInstance().getMetadataValueService();

 

  • create(Context context) method has been moved to metadataValueService.create(Context, DSpaceObject, MetadataField)
  • findByField(Context context, int fieldId) now uses a metadata field object instead of its identifier
  • update(context) now also requires an object to update
  • delete(context) now also requires an object to delete

SupervisedItem refactored into: SupervisedItemService

Factory usage: ContentServiceFactory.getInstance().getSupervisedItemService();

  • getAll(), findbyEPerson() methods now return a list of workspaceItem objects instead of supervisedItems
  • getSupervisorGroups() method has been removed, this is now a getter on WorkspaceItem

Site refactored into: Site, SiteService

Factory usage: ContentServiceFactory.getInstance().getMetadataValueService();

  • Is no longer a static object, but contains an actual database object. 
  • Site.SITE_ID is now siteService.findSite(context).getID();
  • Site.getSiteHandle() is now siteService.findSite(context).getHandle();

WorkspaceItem refactored into: WorkspaceItem, WorkspaceItemService

Factory usage: ContentServiceFactory.getInstance().getWorkspaceItemService();

  • When a workspaceItem is created the rights granted to reviewer groups used in the basic workflow are no longer hardcoded, this section has moved to the workflowService. This way the workflow determines which rights are granted.
  • findByEPerson(), findByCollection(),findAll() now return a list instead of an array.
  • update(), deleteWrapper() & deleteAll() methods now require a context and a workspace item.

content.authority package

ChoiceAuthorityManager refactored into: ChoiceAuthorityService

Factory usage: ContentAuthorityServiceFactory.getInstance().getChoiceAuthorityService();

  • getLabel(), getVariants() methods now requires a metadataValue
  • getManager() method removed, use the factory to get an instance.
  • getMatches(), getBestMatch() methods now requires a collection object instead of an identifier
  • makeFieldKey() method has been removed, use metadataField.toString();

ChoiceAuthority

  • getMatches(), getBestMatch() methods now require a collection instead of collection identifier

SHERPARoMEOProtocol

  • getMatches() method now requires a collection instead of a collection identifier

content.crosswalk package

AIPDIMCrosswalk

  • disseminateList, disseminateElement methods now require a context

AIPTechMDCrosswalk

  • disseminateList, disseminateElement methods now require a context

DIMDisseminationCrosswalk

  • disseminateList, disseminateElement methods now require a context

DisseminationCrosswalk

  • disseminateList, disseminateElement methods now require a context

IngestionCrosswalk

  • ingest() method requires additional boolean that indicates if metadataFields should be created prior to adding metadata.

METSDisseminationCrosswalk

  • disseminateList, disseminateElement methods now require a context

METSRightsCrosswalk

  • disseminateList, disseminateElement methods now require a context

MODSDisseminationCrosswalk

  • disseminateList, disseminateElement methods now require a context

OREDisseminationCrosswalk

  • disseminateList, disseminateElement methods now require a context

PREMISCrosswalk

  • disseminateList, disseminateElement methods now require a context

QDCCrosswalk

  • disseminateList, disseminateElement methods now require a context

RoleCrosswalk

  • disseminateList, disseminateElement methods now require a context

SimpleDCDisseminationCrosswalk

  • disseminateList, disseminateElement methods now require a context

XHTMLHeadDisseminationCrosswalk

  • disseminateList, disseminateElement methods now require a context

XSLTDisseminationCrosswalk

  • disseminateList, disseminateElement methods now require a context
  • createDIM now requires a list of MockMetadataValue object instead of array of metadatum
  • ingestDIM() methods now require an extra boolean createMissingMetadataFields

content.packager package

AbstractMETSDisseminator

  • makeBitstreamURL() method now require a context

PackageUtils

  • updateDSpaceObject(), removeAllBitstreams(), clearAllMetadata(), getBitstreamByFormat() methods now require a context

core package

Context

  • clearCache(), removeCached(), cache(), fromCache(), getCacheSize() methods removed, hibernate takes care of our caching
  • getSpecialGroups() now returns a list instead of an array of groups
  • getDBConnection() is now package protected, we don’t wan’t anybody but the DAO to access it.
  • setSpecialGroup() method now requires a UUID instead of an identifier
  • commit() method has been removed, hibernate can only commit a transaction ONCE, everything is persisted so there should be no need for the commit method. If the events needs to be flushed, a new dispatchEvents() method is available

LicenseManager refactored into: LicenseService

Factory usage: CoreServiceFactory.getInstance().getLicenseService();

NewsManager refactored into: NewsService

Factory usage: CoreServiceFactory.getInstance().getNewsService();

curate package

Curator

  • setCacheLimit() method removed, no longer required since object cache is no longer used

CurationCli

  • limit option removed, no longer required since object cache is no longer used

WorkflowCurator refactored into: WorkflowCuratorService

Factory usage: CurateServiceFactory.getInstance().getWorkflowCuratorService();

disseminate package

CitationDocument refactored into: CitationDocumentService

Factory usage: DisseminateServiceFactory.getInstance().getCitationDocumentService();

  • getOwningCommunity(), makeCitedDocument(),canGenerateCitationVersion() methods now require a context object

embargo package

EmbargoManager refactored into: EmbargoService, EmbargoCLITool

Factory Usage: EmbargoServiceFactory.getInstance().getEmbargoService()

  • Main method has moved to “EmbargoCLITool” class

eperson package

Group

Factory usage: EPersonServiceFactory.getInstance().getGroupService();

  • addMember, removeMember, delete, update now require a context & group object parameters
  • isMember(EPerson e) has been renamed to isDirectMember & now require a context & group object parameters
  • isMember(Group g) has been renamed to isDirectMember & now requires the parent group parameter
  • isMember(Context c, int groupid) now requires a group object instead of a group id
  • allMemberGroups, allMembers, findAll, search, getMembers, getMemberGroups now return a list instead of an array
  • allMemberGroupIDs is now removed, use allMemberGroups instead (returns a list of groups instead of identifiers)
  • allMemberIDs is now removed, use allMembers instead (returns a list of epeople instead of identifiers)
  • isEmpty now requires a group
  • setName() now requires a context.
  • Group main code moved from “Group” to "GroupCLITool"
  • Finding groups sorted by identifier is nog longer possible since it doesn’t make sense to sort on a UUID.
  • No labels