Uses of Class
org.dspace.content.Community
-
Packages that use Community Package Description org.dspace.administer Provides classes and methods for administrative functions that fall outside the regular use of other subsystems.org.dspace.app.mediafilter org.dspace.app.mediafilter.service org.dspace.app.util Miscellaneous utility classes.org.dspace.authorize Handles permissions for DSpace content.org.dspace.authorize.service org.dspace.browse Provides classes and methods for browsing Items in DSpace by whatever is specified in the configuration.org.dspace.content Provides an API for reading and manipulating content in the DSpace system.org.dspace.content.crosswalk 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.org.dspace.content.dao org.dspace.content.dao.impl org.dspace.content.service org.dspace.curate In DSpace, "curation" refers to the application of one or more "tasks" to one or more model objects.org.dspace.discovery.indexobject org.dspace.rdf.conversion -
-
Uses of Community in org.dspace.administer
Methods in org.dspace.administer that return Community Modifier and Type Method Description protected CommunityCommunityFiliator. resolveCommunity(Context c, String communityID)Find a community by IDMethods in org.dspace.administer with parameters of type Community Modifier and Type Method Description voidCommunityFiliator. defiliate(Context c, Community parent, Community child)voidCommunityFiliator. filiate(Context c, Community parent, Community child) -
Uses of Community in org.dspace.app.mediafilter
Methods in org.dspace.app.mediafilter with parameters of type Community Modifier and Type Method Description voidMediaFilterServiceImpl. 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 Community Modifier and Type Method Description voidMediaFilterService. applyFiltersCommunity(Context context, Community community) -
Uses of Community in org.dspace.app.util
Methods in org.dspace.app.util with parameters of type Community Modifier and Type Method Description static voidAuthorizeUtil. authorizeManageAdminGroup(Context context, Community community)Can the current user create/edit the admins group of the community? please note that the remove action need a separate checkstatic 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? please note that the create/edit actions need separate check -
Uses of Community in org.dspace.authorize
Methods in org.dspace.authorize that return types with arguments of type Community Modifier and Type Method Description List<Community>AuthorizeServiceImpl. 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 Community Modifier and Type Method Description List<Community>AuthorizeService. 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 Community Modifier and Type Method Description CommunityBrowserScope. getCommunity()Methods in org.dspace.browse with parameters of type Community Modifier and Type Method Description voidBrowserScope. setCommunity(Community community) -
Uses of Community in org.dspace.content
Fields in org.dspace.content with type parameters of type Community Modifier and Type Field Description static javax.persistence.metamodel.SingularAttribute<Community,Group>Community_. adminsstatic javax.persistence.metamodel.SetAttribute<Community,Collection>Community_. collectionsstatic javax.persistence.metamodel.SetAttribute<Collection,Community>Collection_. communitiesstatic javax.persistence.metamodel.SingularAttribute<Bitstream,Community>Bitstream_. communitystatic javax.persistence.metamodel.SingularAttribute<Community,Integer>Community_. legacyIdstatic javax.persistence.metamodel.SingularAttribute<Community,Bitstream>Community_. logostatic javax.persistence.metamodel.SetAttribute<Community,Community>Community_. parentCommunitiesstatic javax.persistence.metamodel.SetAttribute<Community,Community>Community_. parentCommunitiesstatic javax.persistence.metamodel.SetAttribute<Community,Community>Community_. subCommunitiesstatic javax.persistence.metamodel.SetAttribute<Community,Community>Community_. subCommunitiesMethods in org.dspace.content that return Community Modifier and Type Method Description CommunityCommunityServiceImpl. create(Community parent, Context context)CommunityCommunityServiceImpl. create(Community parent, Context context, String handle)CommunityCommunityServiceImpl. create(Community parent, Context context, String handle, UUID uuid)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity, String handle)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid)CommunityCommunityServiceImpl. find(Context context, UUID id)CommunityCommunityServiceImpl. findByAdminGroup(Context context, Group group)CommunityCommunityServiceImpl. findByIdOrLegacyId(Context context, String id)CommunityCommunityServiceImpl. findByLegacyId(Context context, int id)CommunityBitstream. getCommunity()Methods in org.dspace.content that return types with arguments of type Community Modifier and Type Method Description List<Community>CommunityServiceImpl. findAll(Context context)List<Community>CommunityServiceImpl. findAll(Context context, Integer limit, Integer offset)List<Community>CommunityServiceImpl. findAllTop(Context context)List<Community>CommunityServiceImpl. findAuthorized(Context context, List<Integer> actions)List<Community>CommunityServiceImpl. findAuthorizedGroupMapped(Context context, List<Integer> actions)List<Community>CommunityServiceImpl. getAllParents(Context context, Collection collection)List<Community>CommunityServiceImpl. getAllParents(Context context, Community community)List<Community>Collection. getCommunities()Get the communities this collection appears inList<Community>ItemServiceImpl. getCommunities(Context context, Item item)List<Community>Community. getParentCommunities()Return the parent community of this community, or null if the community is top-levelList<Community>Community. getSubcommunities()Get the immediate sub-communities of this community.Methods in org.dspace.content with parameters of type Community Modifier and Type Method Description voidCommunityServiceImpl. 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)voidCommunityServiceImpl. canEdit(Context context, Community community)booleanCommunityServiceImpl. canEditBoolean(Context context, Community community)intItemServiceImpl. countAllItems(Context context, Community community)intCollectionServiceImpl. countCollectionsWithSubmit(String q, Context context, Community community)intCollectionServiceImpl. countCollectionsWithSubmit(String q, Context context, Community community, String entityType)intItemServiceImpl. countItems(Context context, Community community)CollectionCollectionServiceImpl. create(Context context, Community community)CollectionCollectionServiceImpl. create(Context context, Community community, String handle)CollectionCollectionServiceImpl. create(Context context, Community community, String handle, UUID uuid)CommunityCommunityServiceImpl. create(Community parent, Context context)CommunityCommunityServiceImpl. create(Community parent, Context context, String handle)CommunityCommunityServiceImpl. create(Community parent, Context context, String handle, UUID uuid)GroupCommunityServiceImpl. createAdministrators(Context context, Community community)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity, String handle)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid)voidCommunityServiceImpl. delete(Context context, Community community)DSpaceCSVMetadataDSpaceCsvExportServiceImpl. export(Context context, Community community, boolean exportAll)List<Collection>CollectionServiceImpl. findAuthorized(Context context, Community community, int actionID)List<Collection>CollectionServiceImpl. findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit)List<Collection>CollectionServiceImpl. findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit)DSpaceObjectCommunityServiceImpl. getAdminObject(Context context, Community community, int action)List<Collection>CommunityServiceImpl. getAllCollections(Context context, Community community)List<Community>CommunityServiceImpl. getAllParents(Context context, Community community)Iterator<Bitstream>BitstreamServiceImpl. getCommunityBitstreams(Context context, Community community)DSpaceObjectCommunityServiceImpl. getParentObject(Context context, Community community)protected voidCommunityServiceImpl. rawDelete(Context context, Community community)Internal 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)BitstreamCommunityServiceImpl. setLogo(Context context, Community community, InputStream is)voidCommunityServiceImpl. setMetadataSingleValue(Context context, Community community, MetadataFieldName field, String language, String value)voidCommunityServiceImpl. update(Context context, Community community)voidCommunityServiceImpl. updateLastModified(Context context, Community community) -
Uses of Community in org.dspace.content.crosswalk
Methods in org.dspace.content.crosswalk with parameters of type Community Modifier and Type Method Description protected 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 Community Modifier and Type Method Description CommunityCommunityDAO. findByAdminGroup(Context context, Group group)Methods in org.dspace.content.dao that return types with arguments of type Community Modifier and Type Method Description List<Community>CommunityDAO. findAll(Context context, MetadataField sortField)List<Community>CommunityDAO. findAll(Context context, MetadataField sortField, Integer limit, Integer offset)List<Community>CommunityDAO. findAllNoParent(Context context, MetadataField sortField)List<Community>CommunityDAO. findAuthorized(Context context, EPerson ePerson, List<Integer> actions)List<Community>CommunityDAO. findAuthorizedByGroup(Context context, EPerson currentUser, List<Integer> actions)Methods in org.dspace.content.dao with parameters of type Community Modifier and Type Method Description Iterator<Bitstream>BitstreamDAO. findByCommunity(Context context, Community community) -
Uses of Community in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return Community Modifier and Type Method Description CommunityCommunityDAOImpl. findByAdminGroup(Context context, Group group)Methods in org.dspace.content.dao.impl that return types with arguments of type Community Modifier and Type Method Description List<Community>CommunityDAOImpl. findAll(Context context, MetadataField sortField)Get a list of all communities in the system.List<Community>CommunityDAOImpl. findAll(Context context, MetadataField sortField, Integer limit, Integer offset)List<Community>CommunityDAOImpl. findAllNoParent(Context context, MetadataField sortField)List<Community>CommunityDAOImpl. findAuthorized(Context context, EPerson ePerson, List<Integer> actions)List<Community>CommunityDAOImpl. findAuthorizedByGroup(Context context, EPerson ePerson, List<Integer> actions)Methods in org.dspace.content.dao.impl with parameters of type Community Modifier and Type Method Description Iterator<Bitstream>BitstreamDAOImpl. findByCommunity(Context context, Community community) -
Uses of Community in org.dspace.content.service
Methods in org.dspace.content.service that return Community Modifier and Type Method Description CommunityCommunityService. create(Community parent, Context context)Create a new top-level community, with a new ID.CommunityCommunityService. create(Community parent, Context context, String handle)Create a new top-level community, with a new ID.CommunityCommunityService. create(Community parent, Context context, String handle, UUID uuid)Create a new top-level community, with a new ID.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity)Create a new sub-community within this community.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity, String handle)Create a new sub-community within this community.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid)Create a new sub-community within this community.CommunityCommunityService. findByAdminGroup(Context context, Group group)Methods in org.dspace.content.service that return types with arguments of type Community Modifier and Type Method Description List<Community>CommunityService. findAll(Context context)Get a list of all communities in the system.List<Community>CommunityService. findAll(Context context, Integer limit, Integer offset)Get all communities in the system.List<Community>CommunityService. findAllTop(Context context)Get a list of all top-level communities in the system.List<Community>CommunityService. findAuthorized(Context context, List<Integer> actions)List<Community>CommunityService. findAuthorizedGroupMapped(Context context, List<Integer> actions)List<Community>CommunityService. getAllParents(Context context, Collection collection)Return an array of parent communities of this collection.List<Community>CommunityService. getAllParents(Context context, Community community)Return an array of parent communities of this community, in ascending order.List<Community>ItemService. getCommunities(Context context, Item item)Get the communities this item is in.Methods in org.dspace.content.service with parameters of type Community Modifier and Type Method Description voidCommunityService. addCollection(Context context, Community community, Collection collection)Add an exisiting collection to the communityvoidCommunityService. addSubcommunity(Context context, Community parentCommunity, Community childCommunity)Add an existing community as a subcommunity to the communityvoidCommunityService. canEdit(Context context, Community community)booleanCommunityService. 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 withdrawnintCollectionService. 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 communityCollectionCollectionService. create(Context context, Community community)Create a new collection with a new ID.CollectionCollectionService. create(Context context, Community community, String handle)Create a new collection with the supplied handle and with a new ID.CollectionCollectionService. create(Context context, Community community, String handle, UUID uuid)Create a new collection with the supplied handle and ID.CommunityCommunityService. create(Community parent, Context context)Create a new top-level community, with a new ID.CommunityCommunityService. create(Community parent, Context context, String handle)Create a new top-level community, with a new ID.CommunityCommunityService. create(Community parent, Context context, String handle, UUID uuid)Create a new top-level community, with a new ID.GroupCommunityService. createAdministrators(Context context, Community community)Create a default administrators group if one does not already exist.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity)Create a new sub-community within this community.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity, String handle)Create a new sub-community within this community.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid)Create a new sub-community within this community.DSpaceCSVMetadataDSpaceCsvExportService. export(Context context, Community community, boolean exportAll)This method will export all the Items within the given Community to a DSpaceCSVList<Collection>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.List<Collection>CollectionService. findCollectionsWithSubmit(String q, Context context, Community community, int offset, int limit)Returns Collections for which the current user has 'submit' privileges.List<Collection>CollectionService. findCollectionsWithSubmit(String q, Context context, Community community, String entityType, int offset, int limit)Returns Collections for which the current user has 'submit' privileges.List<Collection>CommunityService. getAllCollections(Context context, Community community)Return an array of collections of this community and its subcommunitiesList<Community>CommunityService. getAllParents(Context context, Community community)Return an array of parent communities of this community, in ascending order.Iterator<Bitstream>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.BitstreamCommunityService. 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 Community Modifier and Type Method Description protected 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 Community Modifier and Type Method Description ListCommunityIndexFactoryImpl. getIndexableObjects(Context context, Community object)Constructors in org.dspace.discovery.indexobject with parameters of type Community Constructor Description IndexableCommunity(Community dso) -
Uses of Community in org.dspace.rdf.conversion
Methods in org.dspace.rdf.conversion with parameters of type Community Modifier and Type Method Description com.hp.hpl.jena.rdf.model.ModelSimpleDSORelationsConverterPlugin. convertCommunity(Context context, Community community)
-