| Modifier and Type | Method and Description |
|---|---|
void |
WorkflowManagerDefault.addMetadata(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.addMetadata(Context context,
Item item) |
void |
WorkflowManager.addMetadata(Context context,
Item item) |
void |
WorkflowManagerDefault.addResourceContent(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.addResourceContent(Context context,
Item item) |
void |
WorkflowManager.addResourceContent(Context context,
Item item) |
SwordContext |
SwordAuthenticator.authenticate(org.swordapp.server.AuthCredentials auth)
Authenticate the given service document request.
|
org.swordapp.server.SwordCollection |
CollectionCollectionGenerator.buildCollection(Context context,
DSpaceObject dso,
SwordConfigurationDSpace swordConfig)
Build the collection for the given DSpaceObject.
|
org.swordapp.server.SwordCollection |
CommunityCollectionGenerator.buildCollection(Context context,
DSpaceObject dso,
SwordConfigurationDSpace swordConfig) |
org.swordapp.server.SwordCollection |
AtomCollectionGenerator.buildCollection(Context context,
DSpaceObject dso,
SwordConfigurationDSpace config)
Build the ATOM Collection which represents the given DSpace Object.
|
boolean |
SwordAuthenticator.canSubmit(SwordContext swordContext,
DSpaceObject dso,
VerboseDescription msg)
Can the users contained in this object's member SwordContext
make a successful submission to the selected collection.
|
boolean |
SwordAuthenticator.canSubmitTo(SwordContext swordContext,
Collection collection)
Can the current SWORD Context permit deposit into the given
collection in the given DSpace Context?
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to ADD
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to ADD
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to ADD
OR the on-behalf-of user is null)
|
boolean |
SwordAuthenticator.canSubmitTo(SwordContext context,
DSpaceObject dso)
Can the given context submit to the specified DSpace object?
This forwards to the individual methods for different object types;
see their documentation for details of the conditions.
|
boolean |
SwordAuthenticator.canSubmitTo(SwordContext swordContext,
Item item) |
void |
SwordContext.commit()
Commit the primary context held by this class, and abort the authenticated
user's context if it is different.
|
String |
SwordUrlManager.constructSubServiceUrl(Collection collection)
Construct the service document URL for the given object, which will
be supplied in the sword:service element of other service document
entries.
|
String |
SwordUrlManager.constructSubServiceUrl(Community community)
Construct the service document URL for the given object, which will
be supplied in the sword:service element of other service document
entries.
|
String |
DSpaceSwordAPI.createEntryFilename(Context context,
org.swordapp.server.Deposit deposit,
boolean original) |
String |
DSpaceSwordAPI.createFilename(Context context,
org.swordapp.server.Deposit deposit,
boolean original)
Construct the most appropriate filename for the incoming deposit.
|
protected org.swordapp.server.DepositReceipt |
ReceiptGenerator.createFileReceipt(Context context,
DepositResult result,
SwordConfigurationDSpace config) |
protected org.swordapp.server.DepositReceipt |
ReceiptGenerator.createMediaResourceReceipt(Context context,
Item item,
SwordConfigurationDSpace config) |
protected DepositResult |
CollectionDepositManagerDSpace.createNewFromBinary(SwordContext swordContext,
Collection collection,
org.swordapp.server.Deposit deposit,
org.swordapp.server.AuthCredentials authCredentials,
SwordConfigurationDSpace swordConfig) |
protected DepositResult |
CollectionDepositManagerDSpace.createNewFromEntry(SwordContext swordContext,
Collection collection,
org.swordapp.server.Deposit deposit,
org.swordapp.server.AuthCredentials authCredentials,
SwordConfigurationDSpace swordConfig) |
protected DepositResult |
CollectionDepositManagerDSpace.createNewFromMultipart(SwordContext swordContext,
Collection collection,
org.swordapp.server.Deposit deposit,
org.swordapp.server.AuthCredentials authCredentials,
SwordConfigurationDSpace swordConfig) |
protected org.swordapp.server.DepositReceipt |
ReceiptGenerator.createReceipt(Context context,
DepositResult result,
SwordConfigurationDSpace config) |
protected org.swordapp.server.DepositReceipt |
ReceiptGenerator.createReceipt(Context context,
DepositResult result,
SwordConfigurationDSpace config,
boolean mediaResourceLocation)
Construct the entry
|
protected org.swordapp.server.DepositReceipt |
ReceiptGenerator.createReceipt(Context context,
Item item,
SwordConfigurationDSpace config)
Construct the entry
|
void |
WorkflowManager.createResource(Context context,
Collection collection) |
void |
WorkflowManagerDefault.deleteBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManagerUnrestricted.deleteBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManager.deleteBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManagerDefault.deleteItem(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.deleteItem(Context context,
Item item) |
void |
WorkflowManager.deleteItem(Context context,
Item item) |
void |
WorkflowManagerDefault.deleteMediaResource(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.deleteMediaResource(Context context,
Item item) |
void |
WorkflowManager.deleteMediaResource(Context context,
Item item) |
InputStream |
SimpleZipContentDisseminator.disseminate(Context context,
Item item) |
InputStream |
FeedContentDisseminator.disseminate(Context context,
Item item) |
org.swordapp.server.Statement |
AtomStatementDisseminator.disseminate(Context context,
Item item) |
InputStream |
SwordContentDisseminator.disseminate(Context context,
Item item) |
org.swordapp.server.Statement |
SwordStatementDisseminator.disseminate(Context context,
Item item) |
org.swordapp.server.Statement |
OreStatementDisseminator.disseminate(Context context,
Item item) |
org.swordapp.server.DepositReceipt |
SimpleDCEntryDisseminator.disseminate(Context context,
Item item,
org.swordapp.server.DepositReceipt receipt) |
org.swordapp.server.DepositReceipt |
SwordEntryDisseminator.disseminate(Context context,
Item item,
org.swordapp.server.DepositReceipt receipt) |
boolean |
SimpleZipContentDisseminator.disseminatesContentType(String contentType) |
boolean |
FeedContentDisseminator.disseminatesContentType(String contentType) |
boolean |
SwordContentDisseminator.disseminatesContentType(String contentType) |
boolean |
SimpleZipContentDisseminator.disseminatesPackage(String contentType) |
boolean |
FeedContentDisseminator.disseminatesPackage(String contentType) |
boolean |
SwordContentDisseminator.disseminatesPackage(String contentType) |
protected DepositResult |
ContainerManagerDSpace.doAddMetadata(SwordContext swordContext,
Item item,
org.swordapp.server.Deposit deposit,
org.swordapp.server.AuthCredentials authCredentials,
SwordConfigurationDSpace swordConfig) |
protected DepositResult |
ContainerManagerDSpace.doAddMetadata(SwordContext swordContext,
Item item,
org.swordapp.server.Deposit deposit,
org.swordapp.server.AuthCredentials authCredentials,
SwordConfigurationDSpace swordConfig,
DepositResult result) |
SwordContext |
DSpaceSwordAPI.doAuth(org.swordapp.server.AuthCredentials authCredentials) |
protected void |
ContainerManagerDSpace.doContainerDelete(SwordContext swordContext,
Item item,
org.swordapp.server.AuthCredentials authCredentials,
SwordConfigurationDSpace swordConfig) |
DSpaceObject |
SwordUrlManager.extractDSpaceObject(String url)
Extract a DSpaceObject from the given URL.
|
List<String> |
SwordConfigurationDSpace.getAccepts(Context context,
DSpaceObject dso)
Get the list of MIME types that the given DSpace object will
accept as packages.
|
String |
SwordUrlManager.getActionableBitstreamUrl(Bitstream bitstream) |
String |
SwordUrlManager.getAggregationUrl(Item item) |
List<Collection> |
SwordAuthenticator.getAllowedCollections(SwordContext swordContext)
Get an array of all the collections that the current SWORD
context will allow deposit onto in the given DSpace context
Forwards to:
getAllowedCollections(swordContext, null)
See that method for details of the conditions applied
|
List<Collection> |
SwordAuthenticator.getAllowedCollections(SwordContext swordContext,
Community community)
Get an array of all the collections that the current SWORD
context will allow deposit onto in the given DSpace context
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to ADD
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to ADD
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to ADD
OR the on-behalf-of user is null)
|
List<Community> |
SwordAuthenticator.getAllowedCommunities(SwordContext swordContext)
Get an array of all the communities that the current SWORD
context will allow deposit onto in the given DSpace context
The user may submit to a community if the following conditions
are met:
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to READ
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to READ
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to READ
OR the on-behalf-of user is null)
|
List<Item> |
SwordAuthenticator.getAllowedItems(SwordContext swordContext,
Collection collection)
Get a list of all the items that the current SWORD
context will allow deposit onto in the given DSpace context
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to WRITE on the item and ADD on the ORIGINAL bundle
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to WRITE on the item and ADD on the ORIGINAL bundle
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to WRITE on the item and ADD on the ORIGINAL bundle
OR the on-behalf-of user is null)
|
String |
SwordUrlManager.getAtomStatementUri(Item item) |
String |
SwordUrlManager.getBaseCollectionUrl()
Get the base deposit URL for the DSpace SWORD implementation.
|
String |
SwordUrlManager.getBaseServiceDocumentUrl()
Get the base URL for service document requests.
|
Bitstream |
SwordUrlManager.getBitstream(Context context,
String location) |
String |
SwordUrlManager.getBitstreamUrl(Bitstream bitstream)
Central location for constructing usable URLs for DSpace bitstreams.
|
Collection |
SwordUrlManager.getCollection(Context context,
String location)
Obtain the collection which is represented by the given
URL
|
List<String> |
SwordConfigurationDSpace.getCollectionAccepts()
Get the list of mime types that a Collection will accept as packages
|
List<Community> |
SwordAuthenticator.getCommunities(SwordContext swordContext,
Community community)
Get an array of all the collections that the current SWORD
context will allow deposit onto in the given DSpace context
The user may submit to a community if the following conditions
are met:
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to READ
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to READ
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to READ
OR the on-behalf-of user is null)
|
static SwordContentIngester |
SwordIngesterFactory.getContentInstance(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject dso)
Generate an object which conforms to the SWORDIngester interface.
|
static SwordContentDisseminator |
SwordDisseminatorFactory.getContentInstance(Map<Float,List<String>> accept,
String acceptPackaging) |
org.apache.abdera.i18n.iri.IRI |
SwordUrlManager.getContentUrl(Item item) |
String |
SwordUrlManager.getDepositLocation(Collection collection)
Obtain the deposit URL for the given collection.
|
String |
SwordUrlManager.getDepositLocation(Community community)
Obtain the deposit URL for the given community.
|
protected Collection |
CollectionDepositManagerDSpace.getDepositTarget(Context context,
String depositUrl,
SwordConfigurationDSpace config) |
List<String> |
SwordConfigurationDSpace.getDisseminatePackaging() |
org.apache.abdera.i18n.iri.IRI |
SwordUrlManager.getEditIRI(Item item) |
static SwordEntryDisseminator |
SwordDisseminatorFactory.getEntryInstance() |
static SwordEntryIngester |
SwordIngesterFactory.getEntryInstance(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject dso) |
static WorkflowManager |
WorkflowManagerFactory.getInstance() |
Item |
SwordUrlManager.getItem(Context context,
String location) |
org.apache.abdera.i18n.iri.IRI |
SwordUrlManager.getMediaFeedUrl(Item item) |
String |
SwordUrlManager.getOreStatementUri(Item item) |
protected List<org.swordapp.server.OriginalDeposit> |
GenericStatementDisseminator.getOriginalDeposits(Context context,
Item item,
String swordBundle) |
protected List<org.swordapp.server.ResourcePart> |
GenericStatementDisseminator.getResourceParts(Context context,
Item item,
List<String> includeBundles) |
org.swordapp.server.ServiceDocument |
ServiceDocumentManagerDSpace.getServiceDocument(SwordContext context,
String url,
SwordConfigurationDSpace swordConfig) |
String |
SwordUrlManager.getSplashUrl(Item item) |
static SwordStatementDisseminator |
SwordDisseminatorFactory.getStatementInstance(Map<Float,List<String>> accept) |
protected Map<String,String> |
GenericStatementDisseminator.getStates(Context context,
Item item) |
String |
SwordUrlManager.getSwordBaseUrl() |
InProgressSubmission |
WorkflowTools.getWorkflowItem(Context context,
Item item)
Obtain the WorkflowItem object which wraps the given Item.
|
WorkspaceItem |
WorkflowTools.getWorkspaceItem(Context context,
Item item)
Obtain the WorkspaceItem object which wraps the given Item.
|
DepositResult |
SwordEntryIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject target,
VerboseDescription verboseDescription) |
DepositResult |
AbstractSwordContentIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject dso,
VerboseDescription verboseDescription) |
DepositResult |
SwordContentIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject target,
VerboseDescription verboseDescription)
Ingest the package as described in the given Deposit object
within the given DSpace Context
|
DepositResult |
SimpleDCEntryIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject dso,
VerboseDescription verboseDescription) |
DepositResult |
SwordMETSContentIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject dso,
VerboseDescription verboseDescription) |
DepositResult |
AbstractSwordContentIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject dso,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
SwordContentIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject target,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
SwordEntryIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject target,
VerboseDescription verboseDescription,
DepositResult result,
boolean replace) |
DepositResult |
SimpleDCEntryIngester.ingest(Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject dso,
VerboseDescription verboseDescription,
DepositResult result,
boolean replace) |
abstract DepositResult |
AbstractSwordContentIngester.ingestToCollection(Context context,
org.swordapp.server.Deposit deposit,
Collection collection,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
SimpleZipContentIngester.ingestToCollection(Context context,
org.swordapp.server.Deposit deposit,
Collection collection,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
BinaryContentIngester.ingestToCollection(Context context,
org.swordapp.server.Deposit deposit,
Collection collection,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
SimpleDCEntryIngester.ingestToCollection(Context context,
org.swordapp.server.Deposit deposit,
Collection collection,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
SwordMETSContentIngester.ingestToCollection(Context context,
org.swordapp.server.Deposit deposit,
Collection collection,
VerboseDescription verboseDescription,
DepositResult result) |
abstract DepositResult |
AbstractSwordContentIngester.ingestToItem(Context context,
org.swordapp.server.Deposit deposit,
Item item,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
SimpleZipContentIngester.ingestToItem(Context context,
org.swordapp.server.Deposit deposit,
Item item,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
BinaryContentIngester.ingestToItem(Context context,
org.swordapp.server.Deposit deposit,
Item item,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
SwordMETSContentIngester.ingestToItem(Context context,
org.swordapp.server.Deposit deposit,
Item item,
VerboseDescription verboseDescription,
DepositResult result) |
DepositResult |
SimpleDCEntryIngester.ingestToItem(Context context,
org.swordapp.server.Deposit deposit,
Item item,
VerboseDescription verboseDescription,
DepositResult result,
boolean replace) |
void |
DSpaceSwordAPI.isAcceptable(SwordConfigurationDSpace swordConfig,
Context context,
org.swordapp.server.Deposit deposit,
DSpaceObject dso) |
boolean |
SwordConfigurationDSpace.isAcceptableContentType(Context context,
String type,
DSpaceObject dso)
Is the given content MIME type acceptable to the given DSpace object.
|
boolean |
SwordConfigurationDSpace.isAcceptedPackaging(String packageFormat,
DSpaceObject dso)
Is the given packaging/media type supported by the given DSpace
object?
|
boolean |
SwordUrlManager.isBaseServiceDocumentUrl(String url)
Is the given URL the base service document URL?
|
boolean |
WorkflowTools.isItemInWorkflow(Context context,
Item item)
Is the given item in the DSpace workflow?
This method queries the database directly to determine if this is the
case rather than using the DSpace API (which is very slow).
|
boolean |
WorkflowTools.isItemInWorkspace(Context context,
Item item)
Is the given item in a DSpace workspace?
This method queries the database directly to determine if this is the
case rather than using the DSpace API (which is very slow).
|
boolean |
SwordAuthenticator.isOnBehalfOfAdmin(SwordContext swordContext)
Is the given onBehalfOf user DSpace administrator? This translates
as asking the question of whether the given eperson is a member
of the special DSpace group Administrator, with id 1
|
boolean |
SwordAuthenticator.isUserAdmin(SwordContext swordContext)
Is the authenticated user a DSpace administrator? This translates
as asking the question of whether the given eperson is a member
of the special DSpace group Administrator, with id 1
|
void |
WorkflowManager.listCollectionContents(Context context,
Collection collection) |
DCValue |
SimpleDCEntryIngester.makeDCValue(String field,
String value) |
void |
WorkflowManagerDefault.modifyState(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.modifyState(Context context,
Item item) |
void |
WorkflowManager.modifyState(Context context,
Item item) |
SwordContext |
DSpaceSwordAPI.noAuthContext() |
protected void |
GenericStatementDisseminator.populateStatement(Context context,
Item item,
org.swordapp.server.Statement statement) |
void |
WorkflowManagerDefault.replaceBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManagerUnrestricted.replaceBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManager.replaceBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManagerDefault.replaceMetadata(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.replaceMetadata(Context context,
Item item) |
void |
WorkflowManager.replaceMetadata(Context context,
Item item) |
void |
WorkflowManagerDefault.replaceMetadataAndMediaResource(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.replaceMetadataAndMediaResource(Context context,
Item item) |
void |
WorkflowManager.replaceMetadataAndMediaResource(Context context,
Item item) |
void |
WorkflowManagerDefault.replaceResourceContent(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.replaceResourceContent(Context context,
Item item) |
void |
WorkflowManager.replaceResourceContent(Context context,
Item item) |
void |
WorkflowManagerDefault.resolveState(Context context,
org.swordapp.server.Deposit deposit,
DepositResult result,
VerboseDescription verboseDescription) |
void |
WorkflowManagerUnrestricted.resolveState(Context context,
org.swordapp.server.Deposit deposit,
DepositResult result,
VerboseDescription verboseDescription) |
void |
WorkflowManager.resolveState(Context context,
org.swordapp.server.Deposit deposit,
DepositResult result,
VerboseDescription verboseDescription) |
void |
WorkflowManagerDefault.resolveState(Context context,
org.swordapp.server.Deposit deposit,
DepositResult result,
VerboseDescription verboseDescription,
boolean containerOperation) |
void |
WorkflowManagerUnrestricted.resolveState(Context context,
org.swordapp.server.Deposit deposit,
DepositResult result,
VerboseDescription verboseDescription,
boolean containerOperation) |
void |
WorkflowManager.resolveState(Context context,
org.swordapp.server.Deposit deposit,
DepositResult result,
VerboseDescription verboseDescription,
boolean containerOperation) |
void |
WorkflowManagerDefault.retrieveBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManagerUnrestricted.retrieveBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManager.retrieveBitstream(Context context,
Bitstream bitstream) |
void |
WorkflowManager.retrieveContent(Context context,
Item item) |
void |
WorkflowManager.retrieveServiceDoc(Context context) |
void |
WorkflowManagerDefault.retrieveStatement(Context context,
Item item) |
void |
WorkflowManagerUnrestricted.retrieveStatement(Context context,
Item item) |
void |
WorkflowManager.retrieveStatement(Context context,
Item item) |
protected void |
AbstractSwordContentIngester.setSlug(Item item,
String slugVal,
VerboseDescription verboseDescription)
Store the given slug value (which is used for suggested identifiers,
and which DSpace ignores) in the item metadata.
|
protected void |
SimpleDCEntryIngester.setSlug(Item item,
String slugVal,
VerboseDescription verboseDescription)
Store the given slug value (which is used for suggested identifiers,
and which DSpace ignores) in the item metadata.
|
protected void |
AbstractSwordContentIngester.setUpdatedDate(Item item,
VerboseDescription verboseDescription)
Add the current date to the item metadata.
|
protected void |
SimpleDCEntryIngester.setUpdatedDate(Item item,
VerboseDescription verboseDescription)
Add the current date to the item metadata.
|
void |
WorkflowTools.startWorkflow(Context context,
Item item)
Start the DSpace workflow on the given item
|
void |
WorkflowTools.stopWorkflow(Context context,
Item item)
Stop the DSpace workflow, and return the item to the user workspace
|
void |
DSpaceSwordAPI.storeOriginals(SwordConfigurationDSpace swordConfig,
Context context,
VerboseDescription verboseDescription,
org.swordapp.server.Deposit deposit,
DepositResult result) |
Copyright © 2013 DuraSpace. All Rights Reserved.