Uses of Class
org.dspace.content.Collection
Packages that use Collection
Package
Description
The DSpace Batch Metadata Editor, which uses a CSV file to export/import
item metadata.
Miscellaneous utility classes.
Represents permissions for access to DSpace content.
Provides classes and methods for browsing Items in DSpace by whatever
is specified in the configuration.
Provides an API for reading and manipulating content in the DSpace system.
Provides an API and implementations of metadata crosswalks, which are directional mappings from one schema to another, performed in the context of Item ingestion or dissemination.
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
In DSpace, "curation" refers to the application of one or more "tasks" to one
or more model objects.
Embargo allows the deposit of Items whose content should not be made visible
until later.
Provides classes representing e-people and groups of e-people.
Capture of "usage events".
DSpace has a simple workflow system, which models the workflows
as named steps: SUBMIT, arbitrary named steps that you define, and ARCHIVE.
An Item submission begins as a
WorkspaceItem in some user's workspace.The state of an item in a workflow is persisted in a number of objects.
-
Uses of Collection in org.dspace.app.bulkedit
Methods in org.dspace.app.bulkedit that return CollectionModifier and TypeMethodDescriptionBulkEditChange.getNewOwningCollection()Get the new owning collectionBulkEditChange.getOldOwningCollection()Get the old owning collectionMethods in org.dspace.app.bulkedit that return types with arguments of type CollectionModifier and TypeMethodDescriptionBulkEditChange.getNewMappedCollections()Get the list of new mapped CollectionsBulkEditChange.getOldMappedCollections()Get the list of old mapped CollectionsMethods in org.dspace.app.bulkedit with parameters of type CollectionModifier and TypeMethodDescriptionvoidBulkEditChange.changeOwningCollection(Collection oldC, Collection newC) Register a change to the owning collectionvoidBulkEditChange.registerNewMappedCollection(Collection c) Add a new mapped CollectionvoidBulkEditChange.registerOldMappedCollection(Collection c) Add an old mapped CollectionvoidBulkEditChange.setOwningCollection(Collection newC) Set the owning collection of an item -
Uses of Collection in org.dspace.app.itemexport
Fields in org.dspace.app.itemexport declared as Collection -
Uses of Collection in org.dspace.app.itemimport
Methods in org.dspace.app.itemimport that return types with arguments of type CollectionModifier and TypeMethodDescriptionprotected List<Collection>ItemImportServiceImpl.processCollectionFile(Context c, String path, String filename) Read the collections file inside the item directory.Methods in org.dspace.app.itemimport with parameters of type CollectionModifier and TypeMethodDescriptionvoidItemImportServiceImpl.processUIImport(String filepath, Collection owningCollection, String[] otherCollections, String resumeDir, String inputType, Context context, boolean template) Given a local file or public URL to a zip file that has the Simple Archive Format, this method imports the contents to DSpaceMethod parameters in org.dspace.app.itemimport with type arguments of type CollectionModifier and TypeMethodDescriptionprotected ItemItemImportServiceImpl.addItem(Context c, List<Collection> mycollections, String path, String itemname, PrintWriter mapOut, boolean template) item?voidItemImportServiceImpl.addItems(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) voidItemImportServiceImpl.addItemsAtomic(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) protected voidItemImport.process(Context context, ItemImportService itemImportService, List<Collection> collections) Process the importprotected voidItemImportCLI.process(Context context, ItemImportService itemImportService, List<Collection> collections) voidItemImportServiceImpl.replaceItems(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) -
Uses of Collection in org.dspace.app.itemimport.service
Methods in org.dspace.app.itemimport.service with parameters of type CollectionModifier and TypeMethodDescriptionvoidItemImportService.processUIImport(String url, Collection owningCollection, String[] collections, String resumeDir, String inputType, Context context, boolean template) Given a public URL to a zip file that has the Simple Archive Format, this method imports the contents to DSpaceMethod parameters in org.dspace.app.itemimport.service with type arguments of type CollectionModifier and TypeMethodDescriptionvoidItemImportService.addItems(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) Add itemsvoidItemImportService.addItemsAtomic(Context c, List<Collection> mycollections, String sourceDir, String mapFile, boolean template) voidItemImportService.replaceItems(Context c, List<Collection> mycollections, String sourcedir, String mapfile, boolean template) Replace items -
Uses of Collection in org.dspace.app.mediafilter
Methods in org.dspace.app.mediafilter with parameters of type CollectionModifier and TypeMethodDescriptionvoidMediaFilterServiceImpl.applyFiltersCollection(Context context, Collection collection) -
Uses of Collection in org.dspace.app.mediafilter.service
Methods in org.dspace.app.mediafilter.service with parameters of type CollectionModifier and TypeMethodDescriptionvoidMediaFilterService.applyFiltersCollection(Context context, Collection collection) -
Uses of Collection in org.dspace.app.util
Fields in org.dspace.app.util declared as CollectionMethods in org.dspace.app.util that return types with arguments of type CollectionModifier and TypeMethodDescriptionSubmissionConfigReader.getCollectionsBySubmissionConfig(Context context, String submitName) Methods in org.dspace.app.util with parameters of type CollectionModifier and TypeMethodDescriptionstatic voidAuthorizeUtil.authorizeManageAdminGroup(Context context, Collection collection) Can the current user create/edit the admins group of the collection?static voidAuthorizeUtil.authorizeManageCollectionPolicy(Context context, Collection collection) Is allowed manage (create, remove, edit) collection's policies in the current context?static voidAuthorizeUtil.authorizeManageDefaultReadGroup(Context context, Collection collection) This method will check whether the current user is authorized to manage the default read groupstatic voidAuthorizeUtil.authorizeManageSubmittersGroup(Context context, Collection collection) Can the current user manage (create, remove, edit) the submitters group of the collection?static voidAuthorizeUtil.authorizeManageTemplateItem(Context context, Collection collection) Is the current user allowed to manage (create, remove, edit) the collection's template item?static voidAuthorizeUtil.authorizeManageWorkflowsGroup(Context context, Collection collection) Can the current user manage (create, remove, edit) the workflow groups of the collection?static voidAuthorizeUtil.authorizeRemoveAdminGroup(Context context, Collection collection) Can the current user remove the admins group of the collection?static StringCollectionDropDown.collectionPath(Context context, Collection col) Get full path starting from a top-level community via subcommunities down to a collection.static StringCollectionDropDown.collectionPath(Context context, Collection col, int maxchars) Get full path starting from a top-level community via subcommunities down to a collection.Util.differenceInSubmissionFields(Collection fromCollection, Collection toCollection) DCInputsReader.getInputFormNameByCollectionAndField(Collection collection, String field) DCInputsReader.getInputsByCollection(Collection collection) Returns the set of DC inputs used for a particular collection, or the default set if no inputs defined for the collectionSubmissionConfigReader.getSubmissionConfigByCollection(Collection col) Returns the Item Submission process config used for a particular collection, or the default if none is defined for the collectionMethod parameters in org.dspace.app.util with type arguments of type CollectionModifier and TypeMethodDescriptionCollectionDropDown.annotateWithPaths(Context context, List<Collection> collections) Annotates an array of collections with their respective full paths (@see #collectionPath() method in this class).Constructors in org.dspace.app.util with parameters of type Collection -
Uses of Collection in org.dspace.authorize
Methods in org.dspace.authorize that return types with arguments of type CollectionModifier and TypeMethodDescriptionAuthorizeServiceImpl.findAdminAuthorizedCollection(Context context, String query, int offset, int limit) Finds collections for which the logged in user has ADMIN rights. -
Uses of Collection in org.dspace.authorize.service
Methods in org.dspace.authorize.service that return types with arguments of type CollectionModifier and TypeMethodDescriptionAuthorizeService.findAdminAuthorizedCollection(Context context, String query, int offset, int limit) Finds collections for which the current user is admin, AND which match the query. -
Uses of Collection in org.dspace.browse
Methods in org.dspace.browse that return CollectionMethods in org.dspace.browse with parameters of type Collection -
Uses of Collection in org.dspace.content
Fields in org.dspace.content with type parameters of type CollectionModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<Collection,Group> Collection_.adminsstatic jakarta.persistence.metamodel.EntityType<Collection>Collection_.class_static jakarta.persistence.metamodel.SingularAttribute<Bitstream,Collection> Bitstream_.collectionstatic jakarta.persistence.metamodel.SingularAttribute<WorkspaceItem,Collection> WorkspaceItem_.collectionstatic jakarta.persistence.metamodel.SetAttribute<Community,Collection> Community_.collectionsstatic jakarta.persistence.metamodel.SetAttribute<Item,Collection> Item_.collectionsstatic jakarta.persistence.metamodel.SetAttribute<Collection,Community> Collection_.communitiesstatic jakarta.persistence.metamodel.SingularAttribute<Collection,Integer> Collection_.legacyIdstatic jakarta.persistence.metamodel.SingularAttribute<Collection,Bitstream> Collection_.logostatic jakarta.persistence.metamodel.SingularAttribute<Item,Collection> Item_.owningCollectionstatic jakarta.persistence.metamodel.SingularAttribute<Collection,Group> Collection_.submittersstatic jakarta.persistence.metamodel.SingularAttribute<Collection,Item> Collection_.templatestatic jakarta.persistence.metamodel.SingularAttribute<Item,Collection> Item_.templateItemOfMethods in org.dspace.content that return CollectionModifier and TypeMethodDescriptionCollectionServiceImpl.findByGroup(Context context, Group group) CollectionServiceImpl.findByIdOrLegacyId(Context context, String id) CollectionServiceImpl.findByLegacyId(Context context, int id) Bitstream.getCollection()InProgressSubmission.getCollection()Get the collection being submitted toWorkspaceItem.getCollection()Item.getOwningCollection()Get the owning Collection for the itemItem.getTemplateItemOf()CollectionServiceImpl.retrieveCollectionWithSubmitByCommunityAndEntityType(Context context, Community community, String entityType) CollectionServiceImpl.retrieveCollectionWithSubmitByEntityType(Context context, Item item, String entityType) Methods in org.dspace.content that return types with arguments of type CollectionModifier and TypeMethodDescriptionCollectionServiceImpl.findAuthorized(Context context, Community community, int actionID) CollectionServiceImpl.findAuthorizedOptimized(Context context, int actionID) CollectionServiceImpl.findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit) CollectionServiceImpl.findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit) CollectionServiceImpl.findCollectionsWithSubscribers(Context context) CollectionServiceImpl.findDirectMapped(Context context, int actionID) CollectionServiceImpl.findGroup2CommunityMapped(Context context) CollectionServiceImpl.findGroup2GroupMapped(Context context, int actionID) CollectionServiceImpl.findGroupMapped(Context context, int actionID) CommunityServiceImpl.getAllCollections(Context context, Community community) Community.getCollections()Get the collections in this community.Item.getCollections()Get the collections this item is in.ItemServiceImpl.getCollectionsNotLinked(Context context, Item item) CollectionServiceImpl.getCollectionsWithBitstreamSizesTotal(Context context) Methods in org.dspace.content with parameters of type CollectionModifier and TypeMethodDescriptionvoidCommunityServiceImpl.addCollection(Context context, Community community, Collection collection) voidCollectionServiceImpl.addItem(Context context, Collection collection, Item item) voidItemServiceImpl.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream) voidItemServiceImpl.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream, boolean replaceReadRPWithCollectionRP) voidItemServiceImpl.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) voidItemServiceImpl.adjustItemPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.adjustItemPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) voidCollectionServiceImpl.canEdit(Context context, Collection collection) voidCollectionServiceImpl.canEdit(Context context, Collection collection, boolean useInheritance) booleanCollectionServiceImpl.canEditBoolean(Context context, Collection collection) booleanCollectionServiceImpl.canEditBoolean(Context context, Collection collection, boolean useInheritance) intCollectionNameComparator.compare(Collection collection1, Collection collection2) intItemServiceImpl.countAllItems(Context context, Collection collection) intCollectionServiceImpl.countArchivedItems(Context context, Collection collection) Returns total collection archived itemsintItemServiceImpl.countByCollectionMapping(Context context, Collection collection) intItemServiceImpl.countItems(Context context, Collection collection) WorkspaceItemServiceImpl.create(Context context, Collection collection, boolean template) WorkspaceItemServiceImpl.create(Context context, Collection collection, boolean template, boolean isNewVersion) WorkspaceItemServiceImpl.create(Context context, Collection collection, UUID uuid, boolean template, boolean isNewVersion) CollectionServiceImpl.createAdministrators(Context context, Collection collection) CollectionServiceImpl.createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead) CollectionServiceImpl.createSubmitters(Context context, Collection collection) voidCollectionServiceImpl.createTemplateItem(Context context, Collection collection) ItemServiceImpl.createTemplateItem(Context context, Collection collection) CollectionServiceImpl.createWorkflowGroup(Context context, Collection collection, int step) voidCollectionServiceImpl.delete(Context context, Collection collection) ItemServiceImpl.findAllByCollection(Context context, Collection collection) ItemServiceImpl.findAllByCollection(Context context, Collection collection, Integer limit, Integer offset) ItemServiceImpl.findByCollection(Context context, Collection collection) ItemServiceImpl.findByCollection(Context context, Collection collection, Integer limit, Integer offset) WorkspaceItemServiceImpl.findByCollection(Context context, Collection collection) ItemServiceImpl.findByCollectionMapping(Context context, Collection collection, Integer limit, Integer offset) CollectionServiceImpl.getAdminObject(Context context, Collection collection, int action) CommunityServiceImpl.getAllParents(Context context, Collection collection) protected voidDSpaceObjectServiceImpl.getAuthoritiesAndConfidences(String fieldKey, Collection collection, List<String> values, List<String> authorities, List<Integer> confidences, int i) protected voidItemServiceImpl.getAuthoritiesAndConfidences(String fieldKey, Collection collection, List<String> values, List<String> authorities, List<Integer> confidences, int i) BitstreamServiceImpl.getCollectionBitstreams(Context context, Collection collection) CollectionServiceImpl.getDefaultReadGroupName(Collection collection, String typeOfGroupString) CollectionServiceImpl.getLicense(Collection collection) static StringLicenseUtils.getLicenseText(Locale locale, Collection collection, Item item, EPerson eperson) Utility method if no additional arguments are to be supplied to the license template.static StringLicenseUtils.getLicenseText(Locale locale, Collection collection, Item item, EPerson eperson, Map<String, Object> additionalInfo) Return the text of the license that the user has granted/must grant before for submit the item.CollectionServiceImpl.getParentObject(Context context, Collection collection) CollectionServiceImpl.getWorkflowGroup(Context context, Collection collection, int step) booleanCollectionServiceImpl.hasCustomLicense(Collection collection) voidBundleServiceImpl.inheritCollectionDefaultPolicies(Context context, Bundle bundle, Collection collection) voidItemServiceImpl.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) booleanItemServiceImpl.isIn(Item item, Collection collection) booleanItemServiceImpl.isOwningCollection(Item item, Collection collection) voidItemServiceImpl.move(Context context, Item item, Collection from, Collection to) voidItemServiceImpl.move(Context context, Item item, Collection from, Collection to, boolean inheritDefaultPolicies) voidWorkspaceItemServiceImpl.move(Context context, WorkspaceItem source, Collection fromCollection, Collection toCollection) voidItemServiceImpl.populateWithTemplateItemMetadata(Context context, Collection collection, boolean template, Item item) voidCollectionServiceImpl.removeAdministrators(Context context, Collection collection) voidCommunityServiceImpl.removeCollection(Context context, Community community, Collection collection) voidCollectionServiceImpl.removeItem(Context context, Collection collection, Item item) voidCollectionServiceImpl.removeSubmitters(Context context, Collection collection) voidCollectionServiceImpl.removeTemplateItem(Context context, Collection collection) voidBitstream.setCollection(Collection collection) CollectionServiceImpl.setLogo(Context context, Collection collection, InputStream is) voidCollectionServiceImpl.setMetadataSingleValue(Context context, Collection collection, MetadataFieldName field, String language, String value) voidItem.setOwningCollection(Collection c) Set the owning Collection for the itemvoidCollectionServiceImpl.setWorkflowGroup(Context context, Collection collection, int step, Group group) voidCollectionServiceImpl.update(Context context, Collection collection) voidCollectionServiceImpl.updateLastModified(Context context, Collection collection) Method parameters in org.dspace.content with type arguments of type CollectionModifier and TypeMethodDescriptionprotected voidCommunityServiceImpl.addCollectionList(Community community, List<Collection> collectionList) Internal method to process subcommunities recursively -
Uses of Collection in org.dspace.content.authority
Methods in org.dspace.content.authority with parameters of type CollectionModifier and TypeMethodDescriptionChoiceAuthorityServiceImpl.getBestMatch(String fieldKey, String query, Collection collection, String locale) ChoiceAuthorityServiceImpl.getChoiceAuthorityName(String schema, String element, String qualifier, Collection collection) ChoiceAuthorityServiceImpl.getLabel(String fieldKey, Collection collection, String authKey, String locale) ChoiceAuthorityServiceImpl.getLabel(MetadataValue metadataValue, Collection collection, String locale) ChoiceAuthorityServiceImpl.getMatches(String schema, String element, String qualifier, String query, Collection collection, int start, int limit, String locale) ChoiceAuthorityServiceImpl.getMatches(String fieldKey, String query, Collection collection, int start, int limit, String locale) ChoiceAuthorityServiceImpl.getVariants(MetadataValue metadataValue, Collection collection) booleanChoiceAuthorityServiceImpl.isChoicesConfigured(String fieldKey, Collection collection) booleanChoiceAuthorityServiceImpl.storeAuthority(String fieldKey, Collection collection) -
Uses of Collection in org.dspace.content.authority.service
Methods in org.dspace.content.authority.service with parameters of type CollectionModifier and TypeMethodDescriptionChoiceAuthorityService.getBestMatch(String fieldKey, String query, Collection collection, String locale) Wrapper that calls getBestMatch method of the plugin corresponding to the metadata field defined by single field key.ChoiceAuthorityService.getChoiceAuthorityName(String schema, String element, String qualifier, Collection collection) ChoiceAuthorityService.getLabel(String fieldKey, Collection collection, String authKey, String locale) Wrapper that calls getLabel method of the plugin corresponding to the metadata field defined by single field key.ChoiceAuthorityService.getLabel(MetadataValue metadataValue, Collection collection, String locale) Wrapper that calls getLabel method of the plugin corresponding to the metadata field defined by schema,element,qualifier.ChoiceAuthorityService.getMatches(String schema, String element, String qualifier, String query, Collection collection, int start, int limit, String locale) Wrapper that calls getMatches method of the plugin corresponding to the metadata field defined by schema,element,qualifier.ChoiceAuthorityService.getMatches(String fieldKey, String query, Collection collection, int start, int limit, String locale) Wrapper calls getMatches method of the plugin corresponding to the metadata field defined by single field key.ChoiceAuthorityService.getVariants(MetadataValue metadataValue, Collection collection) Wrapper to call plugin's getVariants().booleanChoiceAuthorityService.isChoicesConfigured(String fieldKey, Collection collection) Predicate, is there a Choices configuration of any kind for the given metadata field?booleanChoiceAuthorityService.storeAuthority(String fieldKey, Collection collection) Should we store the authority key (if any) for such field key and collection? -
Uses of Collection in org.dspace.content.crosswalk
Methods in org.dspace.content.crosswalk with parameters of type CollectionModifier and TypeMethodDescriptionprotected List<MetadataValueDTO>MODSDisseminationCrosswalk.collection2Metadata(Collection collection) Generate a list of metadata elements for the given DSpace collection. -
Uses of Collection in org.dspace.content.dao
Methods in org.dspace.content.dao that return CollectionModifier and TypeMethodDescriptionCollectionDAO.findByGroup(Context context, Group group) CollectionDAO.findByTemplateItem(Context context, Item item) Methods in org.dspace.content.dao that return types with arguments of type CollectionModifier and TypeMethodDescriptionCollectionDAO.findAll(Context context, MetadataField order) CollectionDAO.findAll(Context context, MetadataField order, Integer limit, Integer offset) CollectionDAO.findAuthorized(Context context, EPerson ePerson, List<Integer> actions) CollectionDAO.findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions) CollectionDAO.findCollectionsWithSubscribers(Context context) CollectionDAO.getCollectionsWithBitstreamSizesTotal(Context context) Methods in org.dspace.content.dao with parameters of type CollectionModifier and TypeMethodDescriptionintItemDAO.countArchivedByCollectionExcludingOwning(Context context, Collection collection) Counts all the items that are archived and for which the given Collection is part of the Item's Collections but it is not the owning CollectionintItemDAO.countItems(Context context, Collection collection, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) Count number of items in a given collectionItemDAO.findAllByCollection(Context context, Collection collection) ItemDAO.findAllByCollection(Context context, Collection collection, Integer limit, Integer offset) ItemDAO.findArchivedByCollection(Context context, Collection collection, Integer limit, Integer offset) ItemDAO.findArchivedByCollectionExcludingOwning(Context context, Collection collection, Integer limit, Integer offset) Returns all the Items in an iterator that are archived and for which the given Collection is part of the Item's Collections but it is not the owning collectionBitstreamDAO.findByCollection(Context context, Collection collection) WorkspaceItemDAO.findByCollection(Context context, Collection c) Method parameters in org.dspace.content.dao with type arguments of type CollectionModifier and TypeMethodDescriptionintItemDAO.countItems(Context context, List<Collection> collections, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) Count number of unique items across several collections at once. -
Uses of Collection in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return CollectionModifier and TypeMethodDescriptionCollectionDAOImpl.findByGroup(Context context, Group group) CollectionDAOImpl.findByTemplateItem(Context context, Item item) Methods in org.dspace.content.dao.impl that return types with arguments of type CollectionModifier and TypeMethodDescriptionCollectionDAOImpl.findAll(Context context, MetadataField order) Get all collections in the system.CollectionDAOImpl.findAll(Context context, MetadataField order, Integer limit, Integer offset) CollectionDAOImpl.findAuthorized(Context context, EPerson ePerson, List<Integer> actions) CollectionDAOImpl.findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions) CollectionDAOImpl.findCollectionsWithSubscribers(Context context) CollectionDAOImpl.getCollectionsWithBitstreamSizesTotal(Context context) Methods in org.dspace.content.dao.impl with parameters of type CollectionModifier and TypeMethodDescriptionintItemDAOImpl.countArchivedByCollectionExcludingOwning(Context context, Collection collection) intItemDAOImpl.countItems(Context context, Collection collection, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) ItemDAOImpl.findAllByCollection(Context context, Collection collection) ItemDAOImpl.findAllByCollection(Context context, Collection collection, Integer limit, Integer offset) ItemDAOImpl.findArchivedByCollection(Context context, Collection collection, Integer limit, Integer offset) ItemDAOImpl.findArchivedByCollectionExcludingOwning(Context context, Collection collection, Integer limit, Integer offset) BitstreamDAOImpl.findByCollection(Context context, Collection collection) WorkspaceItemDAOImpl.findByCollection(Context context, Collection c) Method parameters in org.dspace.content.dao.impl with type arguments of type CollectionModifier and TypeMethodDescriptionintItemDAOImpl.countItems(Context context, List<Collection> collections, boolean includeArchived, boolean includeWithdrawn, boolean discoverable) -
Uses of Collection in org.dspace.content.packager
Methods in org.dspace.content.packager with parameters of type CollectionModifier and TypeMethodDescriptionstatic voidPackageUtils.addDepositLicense(Context context, String license, Item item, Collection collection) Add DSpace Deposit License to an Item.abstract voidAbstractMETSIngester.addLicense(Context context, Item item, String license, Collection collection, PackageParameters params) Add license(s) to Item based on contents of METS and other policies.voidDSpaceAIPIngester.addLicense(Context context, Item item, String license, Collection collection, PackageParameters params) Ignore license when restoring an manifest-only AIP, since it should be a bitstream in the AIP already.voidDSpaceMETSIngester.addLicense(Context context, Item item, String license, Collection collection, PackageParameters params) Policy: For DSpace deposit license, take deposit license supplied by explicit argument first, else use collection's default deposit license. -
Uses of Collection in org.dspace.content.service
Methods in org.dspace.content.service that return CollectionModifier and TypeMethodDescriptionCreate a new collection with a new ID.Create a new collection with the supplied handle and with a new ID.Create a new collection with the supplied handle and ID.CollectionService.findByGroup(Context context, Group group) CollectionService.retrieveCollectionWithSubmitByCommunityAndEntityType(Context context, Community community, String entityType) Retrieve the first collection in the community or its descending that support the provided entityTypeCollectionService.retrieveCollectionWithSubmitByEntityType(Context context, Item item, String entityType) Retrieve the close collection to the item for which the current user has 'submit' privileges that support the provided entityType.Methods in org.dspace.content.service that return types with arguments of type CollectionModifier and TypeMethodDescriptionGet all collections in the system.Get all collections in the system.CollectionService.findAuthorized(Context context, Community community, int actionID) return an array of collections that user has a given permission on (useful for trimming 'select to collection' list) or figuring out which collections a person is an editor for.CollectionService.findAuthorizedOptimized(Context context, int actionID) CollectionService.findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit) Returns Collections for which the current user has 'submit' privileges.CollectionService.findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit) Returns Collections for which the current user has 'submit' privileges.CollectionService.findCollectionsWithSubscribers(Context context) CollectionService.findDirectMapped(Context context, int actionID) CollectionService.findGroup2CommunityMapped(Context context) CollectionService.findGroup2GroupMapped(Context context, int actionID) CollectionService.findGroupMapped(Context context, int actionID) CommunityService.getAllCollections(Context context, Community community) Return an array of collections of this community and its subcommunitiesItemService.getCollectionsNotLinked(Context context, Item item) Get the collections this item is not in.CollectionService.getCollectionsWithBitstreamSizesTotal(Context context) The map entry returned contains a collection as a key and sum of bitstream sizes in bytes as a valueMethods in org.dspace.content.service with parameters of type CollectionModifier and TypeMethodDescriptionvoidCommunityService.addCollection(Context context, Community community, Collection collection) Add an existing collection to the communityvoidCollectionService.addItem(Context context, Collection collection, Item item) Add an item to the collection.voidItemService.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream) Adjust the Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream, boolean replaceReadRPWithCollectionRP) Adjust the Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection) Adjust the Bundle and Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) Adjust the Bundle and Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustItemPolicies(Context context, Item item, Collection collection) Adjust the Item's policies to reflect what have been defined during the submission/workflow.voidItemService.adjustItemPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) Adjust the Item's policies to reflect what have been defined during the submission/workflow.voidCollectionService.canEdit(Context context, Collection collection) voidCollectionService.canEdit(Context context, Collection collection, boolean useInheritance) booleanCollectionService.canEditBoolean(Context context, Collection collection) booleanCollectionService.canEditBoolean(Context context, Collection collection, boolean useInheritance) intItemService.countAllItems(Context context, Collection collection) counts all items in the given collection including withdrawn itemsintCollectionService.countArchivedItems(Context context, Collection collection) Returns total collection archived itemsintItemService.countByCollectionMapping(Context context, Collection collection) Count all the archived items mapped to this collection (excludes owning collection).intItemService.countItems(Context context, Collection collection) counts items in the given collectionWorkspaceItemService.create(Context context, Collection collection, boolean template) Create a new workspace item, with a new ID.WorkspaceItemService.create(Context context, Collection collection, boolean template, boolean isNewVersion) Create a new workspace item, with a new ID.WorkspaceItemService.create(Context context, Collection collection, UUID uuid, boolean template, boolean isNewVersion) Create a new workspace item, with a new ID.CollectionService.createAdministrators(Context context, Collection collection) Create a default administrators group if one does not already exist.CollectionService.createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead) This method will create a default read group for the given Collection.CollectionService.createSubmitters(Context context, Collection collection) Create a default submitters group if one does not already exist.voidCollectionService.createTemplateItem(Context context, Collection collection) Create an empty template item for this collection.ItemService.createTemplateItem(Context context, Collection collection) Create an empty template item for this collection.CollectionService.createWorkflowGroup(Context context, Collection collection, int step) Create a workflow group for the given step if one does not already exist.ItemService.findAllByCollection(Context context, Collection collection) Get all the items (including private and withdrawn) in this collection.ItemService.findAllByCollection(Context context, Collection collection, Integer limit, Integer offset) Get all the items (including private and withdrawn) in this collection.ItemService.findByCollection(Context context, Collection collection) Get all the archived items in this collection.ItemService.findByCollection(Context context, Collection collection, Integer limit, Integer offset) Get all the archived items in this collection.WorkspaceItemService.findByCollection(Context context, Collection collection) Get all workspace items for a particular collection.ItemService.findByCollectionMapping(Context context, Collection collection, Integer limit, Integer offset) Get all the archived items mapped to this collection (excludes owning collection).CommunityService.getAllParents(Context context, Collection collection) Return an array of parent communities of this collection.BitstreamService.getCollectionBitstreams(Context context, Collection collection) CollectionService.getDefaultReadGroupName(Collection collection, String typeOfGroupString) This method will return the name to give to the group created by theCollectionService.createDefaultReadGroup(Context, Collection, String, int)methodCollectionService.getLicense(Collection collection) Get the license that users must grant before submitting to this collection.CollectionService.getWorkflowGroup(Context context, Collection collection, int step) Get the the workflow group corresponding to a particular workflow step.booleanCollectionService.hasCustomLicense(Collection collection) Find out if the collection has a custom licensevoidBundleService.inheritCollectionDefaultPolicies(Context context, Bundle bundle, Collection collection) remove all policies on the bundle and its contents, and replace them with the DEFAULT_BITSTREAM_READ policies belonging to the collection.voidItemService.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection) Remove all policies on an item and its contents, and replace them with the DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ policies belonging to the collection.voidItemService.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection, boolean overrideItemReadPolicies) Remove all submission and workflow policies on an item and its contents, and add default collection policies which are not yet already in place.booleanItemService.isIn(Item item, Collection collection) See whether this Item is contained by a given Collection.booleanItemService.isOwningCollection(Item item, Collection collection) Return true if this Collection 'owns' this itemvoidInProgressSubmissionService.move(Context context, T inProgressSubmission, Collection fromCollection, Collection toCollection) voidItemService.move(Context context, Item item, Collection from, Collection to) Moves the item from one collection to another onevoidItemService.move(Context context, Item item, Collection from, Collection to, boolean inheritDefaultPolicies) Moves the item from one collection to another onevoidItemService.populateWithTemplateItemMetadata(Context context, Collection collection, boolean template, Item item) Populate the given item with all template item specified metadata.voidCollectionService.removeAdministrators(Context context, Collection collection) Remove the administrators group, if no group has already been created then return without error.voidCommunityService.removeCollection(Context context, Community community, Collection c) Remove a collection.voidCollectionService.removeItem(Context context, Collection collection, Item item) Remove an item.voidCollectionService.removeSubmitters(Context context, Collection collection) Remove the submitters group, if no group has already been created then return without error.voidCollectionService.removeTemplateItem(Context context, Collection collection) Remove the template item for this collection, if there is one.CollectionService.setLogo(Context context, Collection collection, InputStream is) Give the collection a logo.voidCollectionService.setWorkflowGroup(Context context, Collection collection, int step, Group group) Set the workflow group corresponding to a particular workflow step. -
Uses of Collection in org.dspace.ctask.general
Methods in org.dspace.ctask.general with parameters of type Collection -
Uses of Collection in org.dspace.curate
Methods in org.dspace.curate with parameters of type CollectionModifier and TypeMethodDescriptionprotected booleanCurator.doCollection(Curator.TaskRunner tr, Collection coll) Run task for Collection along with all Items in that collection. -
Uses of Collection in org.dspace.discovery.indexobject
Methods in org.dspace.discovery.indexobject with parameters of type CollectionModifier and TypeMethodDescriptionCollectionIndexFactoryImpl.getCollectionLocations(Context context, Collection collection) CollectionIndexFactoryImpl.getIndexableObjects(Context context, Collection object) Constructors in org.dspace.discovery.indexobject with parameters of type Collection -
Uses of Collection in org.dspace.discovery.indexobject.factory
Methods in org.dspace.discovery.indexobject.factory with parameters of type CollectionModifier and TypeMethodDescriptionCollectionIndexFactory.getCollectionLocations(Context context, Collection collection) Return a list of the identifiers of the owning communities from the provided collection prepended by "m" -
Uses of Collection in org.dspace.embargo
Methods in org.dspace.embargo with parameters of type CollectionModifier and TypeMethodDescriptionprotected voidDefaultEmbargoSetter.generatePolicies(Context context, LocalDate embargoDate, String reason, DSpaceObject dso, Collection owningCollection) -
Uses of Collection in org.dspace.eperson
Methods in org.dspace.eperson that return types with arguments of type CollectionModifier and TypeMethodDescriptionSubscribeServiceImpl.findAvailableSubscriptions(Context context) SubscribeServiceImpl.findAvailableSubscriptions(Context context, EPerson eperson) -
Uses of Collection in org.dspace.eperson.service
Methods in org.dspace.eperson.service that return types with arguments of type CollectionModifier and TypeMethodDescriptionSubscribeService.findAvailableSubscriptions(Context context) Find out which collections the currently logged in e-person can subscribe toSubscribeService.findAvailableSubscriptions(Context context, EPerson eperson) Find out which collections an e-person can subscribe to -
Uses of Collection in org.dspace.external.service
Methods in org.dspace.external.service with parameters of type CollectionModifier and TypeMethodDescriptionExternalDataService.createWorkspaceItemFromExternalDataObject(Context context, ExternalDataObject externalDataObject, Collection collection) This method will create a WorkspaceItem in the given Collection based on the given ExternalDataObject. -
Uses of Collection in org.dspace.external.service.impl
Methods in org.dspace.external.service.impl with parameters of type CollectionModifier and TypeMethodDescriptionExternalDataServiceImpl.createWorkspaceItemFromExternalDataObject(Context context, ExternalDataObject externalDataObject, Collection collection) -
Uses of Collection in org.dspace.harvest
Fields in org.dspace.harvest with type parameters of type CollectionModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<HarvestedCollection,Collection> HarvestedCollection_.collectionMethods in org.dspace.harvest that return CollectionMethods in org.dspace.harvest with parameters of type CollectionModifier and TypeMethodDescriptionHarvestedCollectionServiceImpl.create(Context context, Collection collection) HarvestedCollectionServiceImpl.find(Context context, Collection collection) HarvestedItemServiceImpl.getItemByOAIId(Context context, String itemOaiID, Collection collection) booleanHarvestedCollectionServiceImpl.isHarvestable(Context context, Collection collection) booleanHarvestedCollectionServiceImpl.isReady(Context context, Collection collection) -
Uses of Collection in org.dspace.harvest.dao
Methods in org.dspace.harvest.dao with parameters of type CollectionModifier and TypeMethodDescriptionHarvestedCollectionDAO.findByCollection(Context context, Collection collection) HarvestedItemDAO.findByOAIId(Context context, String itemOaiID, Collection collection) -
Uses of Collection in org.dspace.harvest.dao.impl
Methods in org.dspace.harvest.dao.impl with parameters of type CollectionModifier and TypeMethodDescriptionHarvestedCollectionDAOImpl.findByCollection(Context context, Collection collection) HarvestedItemDAOImpl.findByOAIId(Context context, String itemOaiID, Collection collection) -
Uses of Collection in org.dspace.harvest.service
Methods in org.dspace.harvest.service with parameters of type CollectionModifier and TypeMethodDescriptionHarvestedCollectionService.create(Context context, Collection collection) Create a new harvest instance row for a specified collection.HarvestedCollectionService.find(Context context, Collection collection) Find the harvest settings corresponding to this collectionHarvestedItemService.getItemByOAIId(Context context, String itemOaiID, Collection collection) Retrieve a DSpace Item that corresponds to this particular combination of owning collection and OAI ID.booleanHarvestedCollectionService.isHarvestable(Context context, Collection collection) Returns whether the specified collection is harvestable, i.e. whether its harvesting options are set up correctly.booleanHarvestedCollectionService.isReady(Context context, Collection collection) Returns whether the specified collection is ready for immediate harvest. -
Uses of Collection in org.dspace.iiif.canvasdimension
Methods in org.dspace.iiif.canvasdimension with parameters of type CollectionModifier and TypeMethodDescriptionintIIIFCanvasDimensionServiceImpl.processCollection(Context context, Collection collection) -
Uses of Collection in org.dspace.iiif.canvasdimension.service
Methods in org.dspace.iiif.canvasdimension.service with parameters of type CollectionModifier and TypeMethodDescriptionintIIIFCanvasDimensionService.processCollection(Context context, Collection collection) Set IIIF canvas dimensions on all IIIF items in a collection. -
Uses of Collection in org.dspace.rdf.conversion
Methods in org.dspace.rdf.conversion with parameters of type CollectionModifier and TypeMethodDescriptionorg.apache.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin.convertCollection(Context context, Collection collection) -
Uses of Collection in org.dspace.submit.service
Methods in org.dspace.submit.service that return types with arguments of type CollectionModifier and TypeMethodDescriptionSubmissionConfigService.getCollectionsBySubmissionConfig(Context context, String submitName) SubmissionConfigServiceImpl.getCollectionsBySubmissionConfig(Context context, String submitName) Methods in org.dspace.submit.service with parameters of type CollectionModifier and TypeMethodDescriptionSubmissionConfigService.getSubmissionConfigByCollection(Collection collection) SubmissionConfigServiceImpl.getSubmissionConfigByCollection(Collection collection) -
Uses of Collection in org.dspace.usage
Methods in org.dspace.usage that return CollectionConstructors in org.dspace.usage with parameters of type CollectionModifierConstructorDescriptionUsageWorkflowEvent(Context context, Item item, InProgressSubmission workflowItem, String workflowStep, String oldState, Collection scope, EPerson actor) -
Uses of Collection in org.dspace.workflow
Methods in org.dspace.workflow with parameters of type CollectionModifier and TypeMethodDescriptionWorkflowItemService.create(Context context, Item item, Collection collection) Wrap an Item in a WorkflowItem to place it in a Collection's workflow.WorkflowService.createWorkflowRoleGroup(Context context, Collection collection, String roleName) This method will create the workflowRoleGroup for a collection and the given rolenamevoidWorkflowItemService.deleteByCollection(Context context, Collection collection) Delete all workflow items present in the specified collection.voidWorkflowService.deleteCollection(Context context, Collection collection) WorkflowItemService.findByCollection(Context context, Collection collection) Get all workflow items for a particular collection.WorkflowService.getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup) -
Uses of Collection in org.dspace.xmlworkflow
Methods in org.dspace.xmlworkflow that return types with arguments of type CollectionModifier and TypeMethodDescriptionXmlWorkflowFactoryImpl.getAllNonMappedCollectionsHandles(Context context) XmlWorkflowFactoryImpl.getCollectionHandlesMappedToWorkflow(Context context, String workflowName) Methods in org.dspace.xmlworkflow with parameters of type CollectionModifier and TypeMethodDescriptionstatic voidWorkflowUtils.createCollectionWorkflowRole(Context context, Collection collection, String roleId, Group group) Creates a role for a collection by linking a group of epersons to a role IDXmlWorkflowServiceImpl.createWorkflowRoleGroup(Context context, Collection collection, String roleName) voidXmlWorkflowServiceImpl.deleteCollection(Context context, Collection collection) static voidWorkflowUtils.deleteRoleGroup(Context context, Collection collection, String roleID) WorkflowUtils.getAllExternalRoles(Collection thisCollection) WorkflowUtils.getCollectionAndRepositoryRoles(Collection thisCollection) WorkflowUtils.getCollectionRoles(Collection thisCollection) static GroupWorkflowUtils.getRoleGroup(Context context, Collection collection, Role role) XmlWorkflowFactoryImpl.getWorkflow(Collection collection) XmlWorkflowServiceImpl.getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup) protected voidXmlWorkflowServiceImpl.notifyOfArchive(Context context, Item item, Collection coll) notify the submitter that the item is archived -
Uses of Collection in org.dspace.xmlworkflow.factory
Methods in org.dspace.xmlworkflow.factory that return types with arguments of type CollectionModifier and TypeMethodDescriptionXmlWorkflowFactory.getAllNonMappedCollectionsHandles(Context context) Returns list of collections that are not mapped to any configured workflow, and thus use the default workflowXmlWorkflowFactory.getCollectionHandlesMappedToWorkflow(Context context, String workflowName) Return a list of collections that are mapped to the given workflow in the workflow configurationMethods in org.dspace.xmlworkflow.factory with parameters of type CollectionModifier and TypeMethodDescriptionXmlWorkflowFactory.getWorkflow(Collection collection) Retrieve the workflow configuration for a single collection -
Uses of Collection in org.dspace.xmlworkflow.storedcomponents
Fields in org.dspace.xmlworkflow.storedcomponents with type parameters of type CollectionModifier and TypeFieldDescriptionstatic jakarta.persistence.metamodel.SingularAttribute<CollectionRole,Collection> CollectionRole_.collectionstatic jakarta.persistence.metamodel.SingularAttribute<XmlWorkflowItem,Collection> XmlWorkflowItem_.collectionMethods in org.dspace.xmlworkflow.storedcomponents that return CollectionMethods in org.dspace.xmlworkflow.storedcomponents with parameters of type CollectionModifier and TypeMethodDescriptionintXmlWorkflowItemServiceImpl.countAllInCollection(Context context, Collection collection) CollectionRoleServiceImpl.create(Context context, Collection collection, String roleId, Group group) XmlWorkflowItemServiceImpl.create(Context context, Item item, Collection collection) voidCollectionRoleServiceImpl.deleteByCollection(Context context, Collection collection) voidXmlWorkflowItemServiceImpl.deleteByCollection(Context context, Collection collection) CollectionRoleServiceImpl.find(Context context, Collection collection, String role) XmlWorkflowItemServiceImpl.findAllInCollection(Context context, Integer page, Integer pagesize, Collection collection) CollectionRoleServiceImpl.findByCollection(Context context, Collection collection) XmlWorkflowItemServiceImpl.findByCollection(Context context, Collection collection) voidXmlWorkflowItemServiceImpl.move(Context context, XmlWorkflowItem inProgressSubmission, Collection fromCollection, Collection toCollection) voidCollectionRole.setCollection(Collection collection) voidXmlWorkflowItem.setCollection(Collection collection) -
Uses of Collection in org.dspace.xmlworkflow.storedcomponents.dao
Methods in org.dspace.xmlworkflow.storedcomponents.dao with parameters of type CollectionModifier and TypeMethodDescriptionintXmlWorkflowItemDAO.countAllInCollection(Context context, Collection collection) voidCollectionRoleDAO.deleteByCollection(Context context, Collection collection) XmlWorkflowItemDAO.findAllInCollection(Context context, Integer offset, Integer limit, Collection collection) Find all the workflow items in a specific collection using the pagination parameters (offset, limit)CollectionRoleDAO.findByCollection(Context context, Collection collection) XmlWorkflowItemDAO.findByCollection(Context context, Collection collection) CollectionRoleDAO.findByCollectionAndRole(Context context, Collection collection, String role) -
Uses of Collection in org.dspace.xmlworkflow.storedcomponents.dao.impl
Methods in org.dspace.xmlworkflow.storedcomponents.dao.impl with parameters of type CollectionModifier and TypeMethodDescriptionintXmlWorkflowItemDAOImpl.countAllInCollection(Context context, Collection collection) voidCollectionRoleDAOImpl.deleteByCollection(Context context, Collection collection) XmlWorkflowItemDAOImpl.findAllInCollection(Context context, Integer offset, Integer limit, Collection collection) CollectionRoleDAOImpl.findByCollection(Context context, Collection collection) XmlWorkflowItemDAOImpl.findByCollection(Context context, Collection collection) CollectionRoleDAOImpl.findByCollectionAndRole(Context context, Collection collection, String role) -
Uses of Collection in org.dspace.xmlworkflow.storedcomponents.service
Methods in org.dspace.xmlworkflow.storedcomponents.service with parameters of type CollectionModifier and TypeMethodDescriptionintXmlWorkflowItemService.countAllInCollection(Context context, Collection collection) return how many workflow items that appear in the collectionCollectionRoleService.create(Context context, Collection collection, String roleId, Group group) voidCollectionRoleService.deleteByCollection(Context context, Collection collection) CollectionRoleService.find(Context context, Collection collection, String role) XmlWorkflowItemService.findAllInCollection(Context context, Integer page, Integer pagesize, Collection collection) return all workflowitems for a certain page with a certain collectionCollectionRoleService.findByCollection(Context context, Collection collection)