| Modifier and Type | Method and Description |
|---|---|
Collection |
BulkEditChange.getNewOwningCollection()
Get the new owning collection
|
Collection |
BulkEditChange.getOldOwningCollection()
Get the old owning collection
|
| Modifier and Type | Method and Description |
|---|---|
List<Collection> |
BulkEditChange.getNewMappedCollections()
Get the list of new mapped Collections
|
List<Collection> |
BulkEditChange.getOldMappedCollections()
Get the list of old mapped Collections
|
| Modifier and Type | Method and Description |
|---|---|
void |
BulkEditChange.changeOwningCollection(Collection oldC,
Collection newC)
Register a change to the owning collection
|
void |
BulkEditChange.registerNewMappedCollection(Collection c)
Add a new mapped Collection
|
void |
BulkEditChange.registerOldMappedCollection(Collection c)
Add an old mapped Collection
|
void |
BulkEditChange.setOwningCollection(Collection newC)
Set the owning collection of an item
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MetadataImport.compare(Item item,
List<String> collections,
List<Collection> actualCollections,
BulkEditChange bechange,
boolean change)
Compare changes between an items owning collection and mapped collections
and what is in the CSV file
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Collection> |
ItemImportServiceImpl.processCollectionFile(Context c,
String path,
String filename)
Read the collections file inside the item directory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemImportServiceImpl.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 DSpace
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemImportServiceImpl.addBTEItems(Context c,
List<Collection> mycollections,
String sourceDir,
String mapFile,
boolean template,
String inputType,
String workingDir)
In this method, the BTE is instantiated.
|
protected Item |
ItemImportServiceImpl.addItem(Context c,
List<Collection> mycollections,
String path,
String itemname,
PrintWriter mapOut,
boolean template)
item? try and add it to the archive.
|
void |
ItemImportServiceImpl.addItems(Context c,
List<Collection> mycollections,
String sourceDir,
String mapFile,
boolean template) |
void |
ItemImportServiceImpl.addItemsAtomic(Context c,
List<Collection> mycollections,
String sourceDir,
String mapFile,
boolean template) |
void |
ItemImportServiceImpl.replaceItems(Context c,
List<Collection> mycollections,
String sourceDir,
String mapFile,
boolean template) |
| Modifier and Type | Method and Description |
|---|---|
void |
ItemImportService.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 DSpace
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemImportService.addBTEItems(Context c,
List<Collection> mycollections,
String sourcedir,
String mapfile,
boolean template,
String bteInputType,
String workingDir)
Add items
|
void |
ItemImportService.addItems(Context c,
List<Collection> mycollections,
String sourceDir,
String mapFile,
boolean template)
Add items
|
void |
ItemImportService.addItemsAtomic(Context c,
List<Collection> mycollections,
String sourceDir,
String mapFile,
boolean template) |
void |
ItemImportService.replaceItems(Context c,
List<Collection> mycollections,
String sourcedir,
String mapfile,
boolean template)
Replace items
|
| Modifier and Type | Method and Description |
|---|---|
void |
MediaFilterServiceImpl.applyFiltersCollection(Context context,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
void |
MediaFilterService.applyFiltersCollection(Context context,
Collection collection) |
| Modifier and Type | Field and Description |
|---|---|
Collection |
CollectionDropDown.CollectionPathEntry.collection |
| Modifier and Type | Method and Description |
|---|---|
static void |
AuthorizeUtil.authorizeManageAdminGroup(Context context,
Collection collection)
Can the current user create/edit the admins group of the collection?
please note that the remove action need a separate check
|
static void |
AuthorizeUtil.authorizeManageCollectionPolicy(Context context,
Collection collection)
Is allowed manage (create, remove, edit) collection's policies in the
current context?
|
static void |
AuthorizeUtil.authorizeManageSubmittersGroup(Context context,
Collection collection)
Can the current user manage (create, remove, edit) the submitters group of
the collection?
|
static void |
AuthorizeUtil.authorizeManageTemplateItem(Context context,
Collection collection)
Is the current user allowed to manage (create, remove, edit) the
collection's template item?
|
static void |
AuthorizeUtil.authorizeManageWorkflowsGroup(Context context,
Collection collection)
Can the current user manage (create, remove, edit) the workflow groups of
the collection?
|
static void |
AuthorizeUtil.authorizeRemoveAdminGroup(Context context,
Collection collection)
Can the current user remove the admins group of the collection?
please note that the create/edit actions need separate check
|
static String |
CollectionDropDown.collectionPath(Context context,
Collection col)
Get full path starting from a top-level community via subcommunities down to a collection.
|
static String |
CollectionDropDown.collectionPath(Context context,
Collection col,
int maxchars)
Get full path starting from a top-level community via subcommunities down to a collection.
|
| Modifier and Type | Method and Description |
|---|---|
static CollectionDropDown.CollectionPathEntry[] |
CollectionDropDown.annotateWithPaths(Context context,
List<Collection> collections)
Annotates an array of collections with their respective full paths (@see #collectionPath() method in this class).
|
| Constructor and Description |
|---|
CollectionDropDown.CollectionPathEntry(Collection collection,
String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorizeServiceImpl.generateAutomaticPolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection)
Generate Policies policies READ for the date in input adding reason.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorizeService.generateAutomaticPolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection)
Generate Policies policies READ for the date in input adding reason.
|
| Modifier and Type | Method and Description |
|---|---|
Collection |
BrowserScope.getCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
BrowserScope.setCollection(Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
CollectionServiceImpl.create(Context context,
Community community) |
Collection |
CollectionServiceImpl.create(Context context,
Community community,
String handle) |
Collection |
CollectionServiceImpl.find(Context context,
UUID id) |
Collection |
CollectionServiceImpl.findByGroup(Context context,
Group group) |
Collection |
CollectionServiceImpl.findByIdOrLegacyId(Context context,
String id) |
Collection |
CollectionServiceImpl.findByLegacyId(Context context,
int id) |
Collection |
Bitstream.getCollection() |
Collection |
WorkspaceItem.getCollection() |
Collection |
InProgressSubmission.getCollection()
Get the collection being submitted to
|
Collection |
Item.getOwningCollection()
Get the owning Collection for the item
|
Collection |
Item.getTemplateItemOf() |
| Modifier and Type | Method and Description |
|---|---|
List<Collection> |
CollectionServiceImpl.findAll(Context context) |
List<Collection> |
CollectionServiceImpl.findAll(Context context,
Integer limit,
Integer offset) |
List<Collection> |
CollectionServiceImpl.findAuthorized(Context context,
Community community,
int actionID) |
List<Collection> |
CollectionServiceImpl.findAuthorizedOptimized(Context context,
int actionID) |
List<Collection> |
CollectionServiceImpl.findCollectionsWithSubscribers(Context context) |
List<Collection> |
CollectionServiceImpl.findDirectMapped(Context context,
int actionID) |
List<Collection> |
CollectionServiceImpl.findGroup2CommunityMapped(Context context) |
List<Collection> |
CollectionServiceImpl.findGroup2GroupMapped(Context context,
int actionID) |
List<Collection> |
CollectionServiceImpl.findGroupMapped(Context context,
int actionID) |
List<Collection> |
CommunityServiceImpl.getAllCollections(Context context,
Community community) |
List<Collection> |
Item.getCollections()
Get the collections this item is in.
|
List<Collection> |
Community.getCollections()
Get the collections in this community.
|
List<Collection> |
ItemServiceImpl.getCollectionsNotLinked(Context context,
Item item) |
List<Map.Entry<Collection,Long>> |
CollectionServiceImpl.getCollectionsWithBitstreamSizesTotal(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommunityServiceImpl.addCollection(Context context,
Community community,
Collection collection) |
void |
CollectionServiceImpl.addItem(Context context,
Collection collection,
Item item) |
void |
ItemServiceImpl.adjustBundleBitstreamPolicies(Context context,
Item item,
Collection collection) |
void |
ItemServiceImpl.adjustItemPolicies(Context context,
Item item,
Collection collection) |
void |
CollectionServiceImpl.canEdit(Context context,
Collection collection) |
void |
CollectionServiceImpl.canEdit(Context context,
Collection collection,
boolean useInheritance) |
boolean |
CollectionServiceImpl.canEditBoolean(Context context,
Collection collection) |
boolean |
CollectionServiceImpl.canEditBoolean(Context context,
Collection collection,
boolean useInheritance) |
int |
CollectionNameComparator.compare(Collection collection1,
Collection collection2) |
int |
ItemServiceImpl.countItems(Context context,
Collection collection) |
WorkspaceItem |
WorkspaceItemServiceImpl.create(Context context,
Collection collection,
boolean template) |
Group |
CollectionServiceImpl.createAdministrators(Context context,
Collection collection) |
Group |
CollectionServiceImpl.createSubmitters(Context context,
Collection collection) |
Item |
ItemServiceImpl.createTemplateItem(Context context,
Collection collection) |
void |
CollectionServiceImpl.createTemplateItem(Context context,
Collection collection) |
Group |
CollectionServiceImpl.createWorkflowGroup(Context context,
Collection collection,
int step) |
void |
CollectionServiceImpl.delete(Context context,
Collection collection) |
Iterator<Item> |
ItemServiceImpl.findAllByCollection(Context context,
Collection collection) |
Iterator<Item> |
ItemServiceImpl.findByCollection(Context context,
Collection collection) |
List<WorkspaceItem> |
WorkspaceItemServiceImpl.findByCollection(Context context,
Collection collection) |
Iterator<Item> |
ItemServiceImpl.findByCollection(Context context,
Collection collection,
Integer limit,
Integer offset) |
DSpaceObject |
CollectionServiceImpl.getAdminObject(Context context,
Collection collection,
int action) |
List<Community> |
CommunityServiceImpl.getAllParents(Context context,
Collection collection) |
protected void |
DSpaceObjectServiceImpl.getAuthoritiesAndConfidences(String fieldKey,
Collection collection,
List<String> values,
List<String> authorities,
List<Integer> confidences,
int i) |
protected void |
ItemServiceImpl.getAuthoritiesAndConfidences(String fieldKey,
Collection collection,
List<String> values,
List<String> authorities,
List<Integer> confidences,
int i) |
Iterator<Bitstream> |
BitstreamServiceImpl.getCollectionBitstreams(Context context,
Collection collection) |
String |
CollectionServiceImpl.getLicense(Collection collection) |
static String |
LicenseUtils.getLicenseText(Locale locale,
Collection collection,
Item item,
EPerson eperson)
Utility method if no additional arguments are to be supplied to the
license template.
|
static String |
LicenseUtils.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.
|
String |
CollectionServiceImpl.getMetadata(Collection collection,
String field)
Deprecated.
|
DSpaceObject |
CollectionServiceImpl.getParentObject(Context context,
Collection collection) |
Group |
CollectionServiceImpl.getWorkflowGroup(Collection collection,
int step) |
boolean |
CollectionServiceImpl.hasCustomLicense(Collection collection) |
void |
BundleServiceImpl.inheritCollectionDefaultPolicies(Context context,
Bundle bundle,
Collection collection) |
void |
ItemServiceImpl.inheritCollectionDefaultPolicies(Context context,
Item item,
Collection collection) |
boolean |
ItemServiceImpl.isIn(Item item,
Collection collection) |
boolean |
ItemServiceImpl.isOwningCollection(Item item,
Collection collection) |
void |
ItemServiceImpl.move(Context context,
Item item,
Collection from,
Collection to) |
void |
ItemServiceImpl.move(Context context,
Item item,
Collection from,
Collection to,
boolean inheritDefaultPolicies) |
void |
CollectionServiceImpl.removeAdministrators(Context context,
Collection collection) |
void |
CommunityServiceImpl.removeCollection(Context context,
Community community,
Collection collection) |
void |
CollectionServiceImpl.removeItem(Context context,
Collection collection,
Item item) |
void |
CollectionServiceImpl.removeSubmitters(Context context,
Collection collection) |
void |
CollectionServiceImpl.removeTemplateItem(Context context,
Collection collection) |
Bitstream |
CollectionServiceImpl.setLogo(Context context,
Collection collection,
InputStream is) |
void |
CollectionServiceImpl.setMetadata(Context context,
Collection collection,
String field,
String value) |
void |
Item.setOwningCollection(Collection c)
Set the owning Collection for the item
|
void |
CollectionServiceImpl.setWorkflowGroup(Collection collection,
int step,
Group group) |
void |
CollectionServiceImpl.update(Context context,
Collection collection) |
void |
CollectionServiceImpl.updateLastModified(Context context,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CommunityServiceImpl.addCollectionList(Community community,
List<Collection> collectionList)
Internal method to process subcommunities recursively
|
| Modifier and Type | Method and Description |
|---|---|
Choices |
ChoiceAuthorityServiceImpl.getBestMatch(String fieldKey,
String query,
Collection collection,
String locale) |
Choices |
SampleAuthority.getBestMatch(String field,
String text,
Collection collection,
String locale) |
Choices |
LCNameAuthority.getBestMatch(String field,
String text,
Collection collection,
String locale) |
Choices |
DSpaceControlledVocabulary.getBestMatch(String field,
String text,
Collection collection,
String locale) |
Choices |
SHERPARoMEOProtocol.getBestMatch(String field,
String text,
Collection collection,
String locale) |
Choices |
ChoiceAuthority.getBestMatch(String field,
String text,
Collection collection,
String locale)
Get the single "best" match (if any) of a value in the authority
to the given user value.
|
Choices |
TestAuthority.getBestMatch(String field,
String text,
Collection collection,
String locale) |
Choices |
DCInputAuthority.getBestMatch(String field,
String text,
Collection collection,
String locale) |
Choices |
SolrAuthority.getBestMatch(String field,
String text,
Collection collection,
String locale) |
Choices |
SHERPARoMEOPublisher.getMatches(String text,
Collection collection,
int start,
int limit,
String locale) |
Choices |
SHERPARoMEOJournalTitle.getMatches(String text,
Collection collection,
int start,
int limit,
String locale) |
abstract Choices |
SHERPARoMEOProtocol.getMatches(String text,
Collection collection,
int start,
int limit,
String locale) |
Choices |
ChoiceAuthorityServiceImpl.getMatches(String fieldKey,
String query,
Collection collection,
int start,
int limit,
String locale) |
Choices |
SampleAuthority.getMatches(String field,
String query,
Collection collection,
int start,
int limit,
String locale) |
Choices |
SHERPARoMEOPublisher.getMatches(String field,
String text,
Collection collection,
int start,
int limit,
String locale) |
Choices |
SHERPARoMEOJournalTitle.getMatches(String field,
String text,
Collection collection,
int start,
int limit,
String locale) |
Choices |
LCNameAuthority.getMatches(String field,
String text,
Collection collection,
int start,
int limit,
String locale)
Match a proposed value against name authority records
Value is assumed to be in "Lastname, Firstname" format.
|
Choices |
DSpaceControlledVocabulary.getMatches(String field,
String text,
Collection collection,
int start,
int limit,
String locale) |
Choices |
ChoiceAuthority.getMatches(String field,
String text,
Collection collection,
int start,
int limit,
String locale)
Get all values from the authority that match the preferred value.
|
Choices |
TestAuthority.getMatches(String field,
String text,
Collection collection,
int start,
int limit,
String locale) |
Choices |
DCInputAuthority.getMatches(String field,
String query,
Collection collection,
int start,
int limit,
String locale) |
Choices |
SolrAuthority.getMatches(String field,
String text,
Collection collection,
int start,
int limit,
String locale) |
Choices |
ChoiceAuthorityServiceImpl.getMatches(String fieldKey,
String query,
Collection collection,
int start,
int limit,
String locale,
boolean externalInput) |
Choices |
SolrAuthority.getMatches(String field,
String text,
Collection collection,
int start,
int limit,
String locale,
boolean bestMatch) |
Choices |
ChoiceAuthorityServiceImpl.getMatches(String schema,
String element,
String qualifier,
String query,
Collection collection,
int start,
int limit,
String locale) |
| Modifier and Type | Method and Description |
|---|---|
Choices |
ChoiceAuthorityService.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.
|
Choices |
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.
|
Choices |
ChoiceAuthorityService.getMatches(String fieldKey,
String query,
Collection collection,
int start,
int limit,
String locale,
boolean externalInput) |
Choices |
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<MockMetadataValue> |
MODSDisseminationCrosswalk.collection2Metadata(Collection collection)
Generate a list of metadata elements for the given DSpace
collection.
|
| Modifier and Type | Method and Description |
|---|---|
Collection |
CollectionDAO.findByGroup(Context context,
Group group) |
Collection |
CollectionDAO.findByTemplateItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
List<Collection> |
CollectionDAO.findAll(Context context,
MetadataField order) |
List<Collection> |
CollectionDAO.findAll(Context context,
MetadataField order,
Integer limit,
Integer offset) |
List<Collection> |
CollectionDAO.findAuthorized(Context context,
EPerson ePerson,
List<Integer> actions) |
List<Collection> |
CollectionDAO.findAuthorizedByGroup(Context context,
EPerson ePerson,
List<Integer> actions) |
List<Collection> |
CollectionDAO.findCollectionsWithSubscribers(Context context) |
List<Map.Entry<Collection,Long>> |
CollectionDAO.getCollectionsWithBitstreamSizesTotal(Context context) |
| Modifier and Type | Method and Description |
|---|---|
int |
ItemDAO.countItems(Context context,
Collection collection,
boolean includeArchived,
boolean includeWithdrawn)
Count number of items in a given collection
|
Iterator<Item> |
ItemDAO.findAllByCollection(Context context,
Collection collection) |
Iterator<Item> |
ItemDAO.findArchivedByCollection(Context context,
Collection collection,
Integer limit,
Integer offset) |
Iterator<Bitstream> |
BitstreamDAO.findByCollection(Context context,
Collection collection) |
List<WorkspaceItem> |
WorkspaceItemDAO.findByCollection(Context context,
Collection c) |
| Modifier and Type | Method and Description |
|---|---|
int |
ItemDAO.countItems(Context context,
List<Collection> collections,
boolean includeArchived,
boolean includeWithdrawn)
Count number of unique items across several collections at once.
|
| Modifier and Type | Method and Description |
|---|---|
Collection |
CollectionDAOImpl.findByGroup(Context context,
Group group) |
Collection |
CollectionDAOImpl.findByTemplateItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
List<Collection> |
CollectionDAOImpl.findAll(Context context,
MetadataField order)
Get all collections in the system.
|
List<Collection> |
CollectionDAOImpl.findAll(Context context,
MetadataField order,
Integer limit,
Integer offset) |
List<Collection> |
CollectionDAOImpl.findAuthorized(Context context,
EPerson ePerson,
List<Integer> actions) |
List<Collection> |
CollectionDAOImpl.findAuthorizedByGroup(Context context,
EPerson ePerson,
List<Integer> actions) |
List<Collection> |
CollectionDAOImpl.findCollectionsWithSubscribers(Context context) |
List<Map.Entry<Collection,Long>> |
CollectionDAOImpl.getCollectionsWithBitstreamSizesTotal(Context context) |
| Modifier and Type | Method and Description |
|---|---|
int |
ItemDAOImpl.countItems(Context context,
Collection collection,
boolean includeArchived,
boolean includeWithdrawn) |
Iterator<Item> |
ItemDAOImpl.findAllByCollection(Context context,
Collection collection) |
Iterator<Item> |
ItemDAOImpl.findArchivedByCollection(Context context,
Collection collection,
Integer limit,
Integer offset) |
Iterator<Bitstream> |
BitstreamDAOImpl.findByCollection(Context context,
Collection collection) |
List<WorkspaceItem> |
WorkspaceItemDAOImpl.findByCollection(Context context,
Collection c) |
| Modifier and Type | Method and Description |
|---|---|
int |
ItemDAOImpl.countItems(Context context,
List<Collection> collections,
boolean includeArchived,
boolean includeWithdrawn) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PackageUtils.addDepositLicense(Context context,
String license,
Item item,
Collection collection)
Add DSpace Deposit License to an Item.
|
void |
DSpaceMETSIngester.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.
|
abstract void |
AbstractMETSIngester.addLicense(Context context,
Item item,
String license,
Collection collection,
PackageParameters params)
Add license(s) to Item based on contents of METS and other policies.
|
void |
DSpaceAIPIngester.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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Collection |
CollectionService.findByGroup(Context context,
Group group) |
| Modifier and Type | Method and Description |
|---|---|
List<Collection> |
CollectionService.findAll(Context context)
Get all collections in the system.
|
List<Collection> |
CollectionService.findAll(Context context,
Integer limit,
Integer offset)
Get all collections in the system.
|
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> |
CollectionService.findAuthorizedOptimized(Context context,
int actionID) |
List<Collection> |
CollectionService.findCollectionsWithSubscribers(Context context) |
List<Collection> |
CollectionService.findDirectMapped(Context context,
int actionID) |
List<Collection> |
CollectionService.findGroup2CommunityMapped(Context context) |
List<Collection> |
CollectionService.findGroup2GroupMapped(Context context,
int actionID) |
List<Collection> |
CollectionService.findGroupMapped(Context context,
int actionID) |
List<Collection> |
CommunityService.getAllCollections(Context context,
Community community)
Return an array of collections of this community and its subcommunities
|
List<Collection> |
ItemService.getCollectionsNotLinked(Context context,
Item item)
Get the collections this item is not in.
|
List<Map.Entry<Collection,Long>> |
CollectionService.getCollectionsWithBitstreamSizesTotal(Context context)
The map entry returned contains a collection as a key and sum of bitstream sizes in bytes as a value
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommunityService.addCollection(Context context,
Community community,
Collection collection)
Add an exisiting collection to the community
|
void |
CollectionService.addItem(Context context,
Collection collection,
Item item)
Add an item to the collection.
|
void |
ItemService.adjustBundleBitstreamPolicies(Context context,
Item item,
Collection collection) |
void |
ItemService.adjustItemPolicies(Context context,
Item item,
Collection collection) |
void |
CollectionService.canEdit(Context context,
Collection collection) |
void |
CollectionService.canEdit(Context context,
Collection collection,
boolean useInheritance) |
boolean |
CollectionService.canEditBoolean(Context context,
Collection collection) |
boolean |
CollectionService.canEditBoolean(Context context,
Collection collection,
boolean useInheritance) |
int |
ItemService.countItems(Context context,
Collection collection)
counts items in the given collection
|
WorkspaceItem |
WorkspaceItemService.create(Context context,
Collection collection,
boolean template)
Create a new workspace item, with a new ID.
|
Group |
CollectionService.createAdministrators(Context context,
Collection collection)
Create a default administrators group if one does not already exist.
|
Group |
CollectionService.createSubmitters(Context context,
Collection collection)
Create a default submitters group if one does not already exist.
|
void |
CollectionService.createTemplateItem(Context context,
Collection collection)
Create an empty template item for this collection.
|
Item |
ItemService.createTemplateItem(Context context,
Collection collection)
Create an empty template item for this collection.
|
Group |
CollectionService.createWorkflowGroup(Context context,
Collection collection,
int step)
Create a workflow group for the given step if one does not already exist.
|
Iterator<Item> |
ItemService.findAllByCollection(Context context,
Collection collection)
Get all the items in this collection.
|
List<WorkspaceItem> |
WorkspaceItemService.findByCollection(Context context,
Collection collection)
Get all workspace items for a particular collection.
|
Iterator<Item> |
ItemService.findByCollection(Context context,
Collection collection)
Get all the items in this collection.
|
Iterator<Item> |
ItemService.findByCollection(Context context,
Collection collection,
Integer limit,
Integer offset)
Get all the items in this collection.
|
List<Community> |
CommunityService.getAllParents(Context context,
Collection collection)
Return an array of parent communities of this collection.
|
Iterator<Bitstream> |
BitstreamService.getCollectionBitstreams(Context context,
Collection collection) |
String |
CollectionService.getLicense(Collection collection)
Get the license that users must grant before submitting to this
collection.
|
Group |
CollectionService.getWorkflowGroup(Collection collection,
int step)
Get the the workflow group corresponding to a particular workflow step.
|
boolean |
CollectionService.hasCustomLicense(Collection collection)
Find out if the collection has a custom license
|
void |
BundleService.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.
|
void |
ItemService.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.
|
boolean |
ItemService.isIn(Item item,
Collection collection)
See whether this Item is contained by a given Collection.
|
boolean |
ItemService.isOwningCollection(Item item,
Collection collection)
Return true if this Collection 'owns' this item
|
void |
ItemService.move(Context context,
Item item,
Collection from,
Collection to)
Moves the item from one collection to another one
|
void |
ItemService.move(Context context,
Item item,
Collection from,
Collection to,
boolean inheritDefaultPolicies)
Moves the item from one collection to another one
|
void |
CollectionService.removeAdministrators(Context context,
Collection collection)
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 |
CollectionService.removeItem(Context context,
Collection collection,
Item item)
Remove an item.
|
void |
CollectionService.removeSubmitters(Context context,
Collection collection)
Remove the submitters group, if no group has already been created
then return without error.
|
void |
CollectionService.removeTemplateItem(Context context,
Collection collection)
Remove the template item for this collection, if there is one.
|
Bitstream |
CollectionService.setLogo(Context context,
Collection collection,
InputStream is)
Give the collection a logo.
|
void |
CollectionService.setMetadata(Context context,
Collection collection,
String field,
String value)
Deprecated.
|
void |
CollectionService.setWorkflowGroup(Collection collection,
int step,
Group group)
Set the workflow group corresponding to a particular workflow step.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Curator.doCollection(Curator.TaskRunner tr,
Collection coll)
Run task for Collection along with all Items in that collection.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SolrServiceImpl.buildDocument(Context context,
Collection collection)
Build a solr document for a DSpace Collection.
|
protected List<String> |
SolrServiceImpl.getCollectionLocations(Context context,
Collection target) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultEmbargoSetter.generatePolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
Subscription.getCollection() |
| Modifier and Type | Method and Description |
|---|---|
List<Collection> |
SubscribeServiceImpl.getAvailableSubscriptions(Context context) |
List<Collection> |
SubscribeServiceImpl.getAvailableSubscriptions(Context context,
EPerson eperson) |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscribeServiceImpl.deleteByCollection(Context context,
Collection collection) |
boolean |
SubscribeServiceImpl.isSubscribed(Context context,
EPerson eperson,
Collection collection) |
void |
SubscribeServiceImpl.subscribe(Context context,
EPerson eperson,
Collection collection) |
void |
SubscribeServiceImpl.unsubscribe(Context context,
EPerson eperson,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SubscribeCLITool.sendEmail(Context context,
EPerson eperson,
List<Collection> collections,
boolean test)
Sends an email to the given e-person with details of new items in the
given collections, items that appeared yesterday.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionDAO.deleteByCollection(Context context,
Collection collection) |
void |
SubscriptionDAO.deleteByCollectionAndEPerson(Context context,
Collection collection,
EPerson eperson) |
Subscription |
SubscriptionDAO.findByCollectionAndEPerson(Context context,
EPerson eperson,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionDAOImpl.deleteByCollection(Context context,
Collection collection) |
void |
SubscriptionDAOImpl.deleteByCollectionAndEPerson(Context context,
Collection collection,
EPerson eperson) |
Subscription |
SubscriptionDAOImpl.findByCollectionAndEPerson(Context context,
EPerson eperson,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
List<Collection> |
SubscribeService.getAvailableSubscriptions(Context context)
Find out which collections the currently logged in e-person can subscribe to
|
List<Collection> |
SubscribeService.getAvailableSubscriptions(Context context,
EPerson eperson)
Find out which collections an e-person can subscribe to
|
| Modifier and Type | Method and Description |
|---|---|
void |
SubscribeService.deleteByCollection(Context context,
Collection collection) |
boolean |
SubscribeService.isSubscribed(Context context,
EPerson eperson,
Collection collection)
Is that e-person subscribed to that collection?
|
void |
SubscribeService.subscribe(Context context,
EPerson eperson,
Collection collection)
Subscribe an e-person to a collection.
|
void |
SubscribeService.unsubscribe(Context context,
EPerson eperson,
Collection collection)
Unsubscribe an e-person to a collection.
|
| Modifier and Type | Method and Description |
|---|---|
Collection |
HarvestedCollection.getCollection() |
| Modifier and Type | Method and Description |
|---|---|
HarvestedCollection |
HarvestedCollectionServiceImpl.create(Context context,
Collection collection) |
HarvestedCollection |
HarvestedCollectionServiceImpl.find(Context context,
Collection collection) |
Item |
HarvestedItemServiceImpl.getItemByOAIId(Context context,
String itemOaiID,
Collection collection) |
boolean |
HarvestedCollectionServiceImpl.isHarvestable(Context context,
Collection collection) |
boolean |
HarvestedCollectionServiceImpl.isReady(Context context,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedCollection |
HarvestedCollectionDAO.findByCollection(Context context,
Collection collection) |
HarvestedItem |
HarvestedItemDAO.findByOAIId(Context context,
String itemOaiID,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedCollection |
HarvestedCollectionDAOImpl.findByCollection(Context context,
Collection collection) |
HarvestedItem |
HarvestedItemDAOImpl.findByOAIId(Context context,
String itemOaiID,
Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedCollection |
HarvestedCollectionService.create(Context context,
Collection collection)
Create a new harvest instance row for a specified collection.
|
HarvestedCollection |
HarvestedCollectionService.find(Context context,
Collection collection)
Find the harvest settings corresponding to this collection
|
Item |
HarvestedItemService.getItemByOAIId(Context context,
String itemOaiID,
Collection collection)
Retrieve a DSpace Item that corresponds to this particular combination of owning collection and OAI ID.
|
boolean |
HarvestedCollectionService.isHarvestable(Context context,
Collection collection)
Returns whether the specified collection is harvestable, i.e.
|
boolean |
HarvestedCollectionService.isReady(Context context,
Collection collection)
Returns whether the specified collection is ready for immediate harvest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CollectionHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Collection collection)
execute the process
|
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Model |
SimpleDSORelationsConverterPlugin.convertCollection(Context context,
Collection collection) |
| Modifier and Type | Field and Description |
|---|---|
protected Collection |
DSpaceWorkspaceItemOutputGenerator.collection |
| Modifier and Type | Method and Description |
|---|---|
void |
DSpaceWorkspaceItemOutputGenerator.setCollection(Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
UsageWorkflowEvent.getScope() |
| Constructor and Description |
|---|
UsageWorkflowEvent(Context context,
Item item,
InProgressSubmission workflowItem,
String workflowStep,
String oldState,
Collection scope,
EPerson actor) |
| Modifier and Type | Method and Description |
|---|---|
T |
WorkflowItemService.create(Context context,
Item item,
Collection collection) |
void |
WorkflowItemService.deleteByCollection(Context context,
Collection collection) |
void |
WorkflowService.deleteCollection(Context context,
Collection collection) |
List<T> |
WorkflowItemService.findByCollection(Context context,
Collection collection)
Get all workflow items for a particular collection.
|
Group |
WorkflowService.getWorkflowRoleGroup(Context context,
Collection collection,
String roleName,
Group roleGroup) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
BasicWorkflowItem.getCollection() |
| Modifier and Type | Method and Description |
|---|---|
BasicWorkflowItem |
BasicWorkflowItemServiceImpl.create(Context context,
Item item,
Collection collection) |
void |
BasicWorkflowItemServiceImpl.deleteByCollection(Context context,
Collection collection) |
void |
BasicWorkflowServiceImpl.deleteCollection(Context context,
Collection collection) |
List<BasicWorkflowItem> |
BasicWorkflowItemServiceImpl.findByCollection(Context context,
Collection collection) |
Group |
BasicWorkflowServiceImpl.getWorkflowRoleGroup(Context context,
Collection collection,
String roleName,
Group roleGroup) |
protected void |
BasicWorkflowServiceImpl.logWorkflowEvent(Context context,
Item item,
BasicWorkflowItem workflowItem,
EPerson actor,
int newstate,
EPerson newOwner,
Collection mycollection,
int oldState,
Group newOwnerGroup) |
protected void |
BasicWorkflowServiceImpl.notifyOfArchive(Context context,
Item item,
Collection coll)
notify the submitter that the item is archived
|
| Modifier and Type | Method and Description |
|---|---|
List<BasicWorkflowItem> |
BasicWorkflowItemDAO.findByCollection(Context context,
Collection c) |
| Modifier and Type | Method and Description |
|---|---|
List<BasicWorkflowItem> |
BasicWorkflowItemDAOImpl.findByCollection(Context context,
Collection c) |
| Modifier and Type | Method and Description |
|---|---|
static void |
WorkflowUtils.createCollectionWorkflowRole(Context context,
Collection collection,
String roleId,
Group group)
WORKFLOW ROLE MANAGEMENT
|
void |
XmlWorkflowServiceImpl.deleteCollection(Context context,
Collection collection) |
static void |
WorkflowUtils.deleteRoleGroup(Context context,
Collection collection,
String roleID) |
static HashMap<String,Role> |
WorkflowUtils.getAllExternalRoles(Collection thisCollection) |
static HashMap<String,Role> |
WorkflowUtils.getCollectionAndRepositoryRoles(Collection thisCollection) |
static HashMap<String,Role> |
WorkflowUtils.getCollectionRoles(Collection thisCollection) |
static Group |
WorkflowUtils.getRoleGroup(Context context,
Collection collection,
Role role) |
Workflow |
XmlWorkflowFactoryImpl.getWorkflow(Collection collection) |
Group |
XmlWorkflowServiceImpl.getWorkflowRoleGroup(Context context,
Collection collection,
String roleName,
Group roleGroup) |
protected void |
XmlWorkflowServiceImpl.notifyOfArchive(Context context,
Item item,
Collection coll)
notify the submitter that the item is archived
|
| Modifier and Type | Method and Description |
|---|---|
Workflow |
XmlWorkflowFactory.getWorkflow(Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
Collection |
XmlWorkflowItem.getCollection() |
Collection |
CollectionRole.getCollection() |
| Modifier and Type | Method and Description |
|---|---|
int |
XmlWorkflowItemServiceImpl.countAllInCollection(Context context,
Collection collection) |
CollectionRole |
CollectionRoleServiceImpl.create(Context context,
Collection collection,
String roleId,
Group group) |
XmlWorkflowItem |
XmlWorkflowItemServiceImpl.create(Context context,
Item item,
Collection collection) |
void |
XmlWorkflowItemServiceImpl.deleteByCollection(Context context,
Collection collection) |
void |
CollectionRoleServiceImpl.deleteByCollection(Context context,
Collection collection) |
CollectionRole |
CollectionRoleServiceImpl.find(Context context,
Collection collection,
String role) |
List<XmlWorkflowItem> |
XmlWorkflowItemServiceImpl.findAllInCollection(Context context,
Integer offset,
Integer pagesize,
Collection collection) |
List<XmlWorkflowItem> |
XmlWorkflowItemServiceImpl.findByCollection(Context context,
Collection collection) |
List<CollectionRole> |
CollectionRoleServiceImpl.findByCollection(Context context,
Collection collection) |
void |
XmlWorkflowItem.setCollection(Collection collection) |
void |
CollectionRole.setCollection(Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
int |
XmlWorkflowItemDAO.countAllInCollection(Context context,
Collection collection) |
void |
CollectionRoleDAO.deleteByCollection(Context context,
Collection collection) |
List<XmlWorkflowItem> |
XmlWorkflowItemDAO.findAllInCollection(Context context,
Integer offset,
Integer limit,
Collection collection) |
List<CollectionRole> |
CollectionRoleDAO.findByCollection(Context context,
Collection collection) |
List<XmlWorkflowItem> |
XmlWorkflowItemDAO.findByCollection(Context context,
Collection collection) |
CollectionRole |
CollectionRoleDAO.findByCollectionAndRole(Context context,
Collection collection,
String role) |
| Modifier and Type | Method and Description |
|---|---|
int |
XmlWorkflowItemDAOImpl.countAllInCollection(Context context,
Collection collection) |
void |
CollectionRoleDAOImpl.deleteByCollection(Context context,
Collection collection) |
List<XmlWorkflowItem> |
XmlWorkflowItemDAOImpl.findAllInCollection(Context context,
Integer offset,
Integer limit,
Collection collection) |
List<CollectionRole> |
CollectionRoleDAOImpl.findByCollection(Context context,
Collection collection) |
List<XmlWorkflowItem> |
XmlWorkflowItemDAOImpl.findByCollection(Context context,
Collection collection) |
CollectionRole |
CollectionRoleDAOImpl.findByCollectionAndRole(Context context,
Collection collection,
String role) |
| Modifier and Type | Method and Description |
|---|---|
int |
XmlWorkflowItemService.countAllInCollection(Context context,
Collection collection)
return how many workflow items that appear in the collection
|
CollectionRole |
CollectionRoleService.create(Context context,
Collection collection,
String roleId,
Group group) |
void |
CollectionRoleService.deleteByCollection(Context context,
Collection collection) |
CollectionRole |
CollectionRoleService.find(Context context,
Collection collection,
String role) |
List<XmlWorkflowItem> |
XmlWorkflowItemService.findAllInCollection(Context context,
Integer page,
Integer pagesize,
Collection collection)
return all workflowitems for a certain page with a certain collection
|
List<CollectionRole> |
CollectionRoleService.findByCollection(Context context,
Collection collection) |
Copyright © 2016 DuraSpace. All rights reserved.