| Package | Description |
|---|---|
| org.dspace.administer |
Provides classes and methods for administrative functions that fall outside
the regular use of other subsystems.
|
| org.dspace.app.bulkedit |
The DSpace Batch Metadata Editor, which uses a CSV file to export/import
item metadata.
|
| org.dspace.app.mediafilter | |
| org.dspace.app.mediafilter.service | |
| org.dspace.app.util |
Miscellaneous utility classes.
|
| 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 | |
| org.dspace.discovery | |
| org.dspace.plugin | |
| org.dspace.rdf.conversion |
| Modifier and Type | Method and Description |
|---|---|
protected Community |
CommunityFiliator.resolveCommunity(Context c,
String communityID)
Find a community by ID
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommunityFiliator.defiliate(Context c,
Community parent,
Community child) |
void |
CommunityFiliator.filiate(Context c,
Community parent,
Community child) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<Item> |
MetadataExport.buildFromCommunity(Context context,
Community community,
int indent)
Build an array list of item ids that are in a community (include sub-communities and collections)
|
| Constructor and Description |
|---|
MetadataExport(Context c,
Community toExport,
boolean exportAll)
Method to export a community (and sub-communities and collections)
|
| Modifier and Type | Method and Description |
|---|---|
void |
MediaFilterServiceImpl.applyFiltersCommunity(Context context,
Community community) |
| Modifier and Type | Method and Description |
|---|---|
void |
MediaFilterService.applyFiltersCommunity(Context context,
Community community) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorizeUtil.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 check
|
static void |
AuthorizeUtil.authorizeManageCommunityPolicy(Context context,
Community community)
Is allowed manage (create, remove, edit) community's policies in the
current context?
|
static void |
AuthorizeUtil.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
|
| Modifier and Type | Method and Description |
|---|---|
Community |
BrowserScope.getCommunity() |
| Modifier and Type | Method and Description |
|---|---|
void |
BrowserScope.setCommunity(Community community) |
| Modifier and Type | Method and Description |
|---|---|
Community |
CommunityServiceImpl.create(Community parent,
Context context) |
Community |
CommunityServiceImpl.create(Community parent,
Context context,
String handle) |
Community |
CommunityServiceImpl.createSubcommunity(Context context,
Community parentCommunity) |
Community |
CommunityServiceImpl.createSubcommunity(Context context,
Community parentCommunity,
String handle) |
Community |
CommunityServiceImpl.find(Context context,
UUID id) |
Community |
CommunityServiceImpl.findByAdminGroup(Context context,
Group group) |
Community |
CommunityServiceImpl.findByIdOrLegacyId(Context context,
String id) |
Community |
CommunityServiceImpl.findByLegacyId(Context context,
int id) |
Community |
Bitstream.getCommunity() |
| Modifier and Type | Method and 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,
Community community) |
List<Community> |
Collection.getCommunities()
Get the communities this collection appears in
|
List<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-level
|
List<Community> |
Community.getSubcommunities()
Get the immediate sub-communities of this community.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommunityServiceImpl.addCollection(Context context,
Community community,
Collection collection) |
protected void |
CommunityServiceImpl.addCollectionList(Community community,
List<Collection> collectionList)
Internal method to process subcommunities recursively
|
void |
CommunityServiceImpl.addSubcommunity(Context context,
Community parentCommunity,
Community childCommunity) |
void |
CommunityServiceImpl.canEdit(Context context,
Community community) |
boolean |
CommunityServiceImpl.canEditBoolean(Context context,
Community community) |
int |
ItemServiceImpl.countItems(Context context,
Community community) |
Community |
CommunityServiceImpl.create(Community parent,
Context context) |
Community |
CommunityServiceImpl.create(Community parent,
Context context,
String handle) |
Collection |
CollectionServiceImpl.create(Context context,
Community community) |
Collection |
CollectionServiceImpl.create(Context context,
Community community,
String handle) |
Group |
CommunityServiceImpl.createAdministrators(Context context,
Community community) |
Community |
CommunityServiceImpl.createSubcommunity(Context context,
Community parentCommunity) |
Community |
CommunityServiceImpl.createSubcommunity(Context context,
Community parentCommunity,
String handle) |
void |
CommunityServiceImpl.delete(Context context,
Community community) |
List<Collection> |
CollectionServiceImpl.findAuthorized(Context context,
Community community,
int actionID) |
DSpaceObject |
CommunityServiceImpl.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) |
String |
CommunityServiceImpl.getMetadata(Community community,
String field) |
DSpaceObject |
CommunityServiceImpl.getParentObject(Context context,
Community community) |
protected void |
CommunityServiceImpl.rawDelete(Context context,
Community community)
Internal method to remove the community and all its children from the
database, and perform any pre/post-cleanup
|
void |
CommunityServiceImpl.removeAdministrators(Context context,
Community community) |
void |
CommunityServiceImpl.removeCollection(Context context,
Community community,
Collection collection) |
void |
CommunityServiceImpl.removeSubcommunity(Context context,
Community parentCommunity,
Community childCommunity) |
Bitstream |
CommunityServiceImpl.setLogo(Context context,
Community community,
InputStream is) |
void |
CommunityServiceImpl.setMetadata(Context context,
Community community,
String field,
String value) |
void |
CommunityServiceImpl.update(Context context,
Community community) |
void |
CommunityServiceImpl.updateLastModified(Context context,
Community community) |
| Modifier and Type | Method and Description |
|---|---|
protected List<MockMetadataValue> |
MODSDisseminationCrosswalk.community2Metadata(Community community)
Generate a list of metadata elements for the given DSpace
community.
|
| Modifier and Type | Method and Description |
|---|---|
Community |
CommunityDAO.findByAdminGroup(Context context,
Group group) |
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Bitstream> |
BitstreamDAO.findByCommunity(Context context,
Community community) |
| Modifier and Type | Method and Description |
|---|---|
Community |
CommunityDAOImpl.findByAdminGroup(Context context,
Group group) |
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Bitstream> |
BitstreamDAOImpl.findByCommunity(Context context,
Community community) |
| Modifier and Type | Method and Description |
|---|---|
Community |
CommunityService.create(Community parent,
Context context)
Create a new top-level community, with a new ID.
|
Community |
CommunityService.create(Community parent,
Context context,
String handle)
Create a new top-level community, with a new ID.
|
Community |
CommunityService.createSubcommunity(Context context,
Community parentCommunity)
Create a new sub-community within this community.
|
Community |
CommunityService.createSubcommunity(Context context,
Community parentCommunity,
String handle)
Create a new sub-community within this community.
|
Community |
CommunityService.findByAdminGroup(Context context,
Group group) |
| Modifier and Type | Method and 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,
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommunityService.addCollection(Context context,
Community community,
Collection collection)
Add an exisiting collection to the community
|
void |
CommunityService.addSubcommunity(Context context,
Community parentCommunity,
Community childCommunity)
Add an existing community as a subcommunity to the community
|
void |
CommunityService.canEdit(Context context,
Community community) |
boolean |
CommunityService.canEditBoolean(Context context,
Community community)
return TRUE if context's user can edit community, false otherwise
|
int |
ItemService.countItems(Context context,
Community community)
counts items in the given community
|
Community |
CommunityService.create(Community parent,
Context context)
Create a new top-level community, with a new ID.
|
Community |
CommunityService.create(Community parent,
Context context,
String handle)
Create a new top-level community, with a new ID.
|
Collection |
CollectionService.create(Context context,
Community community)
Create a new collection with a new ID.
|
Collection |
CollectionService.create(Context context,
Community community,
String handle)
Create a new collection with the supplied handle and with a new ID.
|
Group |
CommunityService.createAdministrators(Context context,
Community community)
Create a default administrators group if one does not already exist.
|
Community |
CommunityService.createSubcommunity(Context context,
Community parentCommunity)
Create a new sub-community within this community.
|
Community |
CommunityService.createSubcommunity(Context context,
Community parentCommunity,
String handle)
Create a new sub-community within this community.
|
List<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> |
CommunityService.getAllCollections(Context context,
Community community)
Return an array of collections of this community and its subcommunities
|
List<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) |
String |
CommunityService.getMetadata(Community community,
String field)
Deprecated.
|
void |
CommunityService.removeAdministrators(Context context,
Community community)
Remove the administrators group, if no group has already been created
then return without error.
|
void |
CommunityService.removeCollection(Context context,
Community community,
Collection c)
Remove a collection.
|
void |
CommunityService.removeSubcommunity(Context context,
Community parentCommunity,
Community childCommunity)
Remove a subcommunity.
|
Bitstream |
CommunityService.setLogo(Context context,
Community community,
InputStream is)
Give the community a logo.
|
void |
CommunityService.setMetadata(Context context,
Community community,
String field,
String value)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Curator.doCommunity(Curator.TaskRunner tr,
Community comm)
Run task for Community along with all sub-communities and collections.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SolrServiceImpl.buildDocument(Context context,
Community community)
Build a solr document for a DSpace Community.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommunityHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Community community)
execute the process
|
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Model |
SimpleDSORelationsConverterPlugin.convertCommunity(Context context,
Community community) |
Copyright © 2016 DuraSpace. All rights reserved.