Uses of Class
org.dspace.content.Community
Packages that use Community
Package
Description
Provides classes and methods for administrative functions that fall outside
the regular use of other subsystems.
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.
In DSpace, "curation" refers to the application of one or more "tasks" to one
or more model objects.
-
Uses of Community in org.dspace.administer
Methods in org.dspace.administer that return CommunityModifier and TypeMethodDescriptionprotected CommunityCommunityFiliator.resolveCommunity(Context c, String communityID) Find a community by IDMethods in org.dspace.administer with parameters of type Community -
Uses of Community in org.dspace.app.mediafilter
Methods in org.dspace.app.mediafilter with parameters of type CommunityModifier and TypeMethodDescriptionvoidMediaFilterServiceImpl.applyFiltersCommunity(Context context, Community community) -
Uses of Community in org.dspace.app.mediafilter.service
Methods in org.dspace.app.mediafilter.service with parameters of type CommunityModifier and TypeMethodDescriptionvoidMediaFilterService.applyFiltersCommunity(Context context, Community community) -
Uses of Community in org.dspace.app.util
Methods in org.dspace.app.util with parameters of type CommunityModifier and TypeMethodDescriptionstatic voidAuthorizeUtil.authorizeManageAdminGroup(Context context, Community community) Can the current user create/edit the admins group of the community?static voidAuthorizeUtil.authorizeManageCommunityPolicy(Context context, Community community) Is allowed manage (create, remove, edit) community's policies in the current context?static voidAuthorizeUtil.authorizeRemoveAdminGroup(Context context, Community community) Can the current user remove the admins group of the community? -
Uses of Community in org.dspace.authorize
Methods in org.dspace.authorize that return types with arguments of type CommunityModifier and TypeMethodDescriptionAuthorizeServiceImpl.findAdminAuthorizedCommunity(Context context, String query, int offset, int limit) Finds communities for which the logged in user has ADMIN rights. -
Uses of Community in org.dspace.authorize.service
Methods in org.dspace.authorize.service that return types with arguments of type CommunityModifier and TypeMethodDescriptionAuthorizeService.findAdminAuthorizedCommunity(Context context, String query, int offset, int limit) Finds communities for which the current user is admin, AND which match the query. -
Uses of Community in org.dspace.browse
Methods in org.dspace.browse that return CommunityMethods in org.dspace.browse with parameters of type Community -
Uses of Community in org.dspace.content
Fields in org.dspace.content with type parameters of type CommunityModifier and TypeFieldDescriptionCommunity_.adminsstatic jakarta.persistence.metamodel.EntityType<Community>Community_.class_static jakarta.persistence.metamodel.SetAttribute<Community,Collection> Community_.collectionsstatic jakarta.persistence.metamodel.SetAttribute<Collection,Community> Collection_.communitiesBitstream_.communityCommunity_.legacyIdCommunity_.logoCommunity_.parentCommunitiesCommunity_.parentCommunitiesCommunity_.subCommunitiesCommunity_.subCommunitiesMethods in org.dspace.content that return CommunityModifier and TypeMethodDescriptionCommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity, String handle) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid) CommunityServiceImpl.findByAdminGroup(Context context, Group group) CommunityServiceImpl.findByIdOrLegacyId(Context context, String id) CommunityServiceImpl.findByLegacyId(Context context, int id) Bitstream.getCommunity()Methods in org.dspace.content that return types with arguments of type CommunityModifier and TypeMethodDescriptionCommunityServiceImpl.findAllTop(Context context) CommunityServiceImpl.findAuthorized(Context context, List<Integer> actions) CommunityServiceImpl.findAuthorizedGroupMapped(Context context, List<Integer> actions) CommunityServiceImpl.getAllParents(Context context, Collection collection) CommunityServiceImpl.getAllParents(Context context, Community community) Collection.getCommunities()Get the communities this collection appears inItemServiceImpl.getCommunities(Context context, Item item) Community.getParentCommunities()Return the parent community of this community, or null if the community is top-levelCommunity.getSubcommunities()Get the immediate sub-communities of this community.Methods in org.dspace.content with parameters of type CommunityModifier and TypeMethodDescriptionvoidCommunityServiceImpl.addCollection(Context context, Community community, Collection collection) protected voidCommunityServiceImpl.addCollectionList(Community community, List<Collection> collectionList) Internal method to process subcommunities recursivelyvoidCommunityServiceImpl.addSubcommunity(Context context, Community parentCommunity, Community childCommunity) voidbooleanCommunityServiceImpl.canEditBoolean(Context context, Community community) intItemServiceImpl.countAllItems(Context context, Community community) intCommunityServiceImpl.countArchivedItems(Context context, Community community) Returns total community archived itemsintCollectionServiceImpl.countCollectionsWithSubmit(String q, Context context, Community community) intCollectionServiceImpl.countCollectionsWithSubmit(String q, Context context, Community community, String entityType) intItemServiceImpl.countItems(Context context, Community community) CommunityServiceImpl.createAdministrators(Context context, Community community) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity, String handle) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid) voidMetadataDSpaceCsvExportServiceImpl.export(Context context, Community community, boolean exportAll, DSpaceRunnableHandler handler) CollectionServiceImpl.findAuthorized(Context context, Community community, 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) CommunityServiceImpl.getAdminObject(Context context, Community community, int action) CommunityServiceImpl.getAllCollections(Context context, Community community) CommunityServiceImpl.getAllParents(Context context, Community community) BitstreamServiceImpl.getCommunityBitstreams(Context context, Community community) CommunityServiceImpl.getParentObject(Context context, Community community) protected voidInternal method to remove the community and all its children from the database, and perform any pre/post-cleanupvoidCommunityServiceImpl.removeAdministrators(Context context, Community community) voidCommunityServiceImpl.removeCollection(Context context, Community community, Collection collection) voidCommunity.removeParentCommunity(Community parentCommunity) voidCommunityServiceImpl.removeSubcommunity(Context context, Community parentCommunity, Community childCommunity) voidCommunity.removeSubCommunity(Community subCommunity) CollectionServiceImpl.retrieveCollectionWithSubmitByCommunityAndEntityType(Context context, Community community, String entityType) voidBitstream.setCommunity(Community community) CommunityServiceImpl.setLogo(Context context, Community community, InputStream is) voidCommunityServiceImpl.setMetadataSingleValue(Context context, Community community, MetadataFieldName field, String language, String value) voidvoidCommunityServiceImpl.updateLastModified(Context context, Community community) -
Uses of Community in org.dspace.content.crosswalk
Methods in org.dspace.content.crosswalk with parameters of type CommunityModifier and TypeMethodDescriptionprotected List<MetadataValueDTO>MODSDisseminationCrosswalk.community2Metadata(Community community) Generate a list of metadata elements for the given DSpace community. -
Uses of Community in org.dspace.content.dao
Methods in org.dspace.content.dao that return CommunityMethods in org.dspace.content.dao that return types with arguments of type CommunityModifier and TypeMethodDescriptionCommunityDAO.findAll(Context context, MetadataField sortField) CommunityDAO.findAll(Context context, MetadataField sortField, Integer limit, Integer offset) CommunityDAO.findAllNoParent(Context context, MetadataField sortField) CommunityDAO.findAuthorized(Context context, EPerson ePerson, List<Integer> actions) CommunityDAO.findAuthorizedByGroup(Context context, EPerson currentUser, List<Integer> actions) Methods in org.dspace.content.dao with parameters of type CommunityModifier and TypeMethodDescriptionBitstreamDAO.findByCommunity(Context context, Community community) -
Uses of Community in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return CommunityModifier and TypeMethodDescriptionCommunityDAOImpl.findByAdminGroup(Context context, Group group) Methods in org.dspace.content.dao.impl that return types with arguments of type CommunityModifier and TypeMethodDescriptionCommunityDAOImpl.findAll(Context context, MetadataField sortField) Get a list of all communities in the system.CommunityDAOImpl.findAll(Context context, MetadataField sortField, Integer limit, Integer offset) CommunityDAOImpl.findAllNoParent(Context context, MetadataField sortField) CommunityDAOImpl.findAuthorized(Context context, EPerson ePerson, List<Integer> actions) CommunityDAOImpl.findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions) Methods in org.dspace.content.dao.impl with parameters of type CommunityModifier and TypeMethodDescriptionBitstreamDAOImpl.findByCommunity(Context context, Community community) -
Uses of Community in org.dspace.content.service
Methods in org.dspace.content.service that return CommunityModifier and TypeMethodDescriptionCreate a new top-level community, with a new ID.Create a new top-level community, with a new ID.Create a new top-level community, with a new ID.CommunityService.createSubcommunity(Context context, Community parentCommunity) Create a new sub-community within this community.CommunityService.createSubcommunity(Context context, Community parentCommunity, String handle) Create a new sub-community within this community.CommunityService.createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid) Create a new sub-community within this community.CommunityService.findByAdminGroup(Context context, Group group) Methods in org.dspace.content.service that return types with arguments of type CommunityModifier and TypeMethodDescriptionGet a list of all communities in the system.Get all communities in the system.CommunityService.findAllTop(Context context) Get a list of all top-level communities in the system.CommunityService.findAuthorized(Context context, List<Integer> actions) CommunityService.findAuthorizedGroupMapped(Context context, List<Integer> actions) CommunityService.getAllParents(Context context, Collection collection) Return an array of parent communities of this collection.CommunityService.getAllParents(Context context, Community community) Return an array of parent communities of this community, in ascending order.ItemService.getCommunities(Context context, Item item) Get the communities this item is in.Methods in org.dspace.content.service with parameters of type CommunityModifier and TypeMethodDescriptionvoidCommunityService.addCollection(Context context, Community community, Collection collection) Add an existing collection to the communityvoidCommunityService.addSubcommunity(Context context, Community parentCommunity, Community childCommunity) Add an existing community as a subcommunity to the communityvoidbooleanCommunityService.canEditBoolean(Context context, Community community) return TRUE if context's user can edit community, false otherwiseintItemService.countAllItems(Context context, Community community) counts all items in the given community including withdrawnintCommunityService.countArchivedItems(Context context, Community community) Returns total community archived itemsintCollectionService.countCollectionsWithSubmit(String q, Context context, Community community) Counts the number of Collection for which the current user has 'submit' privileges.intCollectionService.countCollectionsWithSubmit(String q, Context context, Community community, String entityType) Counts the number of Collection for which the current user has 'submit' privileges.intItemService.countItems(Context context, Community community) counts items in the given communityCreate 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.Create a new top-level community, with a new ID.Create a new top-level community, with a new ID.Create a new top-level community, with a new ID.CommunityService.createAdministrators(Context context, Community community) Create a default administrators group if one does not already exist.CommunityService.createSubcommunity(Context context, Community parentCommunity) Create a new sub-community within this community.CommunityService.createSubcommunity(Context context, Community parentCommunity, String handle) Create a new sub-community within this community.CommunityService.createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid) Create a new sub-community within this community.MetadataDSpaceCsvExportService.export(Context context, Community community, boolean exportAll, DSpaceRunnableHandler handler) This method will export all the Items within the given Community to a DSpaceCSVCollectionService.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.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.CommunityService.getAllCollections(Context context, Community community) Return an array of collections of this community and its subcommunitiesCommunityService.getAllParents(Context context, Community community) Return an array of parent communities of this community, in ascending order.BitstreamService.getCommunityBitstreams(Context context, Community community) voidCommunityService.removeAdministrators(Context context, Community community) 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.voidCommunityService.removeSubcommunity(Context context, Community parentCommunity, Community childCommunity) Remove a subcommunity.CollectionService.retrieveCollectionWithSubmitByCommunityAndEntityType(Context context, Community community, String entityType) Retrieve the first collection in the community or its descending that support the provided entityTypeCommunityService.setLogo(Context context, Community community, InputStream is) Give the community a logo. -
Uses of Community in org.dspace.curate
Methods in org.dspace.curate with parameters of type CommunityModifier and TypeMethodDescriptionprotected booleanCurator.doCommunity(Curator.TaskRunner tr, Community comm) Run task for Community along with all sub-communities and collections. -
Uses of Community in org.dspace.discovery.indexobject
Methods in org.dspace.discovery.indexobject with parameters of type CommunityModifier and TypeMethodDescriptionCommunityIndexFactoryImpl.getIndexableObjects(Context context, Community object) Constructors in org.dspace.discovery.indexobject with parameters of type Community -
Uses of Community in org.dspace.iiif.canvasdimension
Methods in org.dspace.iiif.canvasdimension with parameters of type CommunityModifier and TypeMethodDescriptionintIIIFCanvasDimensionServiceImpl.processCommunity(Context context, Community community) -
Uses of Community in org.dspace.iiif.canvasdimension.service
Methods in org.dspace.iiif.canvasdimension.service with parameters of type CommunityModifier and TypeMethodDescriptionintIIIFCanvasDimensionService.processCommunity(Context context, Community community) Set IIIF canvas dimensions on all IIIF items in a community and its sub-communities. -
Uses of Community in org.dspace.rdf.conversion
Methods in org.dspace.rdf.conversion with parameters of type CommunityModifier and TypeMethodDescriptionorg.apache.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin.convertCommunity(Context context, Community community)