| Modifier and Type | Method and Description |
|---|---|
void |
CommunityFiliator.defiliate(Context c,
Community parent,
Community child) |
void |
CommunityFiliator.filiate(Context c,
Community parent,
Community child) |
static void |
RegistryLoader.loadBitstreamFormats(Context context,
String filename)
Load Bitstream Format metadata
|
static void |
MetadataImporter.loadRegistry(String file,
boolean forceUpdate)
Load the data from the specified file path into the database
|
static void |
MetadataImporter.main(String[] args)
main method for reading user input from the command line
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MetadataImport.add(String[] fromCSV,
String md,
BulkEditChange changes)
Add an item metadata with a line from CSV, and optionally update the item
|
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
|
protected void |
MetadataImport.compare(Item item,
String[] fromCSV,
boolean change,
String md,
BulkEditChange changes,
DSpaceCSVLine line)
Compare an item metadata with a line from CSV, and optionally update the item
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ItemImportServiceImpl.addDCValue(Context c,
Item i,
String schema,
Node n) |
protected void |
ItemImportServiceImpl.loadDublinCore(Context c,
Item myitem,
String filename) |
protected void |
ItemImportServiceImpl.loadMetadata(Context c,
Item myitem,
String path) |
protected void |
ItemImportServiceImpl.processContentFileEntry(Context c,
Item i,
String path,
String fileName,
String bundleName,
boolean primary)
each entry represents a bitstream....
|
protected List<String> |
ItemImportServiceImpl.processContentsFile(Context c,
Item i,
String path,
String filename)
Given a contents file and an item, stuffing it with bitstreams from the
contents file Returns a List of Strings with lines from the contents
file that request non-default bitstream permission
|
protected void |
ItemImportServiceImpl.processOptions(Context c,
Item myItem,
List<String> options)
Process the Options to apply to the Item.
|
protected void |
ItemImportServiceImpl.registerBitstream(Context c,
Item i,
int assetstore,
String bitstreamPath,
String bundleName,
String description)
Register the bitstream file into DSpace
|
protected void |
ItemImportServiceImpl.setPermission(Context c,
Group g,
int actionID,
Bitstream bs)
Set the Permission on a Bitstream.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
AddBitstreamsAction.addBitstream(Context context,
ItemArchive itarch,
Item item,
File dir,
ContentsEntry ce,
boolean suppressUndo,
boolean isTest)
Add bitstream
|
void |
DeleteBitstreamsAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Delete bitstream from item
|
void |
DeleteMetadataAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Delete metadata from item
|
void |
AddBitstreamsAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Adds bitstreams from the archive as listed in the contents file.
|
void |
AddMetadataAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Adds metadata specified in the source archive
|
void |
DeleteBitstreamsByFilterAction.execute(Context context,
ItemArchive itarch,
boolean isTest,
boolean suppressUndo)
Delete bitstream
|
static List<org.dspace.app.itemupdate.DtoMetadata> |
MetadataUtilities.loadDublinCore(DocumentBuilder docBuilder,
InputStream is)
Modification of method from ItemImporter.loadDublinCore
as a Factory method
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Packager.disseminate(Context context,
PackageDisseminator dip,
DSpaceObject dso,
PackageParameters pkgParams,
String outputFile)
Disseminate one or more DSpace objects into package(s) based on the
options passed to the 'packager' script
|
protected void |
Packager.ingest(Context context,
PackageIngester sip,
PackageParameters pkgParams,
String sourceFile,
DSpaceObject[] parentObjs)
Ingest one or more DSpace objects from package(s) based on the
options passed to the 'packager' script.
|
protected void |
Packager.replace(Context context,
PackageIngester sip,
PackageParameters pkgParams,
String sourceFile,
DSpaceObject objToReplace)
Replace an one or more existing DSpace objects with the contents of
specified package(s) based on the options passed to the 'packager' script.
|
| 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.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.authorizeManageBitstreamPolicy(Context context,
Bitstream bitstream)
Is allowed manage (create, remove, edit) bitstream's policies in the
current context?
|
static void |
AuthorizeUtil.authorizeManageBundlePolicy(Context context,
Bundle bundle)
Is allowed manage (create, remove, edit) bundle's policies in the
current context?
|
static void |
AuthorizeUtil.authorizeManageCCLicense(Context context,
Item item)
Is the current user allowed to manage (add, remove, replace) the item's
CC License
|
static void |
AuthorizeUtil.authorizeManageCollectionPolicy(Context context,
Collection collection)
Is allowed manage (create, remove, edit) collection's policies in the
current context?
|
static void |
AuthorizeUtil.authorizeManageCommunityPolicy(Context context,
Community community)
Is allowed manage (create, remove, edit) community's policies in the
current context?
|
static void |
AuthorizeUtil.authorizeManageItemPolicy(Context context,
Item item)
Is allowed manage (create, remove, edit) item's policies in the
current context?
|
static void |
AuthorizeUtil.authorizeManagePolicy(Context c,
ResourcePolicy rp)
Can the current user remove or edit the supplied policy?
|
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.authorizeReinstateItem(Context context,
Item item)
Can the current user reinstate the item?
|
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 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
|
static void |
AuthorizeUtil.authorizeWithdrawItem(Context context,
Item item)
Can the current user withdraw the item?
|
static void |
AuthorizeUtil.requireAdminRole(Context context)
Throw an AuthorizeException if the current user is not a System Admin
|
| Modifier and Type | Method and Description |
|---|---|
protected EPerson |
ShibAuthentication.findEPerson(Context context,
javax.servlet.http.HttpServletRequest request)
Identify an existing EPerson based upon the shibboleth attributes provided on
the request object.
|
protected EPerson |
ShibAuthentication.registerNewEPerson(Context context,
javax.servlet.http.HttpServletRequest request)
Register a new eperson object.
|
protected void |
ShibAuthentication.updateEPerson(Context context,
javax.servlet.http.HttpServletRequest request,
EPerson eperson)
After we successfully authenticated a user, this method will update the user's attributes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorityServiceImpl.indexItem(Context context,
Item item) |
void |
AuthorityValue.updateItem(Context context,
Item currentItem,
MetadataValue value)
Replace an item's DCValue with this authority
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthorityIndexerInterface.hasMore() |
boolean |
DSpaceAuthorityIndexer.hasMore() |
protected void |
DSpaceAuthorityIndexer.prepareNextValue(String metadataField,
MetadataValue value)
This method looks at the authority of a metadata.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorityService.indexItem(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorizeServiceImpl.addPolicies(Context c,
List<ResourcePolicy> policies,
DSpaceObject dest) |
void |
AuthorizeServiceImpl.addPolicy(Context c,
DSpaceObject o,
int actionID,
EPerson e) |
void |
AuthorizeServiceImpl.addPolicy(Context context,
DSpaceObject o,
int actionID,
EPerson e,
String type) |
void |
AuthorizeServiceImpl.addPolicy(Context c,
DSpaceObject o,
int actionID,
Group g) |
void |
AuthorizeServiceImpl.addPolicy(Context c,
DSpaceObject o,
int actionID,
Group g,
String type) |
void |
AuthorizeServiceImpl.authorizeAction(Context c,
DSpaceObject o,
int action) |
void |
AuthorizeServiceImpl.authorizeAction(Context c,
DSpaceObject o,
int action,
boolean useInheritance) |
void |
AuthorizeServiceImpl.authorizeAction(Context c,
EPerson e,
DSpaceObject o,
int action,
boolean useInheritance) |
void |
AuthorizeServiceImpl.authorizeAnyOf(Context c,
DSpaceObject o,
int[] actions) |
ResourcePolicy |
ResourcePolicyServiceImpl.clone(Context context,
ResourcePolicy resourcePolicy) |
ResourcePolicy |
AuthorizeServiceImpl.createOrModifyPolicy(ResourcePolicy policy,
Context context,
String name,
Group group,
EPerson ePerson,
Date embargoDate,
int action,
String reason,
DSpaceObject dso) |
ResourcePolicy |
AuthorizeServiceImpl.createResourcePolicy(Context context,
DSpaceObject dso,
Group group,
EPerson eperson,
int type,
String rpType) |
void |
ResourcePolicyServiceImpl.delete(Context context,
ResourcePolicy resourcePolicy)
Delete an ResourcePolicy
|
void |
AuthorizeServiceImpl.generateAutomaticPolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection)
Generate Policies policies READ for the date in input adding reason.
|
void |
AuthorizeServiceImpl.inheritPolicies(Context c,
DSpaceObject src,
DSpaceObject dest) |
void |
ResourcePolicyServiceImpl.removeAllPolicies(Context c,
DSpaceObject o) |
void |
AuthorizeServiceImpl.removeAllPolicies(Context c,
DSpaceObject o) |
void |
AuthorizeServiceImpl.removeAllPoliciesByDSOAndType(Context c,
DSpaceObject o,
String type) |
void |
AuthorizeServiceImpl.removeAllPoliciesByDSOAndTypeNotEqualsTo(Context c,
DSpaceObject o,
String type) |
void |
ResourcePolicyServiceImpl.removeDsoAndTypeNotEqualsToPolicies(Context c,
DSpaceObject o,
String type) |
void |
ResourcePolicyServiceImpl.removeDsoEPersonPolicies(Context context,
DSpaceObject dso,
EPerson ePerson) |
void |
ResourcePolicyServiceImpl.removeDsoGroupPolicies(Context context,
DSpaceObject dso,
Group group) |
void |
AuthorizeServiceImpl.removeEPersonPolicies(Context c,
DSpaceObject o,
EPerson e) |
void |
AuthorizeServiceImpl.removeGroupPolicies(Context c,
DSpaceObject o,
Group g) |
void |
ResourcePolicyServiceImpl.removePolicies(Context c,
DSpaceObject o,
int actionId) |
void |
ResourcePolicyServiceImpl.removePolicies(Context c,
DSpaceObject o,
String type) |
void |
AuthorizeServiceImpl.removePoliciesActionFilter(Context context,
DSpaceObject dso,
int actionID) |
static void |
PolicySet.setPolicies(Context c,
int containerType,
UUID containerID,
int contentType,
int actionID,
UUID groupID,
boolean isReplace,
boolean clearOnly)
Useful policy wildcard tool.
|
static void |
PolicySet.setPolicies(Context c,
int containerType,
UUID containerID,
int contentType,
int actionID,
UUID groupID,
boolean isReplace,
boolean clearOnly,
String name,
String description,
Date startDate,
Date endDate) |
static void |
PolicySet.setPoliciesFilter(Context c,
int containerType,
UUID containerID,
int contentType,
int actionID,
UUID groupID,
boolean isReplace,
boolean clearOnly,
String filter)
Useful policy wildcard tool.
|
static void |
PolicySet.setPoliciesFilter(Context c,
int containerType,
UUID containerID,
int contentType,
int actionID,
UUID groupID,
boolean isReplace,
boolean clearOnly,
String filter,
String name,
String description,
Date startDate,
Date endDate)
Useful policy wildcard tool.
|
void |
ResourcePolicyServiceImpl.update(Context context,
List<ResourcePolicy> resourcePolicies)
Update the ResourcePolicies
|
void |
ResourcePolicyServiceImpl.update(Context context,
ResourcePolicy resourcePolicy)
Update the ResourcePolicy
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorizeService.addPolicies(Context c,
List<ResourcePolicy> policies,
DSpaceObject dest)
Copies policies from a list of resource policies to a given DSpaceObject
|
void |
AuthorizeService.addPolicy(Context c,
DSpaceObject o,
int actionID,
EPerson e)
Add a policy for an individual eperson
|
void |
AuthorizeService.addPolicy(Context c,
DSpaceObject o,
int actionID,
EPerson e,
String type)
Add a policy for an individual eperson
|
void |
AuthorizeService.addPolicy(Context c,
DSpaceObject o,
int actionID,
Group g)
Add a policy for a group
|
void |
AuthorizeService.addPolicy(Context c,
DSpaceObject o,
int actionID,
Group g,
String type)
Add a policy for a group
|
void |
AuthorizeService.authorizeAction(Context c,
DSpaceObject o,
int action)
Checks that the context's current user can perform the given action on
the given object.
|
void |
AuthorizeService.authorizeAction(Context c,
DSpaceObject o,
int action,
boolean useInheritance)
Checks that the context's current user can perform the given action on
the given object.
|
void |
AuthorizeService.authorizeAction(Context c,
EPerson e,
DSpaceObject o,
int action,
boolean useInheritance)
Checks that the specified eperson can perform the given action on
the given object.
|
void |
AuthorizeService.authorizeAnyOf(Context c,
DSpaceObject o,
int[] actions)
Utility method, checks that the current user of the given context can
perform all of the specified actions on the given object.
|
ResourcePolicy |
ResourcePolicyService.clone(Context context,
ResourcePolicy resourcePolicy) |
ResourcePolicy |
AuthorizeService.createOrModifyPolicy(ResourcePolicy policy,
Context context,
String name,
Group group,
EPerson ePerson,
Date embargoDate,
int action,
String reason,
DSpaceObject dso) |
ResourcePolicy |
AuthorizeService.createResourcePolicy(Context context,
DSpaceObject dso,
Group group,
EPerson eperson,
int type,
String rpType) |
void |
AuthorizeService.generateAutomaticPolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection)
Generate Policies policies READ for the date in input adding reason.
|
void |
AuthorizeService.inheritPolicies(Context c,
DSpaceObject src,
DSpaceObject dest)
Add policies to an object to match those from a previous object
|
void |
ResourcePolicyService.removeAllPolicies(Context c,
DSpaceObject o) |
void |
AuthorizeService.removeAllPolicies(Context c,
DSpaceObject o)
removes ALL policies for an object.
|
void |
AuthorizeService.removeAllPoliciesByDSOAndType(Context c,
DSpaceObject o,
String type)
removes policies
|
void |
AuthorizeService.removeAllPoliciesByDSOAndTypeNotEqualsTo(Context c,
DSpaceObject o,
String type)
removes ALL policies for an object that are not of the input type.
|
void |
ResourcePolicyService.removeDsoAndTypeNotEqualsToPolicies(Context c,
DSpaceObject o,
String type) |
void |
ResourcePolicyService.removeDsoEPersonPolicies(Context context,
DSpaceObject dso,
EPerson ePerson) |
void |
ResourcePolicyService.removeDsoGroupPolicies(Context context,
DSpaceObject dso,
Group group) |
void |
AuthorizeService.removeEPersonPolicies(Context c,
DSpaceObject o,
EPerson e)
Removes all policies from an eperson for a particular object that belong to
an EPerson.
|
void |
AuthorizeService.removeGroupPolicies(Context c,
DSpaceObject o,
Group g)
Removes all policies from a group for a particular object that belong to
a Group.
|
void |
ResourcePolicyService.removePolicies(Context c,
DSpaceObject o,
int actionId) |
void |
ResourcePolicyService.removePolicies(Context c,
DSpaceObject o,
String type) |
void |
AuthorizeService.removePoliciesActionFilter(Context context,
DSpaceObject dso,
int actionID)
Remove all policies from an object that match a given action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BundleServiceImpl.addBitstream(Context context,
Bundle bundle,
Bitstream bitstream) |
void |
ItemServiceImpl.addBundle(Context context,
Item item,
Bundle bundle) |
void |
CommunityServiceImpl.addCollection(Context context,
Community community,
Collection collection) |
void |
CollectionServiceImpl.addItem(Context context,
Collection collection,
Item item) |
void |
CommunityServiceImpl.addSubcommunity(Context context,
Community parentCommunity,
Community childCommunity) |
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) |
void |
CommunityServiceImpl.canEdit(Context context,
Community community) |
Community |
CommunityServiceImpl.create(Community parent,
Context context) |
Community |
CommunityServiceImpl.create(Community parent,
Context context,
String handle) |
BitstreamFormat |
BitstreamFormatServiceImpl.create(Context context) |
Bitstream |
BitstreamServiceImpl.create(Context context,
Bundle bundle,
InputStream is) |
WorkspaceItem |
WorkspaceItemServiceImpl.create(Context context,
Collection collection,
boolean template) |
Collection |
CollectionServiceImpl.create(Context context,
Community community) |
Collection |
CollectionServiceImpl.create(Context context,
Community community,
String handle) |
Bundle |
BundleServiceImpl.create(Context context,
Item item,
String name) |
MetadataField |
MetadataFieldServiceImpl.create(Context context,
MetadataSchema metadataSchema,
String element,
String qualifier,
String scopeNote) |
MetadataSchema |
MetadataSchemaServiceImpl.create(Context context,
String name,
String namespace) |
WorkspaceItem |
WorkspaceItemServiceImpl.create(Context c,
WorkflowItem workflowItem) |
Item |
ItemServiceImpl.create(Context context,
WorkspaceItem workspaceItem) |
Group |
CollectionServiceImpl.createAdministrators(Context context,
Collection collection) |
Group |
CommunityServiceImpl.createAdministrators(Context context,
Community community) |
protected Item |
ItemServiceImpl.createItem(Context context) |
Bitstream |
ItemServiceImpl.createSingleBitstream(Context context,
InputStream is,
Item item) |
Bitstream |
ItemServiceImpl.createSingleBitstream(Context context,
InputStream is,
Item item,
String name) |
Community |
CommunityServiceImpl.createSubcommunity(Context context,
Community parentCommunity) |
Community |
CommunityServiceImpl.createSubcommunity(Context context,
Community parentCommunity,
String handle) |
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 |
BitstreamServiceImpl.delete(Context context,
Bitstream bitstream) |
void |
BitstreamFormatServiceImpl.delete(Context context,
BitstreamFormat bitstreamFormat) |
void |
BundleServiceImpl.delete(Context context,
Bundle bundle) |
void |
CollectionServiceImpl.delete(Context context,
Collection collection) |
void |
CommunityServiceImpl.delete(Context context,
Community community) |
void |
ItemServiceImpl.delete(Context context,
Item item) |
void |
MetadataFieldServiceImpl.delete(Context context,
MetadataField metadataField) |
void |
MetadataSchemaServiceImpl.delete(Context context,
MetadataSchema metadataSchema) |
void |
SiteServiceImpl.delete(Context context,
Site dso) |
void |
WorkspaceItemServiceImpl.deleteAll(Context context,
WorkspaceItem workspaceItem) |
protected void |
ItemServiceImpl.deleteBundle(Context context,
Item item,
Bundle b) |
void |
WorkspaceItemServiceImpl.deleteWrapper(Context context,
WorkspaceItem workspaceItem) |
void |
BitstreamServiceImpl.expunge(Context context,
Bitstream bitstream) |
protected List<ResourcePolicy> |
ItemServiceImpl.filterPoliciesToAdd(Context context,
List<ResourcePolicy> defaultCollectionPolicies,
DSpaceObject dso) |
Iterator<Item> |
ItemServiceImpl.findByAuthorityValue(Context context,
String schema,
String element,
String qualifier,
String value) |
Iterator<Item> |
ItemServiceImpl.findByMetadataField(Context context,
String schema,
String element,
String qualifier,
String value)
Returns an iterator of Items possessing the passed metadata field, or only
those matching the passed value, if value is not Item.ANY
|
Iterator<Item> |
ItemServiceImpl.findByMetadataFieldAuthority(Context context,
String mdString,
String authority) |
Iterator<Item> |
ItemServiceImpl.findByMetadataQuery(Context context,
List<List<MetadataField>> listFieldList,
List<String> query_op,
List<String> query_val,
List<UUID> collectionUuids,
String regexClause,
int offset,
int limit) |
protected Item |
InstallItemServiceImpl.finishItem(Context c,
Item item,
InProgressSubmission is) |
static void |
LicenseUtils.grantLicense(Context context,
Item item,
String licenseText)
Store a copy of the license a user granted in the item.
|
void |
BundleServiceImpl.inheritCollectionDefaultPolicies(Context context,
Bundle bundle,
Collection collection) |
void |
ItemServiceImpl.inheritCollectionDefaultPolicies(Context context,
Item item,
Collection collection) |
Item |
InstallItemServiceImpl.installItem(Context c,
InProgressSubmission is) |
Item |
InstallItemServiceImpl.installItem(Context c,
InProgressSubmission is,
String suppliedHandle) |
void |
ItemServiceImpl.move(Context context,
Item item,
Collection from,
Collection to) |
void |
ItemServiceImpl.move(Context context,
Item item,
Collection from,
Collection to,
boolean inheritDefaultPolicies) |
protected void |
InstallItemServiceImpl.populateMetadata(Context c,
Item item) |
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
|
protected void |
ItemServiceImpl.rawDelete(Context context,
Item item) |
Bitstream |
BitstreamServiceImpl.register(Context context,
Bundle bundle,
int assetstore,
String bitstreamPath) |
Bitstream |
BitstreamServiceImpl.register(Context context,
int assetstore,
String bitstreamPath)
Register a new bitstream, with a new ID.
|
void |
ItemServiceImpl.reinstate(Context context,
Item item) |
void |
CollectionServiceImpl.removeAdministrators(Context context,
Collection collection) |
void |
CommunityServiceImpl.removeAdministrators(Context context,
Community community) |
void |
ItemServiceImpl.removeAllBundles(Context context,
Item item) |
void |
BundleServiceImpl.removeBitstream(Context context,
Bundle bundle,
Bitstream bitstream) |
void |
ItemServiceImpl.removeBundle(Context context,
Item item,
Bundle bundle) |
void |
CommunityServiceImpl.removeCollection(Context context,
Community community,
Collection collection) |
void |
ItemServiceImpl.removeDSpaceLicense(Context context,
Item item) |
void |
ItemServiceImpl.removeGroupPolicies(Context context,
Item item,
Group group) |
void |
CollectionServiceImpl.removeItem(Context context,
Collection collection,
Item item) |
void |
ItemServiceImpl.removeLicenses(Context context,
Item item) |
void |
CommunityServiceImpl.removeSubcommunity(Context context,
Community parentCommunity,
Community childCommunity) |
void |
CollectionServiceImpl.removeSubmitters(Context context,
Collection collection) |
void |
CollectionServiceImpl.removeTemplateItem(Context context,
Collection collection) |
protected void |
ItemServiceImpl.removeVersion(Context context,
Item item) |
void |
BundleServiceImpl.replaceAllBitstreamPolicies(Context context,
Bundle bundle,
List<ResourcePolicy> newpolicies) |
void |
ItemServiceImpl.replaceAllBitstreamPolicies(Context context,
Item item,
List<ResourcePolicy> newpolicies) |
void |
ItemServiceImpl.replaceAllItemPolicies(Context context,
Item item,
List<ResourcePolicy> newpolicies) |
Item |
InstallItemServiceImpl.restoreItem(Context c,
InProgressSubmission is,
String suppliedHandle) |
InputStream |
BitstreamServiceImpl.retrieve(Context context,
Bitstream bitstream) |
Bitstream |
CollectionServiceImpl.setLogo(Context context,
Collection collection,
InputStream is) |
Bitstream |
CommunityServiceImpl.setLogo(Context context,
Community community,
InputStream is) |
void |
BundleServiceImpl.setOrder(Context context,
Bundle bundle,
UUID[] bitstreamIds) |
void |
BitstreamServiceImpl.update(Context context,
Bitstream bitstream) |
void |
BitstreamFormatServiceImpl.update(Context context,
BitstreamFormat bitstreamFormat) |
void |
BundleServiceImpl.update(Context context,
Bundle bundle) |
void |
CollectionServiceImpl.update(Context context,
Collection collection) |
void |
CommunityServiceImpl.update(Context context,
Community community) |
void |
ItemServiceImpl.update(Context context,
Item item) |
void |
BitstreamFormatServiceImpl.update(Context context,
List<BitstreamFormat> bitstreamFormats) |
void |
MetadataFieldServiceImpl.update(Context context,
MetadataField metadataField) |
void |
MetadataSchemaServiceImpl.update(Context context,
MetadataSchema metadataSchema) |
void |
MetadataValueServiceImpl.update(Context context,
MetadataValue metadataValue,
boolean updateLastModified) |
void |
SiteServiceImpl.update(Context context,
Site site) |
void |
DSpaceObjectServiceImpl.update(Context context,
T dso) |
void |
WorkspaceItemServiceImpl.update(Context context,
WorkspaceItem workspaceItem) |
void |
CollectionServiceImpl.updateLastModified(Context context,
Collection collection) |
void |
ItemServiceImpl.updateLastModified(Context context,
Item item) |
void |
SiteServiceImpl.updateLastModified(Context context,
Site dso) |
void |
ItemServiceImpl.withdraw(Context context,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
MetadataField |
CrosswalkMetadataValidator.checkMetadata(Context context,
String schema,
String element,
String qualifier,
boolean forceCreate)
Scans metadata for elements not defined in this DSpace instance.
|
void |
LicenseStreamDisseminationCrosswalk.disseminate(Context context,
DSpaceObject dso,
OutputStream out) |
void |
CreativeCommonsRDFStreamDisseminationCrosswalk.disseminate(Context context,
DSpaceObject dso,
OutputStream out) |
void |
CreativeCommonsTextStreamDisseminationCrosswalk.disseminate(Context context,
DSpaceObject dso,
OutputStream out) |
void |
StreamDisseminationCrosswalk.disseminate(Context context,
DSpaceObject dso,
OutputStream out)
Execute crosswalk on the given object, sending output to the stream.
|
org.jdom.Element |
RoleCrosswalk.disseminateElement(Context context,
DSpaceObject dso)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
org.jdom.Element |
XHTMLHeadDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso)
This generates a <head> element around the metadata; in general
this will probably not be used
|
org.jdom.Element |
AIPTechMDCrosswalk.disseminateElement(Context context,
DSpaceObject dso)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
org.jdom.Element |
PREMISCrosswalk.disseminateElement(Context context,
DSpaceObject dso) |
org.jdom.Element |
DisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
org.jdom.Element |
AIPDIMCrosswalk.disseminateElement(Context context,
DSpaceObject dso)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
org.jdom.Element |
SimpleDCDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso) |
org.jdom.Element |
METSRightsCrosswalk.disseminateElement(Context context,
DSpaceObject dso)
Actually Disseminate into METSRights schema.
|
org.jdom.Element |
OREDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso) |
org.jdom.Element |
XSLTDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso) |
org.jdom.Element |
METSDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso) |
org.jdom.Element |
DIMDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso) |
org.jdom.Element |
MODSDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso)
Disseminate an Item, Collection, or Community to MODS.
|
org.jdom.Element |
QDCCrosswalk.disseminateElement(Context context,
DSpaceObject dso) |
org.jdom.Element |
XSLTDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso,
Map<String,String> parameters) |
org.jdom.Element |
ParameterizedDisseminationCrosswalk.disseminateElement(Context context,
DSpaceObject dso,
Map<String,String> parameters)
Execute crosswalk, returning one XML root element as
a JDOM
Element object. |
List<org.jdom.Element> |
RoleCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Execute crosswalk, returning List of XML elements.
|
List<org.jdom.Element> |
XHTMLHeadDisseminationCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Return <meta> elements that can be put in the <head> element
of an XHTML document.
|
List<org.jdom.Element> |
AIPTechMDCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Execute crosswalk, returning List of XML elements.
|
List<org.jdom.Element> |
PREMISCrosswalk.disseminateList(Context context,
DSpaceObject dso) |
List<org.jdom.Element> |
DisseminationCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Execute crosswalk, returning List of XML elements.
|
List<org.jdom.Element> |
AIPDIMCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Execute crosswalk, returning List of XML elements.
|
List<org.jdom.Element> |
SimpleDCDisseminationCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Returns object's metadata as XML elements.
|
List<org.jdom.Element> |
METSRightsCrosswalk.disseminateList(Context context,
DSpaceObject dso) |
List<org.jdom.Element> |
OREDisseminationCrosswalk.disseminateList(Context context,
DSpaceObject dso) |
List<org.jdom.Element> |
XSLTDisseminationCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Disseminate the DSpace item, collection, or community.
|
List<org.jdom.Element> |
METSDisseminationCrosswalk.disseminateList(Context context,
DSpaceObject dso) |
List<org.jdom.Element> |
DIMDisseminationCrosswalk.disseminateList(Context context,
DSpaceObject dso) |
List<org.jdom.Element> |
MODSDisseminationCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Returns object's metadata in MODS format, as List of XML structure nodes.
|
List<org.jdom.Element> |
QDCCrosswalk.disseminateList(Context context,
DSpaceObject dso)
Returns object's metadata in MODS format, as XML structure node.
|
List<org.jdom.Element> |
SimpleDCDisseminationCrosswalk.disseminateListInternal(DSpaceObject dso,
boolean addSchema) |
void |
RoleCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields)
Ingest a whole XML document, starting at specified root.
|
void |
AIPTechMDCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields)
Ingest a whole document.
|
void |
PREMISCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields) |
void |
AIPDIMCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields)
Ingest a whole document.
|
void |
DIMIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields) |
void |
METSRightsCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields)
Ingest a whole XML document, starting at specified root.
|
void |
OAIDCIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields) |
void |
IngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields)
Crosswalk metadata from external XML representation to DSpace
internal representations.
|
void |
XSLTIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields)
Ingest a whole document.
|
void |
OREIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields) |
void |
NullIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields) |
void |
QDCCrosswalk.ingest(Context context,
DSpaceObject dso,
org.jdom.Element root,
boolean createMissingMetadataFields) |
void |
LicenseStreamIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
InputStream in,
String MIMEType) |
void |
StreamIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
InputStream in,
String MIMEType)
Execute crosswalk on the given object, taking input from the stream.
|
void |
CreativeCommonsRDFStreamIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
InputStream in,
String MIMEType) |
void |
NullStreamIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
InputStream in,
String MIMEType) |
void |
RoleCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata,
boolean createMissingMetadataFields)
Ingest a List of XML elements
|
void |
AIPTechMDCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> dimList,
boolean createMissingMetadataFields)
Translate metadata with XSL stylesheet and ingest it.
|
void |
PREMISCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> ml,
boolean createMissingMetadataFields) |
void |
AIPDIMCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> dimList,
boolean createMissingMetadataFields)
Fields correspond directly to Item.addMetadata() calls so
they are simply executed.
|
void |
DIMIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata,
boolean createMissingMetadataFields) |
void |
METSRightsCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> ml,
boolean createMissingMetadataFields)
Ingest a List of XML elements
|
void |
OAIDCIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata,
boolean createMissingMetadataFields) |
void |
IngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata,
boolean createMissingMetadataFields)
Crosswalk metadata from external XML representation to DSpace
internal representations.
|
void |
XSLTIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata,
boolean createMissingMetadataFields)
Translate metadata with XSL stylesheet and ingest it.
|
void |
OREIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> metadata,
boolean createMissingMetadataFields) |
void |
NullIngestionCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> ml,
boolean createMissingMetadataFields) |
void |
QDCCrosswalk.ingest(Context context,
DSpaceObject dso,
List<org.jdom.Element> ml,
boolean createMissingMetadataFields) |
static void |
XSLTIngestionCrosswalk.ingestDIM(Context context,
DSpaceObject dso,
org.jdom.Element dim,
boolean createMissingMetadataFields)
Ingest a DIM metadata expression directly, without
translating some other format into DIM.
|
static void |
XSLTIngestionCrosswalk.ingestDIM(Context context,
DSpaceObject dso,
List<org.jdom.Element> fields,
boolean createMissingMetadataFields) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
AbstractMETSDisseminator.addAmdSec(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets,
AbstractMETSDisseminator.MdStreamCache extraStreams) |
protected void |
AbstractMETSIngester.addBitstreams(Context context,
Item item,
METSManifest manifest,
File pkgFile,
PackageParameters params,
AbstractMETSIngester.MdrefManager mdRefCallback)
Add Bitstreams to an Item, based on the files listed in the METS Manifest
|
protected void |
AbstractMETSDisseminator.addBitstreamsToZip(Context context,
DSpaceObject dso,
PackageParameters params,
ZipOutputStream zip)
Add Bitstreams associated with a given DSpace Object into an
existing ZipOutputStream
|
protected void |
AbstractMETSIngester.addContainerLogo(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params)
Add a Logo to a Community or Collection container object based on a METS
Manifest.
|
static void |
PackageUtils.addDepositLicense(Context context,
String license,
Item item,
Collection collection)
Add DSpace Deposit License to an Item.
|
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 |
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.
|
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.
|
protected void |
AbstractMETSIngester.addManifestBitstream(Context context,
Item item,
METSManifest manifest)
Save/Preserve the METS Manifest as a Bitstream attached to the given
DSpace item.
|
void |
DSpaceMETSDisseminator.addStructMap(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets) |
abstract void |
AbstractMETSDisseminator.addStructMap(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets)
Add any additional
structMap elements to the
METS document, as required by this subclass. |
void |
DSpaceAIPDisseminator.addStructMap(Context context,
DSpaceObject dso,
PackageParameters params,
edu.harvard.hul.ois.mets.Mets mets)
Adds another structMap element to contain the "parent link" that
is an essential part of every AIP.
|
protected void |
AbstractMETSIngester.addTemplateItem(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params,
AbstractMETSIngester.MdrefManager callback)
Add a Template Item to a Collection container object based on a METS
Manifest.
|
protected void |
AbstractMETSDisseminator.addToAmdSec(edu.harvard.hul.ois.mets.AmdSec fAmdSec,
String[] mdTypes,
Class mdSecClass,
Context context,
DSpaceObject dso,
PackageParameters params,
AbstractMETSDisseminator.MdStreamCache extraStreams) |
static void |
PackageUtils.clearAllMetadata(Context context,
DSpaceObject dso)
Removes all metadata associated with a DSpace object.
|
static DSpaceObject |
PackageUtils.createDSpaceObject(Context context,
DSpaceObject parent,
int type,
String handle,
PackageParameters params)
Create the specified DSpace Object, based on the passed
in Package Parameters (along with other basic info required
to create the object)
|
void |
METSManifest.crosswalkBitstream(Context context,
PackageParameters params,
Bitstream bitstream,
String fileId,
METSManifest.Mdref callback)
Crosswalk the metadata associated with a particular
file
element into the bitstream it corresponds to. |
void |
METSManifest.crosswalkBundle(Context context,
PackageParameters params,
Bundle bundle,
String fileId,
METSManifest.Mdref callback) |
void |
METSManifest.crosswalkItemDmd(Context context,
PackageParameters params,
DSpaceObject dso,
org.jdom.Element dmdSec,
METSManifest.Mdref callback)
Invokes appropriate crosswalks on Item-wide descriptive metadata.
|
abstract void |
AbstractMETSIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Select the
dmdSec element(s) to apply to the Item. |
void |
DSpaceMETSIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Choose DMD section(s) to crosswalk.
|
void |
DSpaceAIPIngester.crosswalkObjectDmd(Context context,
DSpaceObject dso,
METSManifest manifest,
AbstractMETSIngester.MdrefManager callback,
org.jdom.Element[] dmds,
PackageParameters params)
Choose DMD section(s) to crosswalk.
|
void |
METSManifest.crosswalkObjectOtherAdminMD(Context context,
PackageParameters params,
DSpaceObject dso,
METSManifest.Mdref callback)
Crosswalk all technical and source metadata sections that belong
to the whole object.
|
boolean |
METSManifest.crosswalkObjectSourceMD(Context context,
PackageParameters params,
DSpaceObject dso,
METSManifest.Mdref callback)
Just crosswalk the sourceMD sections; used to set the handle and parent of AIP.
|
protected edu.harvard.hul.ois.mets.helper.MetsElement |
AbstractMETSDisseminator.crosswalkToMetsElement(Context context,
DisseminationCrosswalk xwalk,
DSpaceObject dso,
edu.harvard.hul.ois.mets.helper.MetsElement me) |
protected void |
METSManifest.crosswalkXmd(Context context,
PackageParameters params,
DSpaceObject dso,
org.jdom.Element xmd,
METSManifest.Mdref callback,
boolean createMissingMetadataFields) |
void |
RoleDisseminator.disseminate(Context context,
DSpaceObject object,
PackageParameters params,
File pkgFile) |
void |
AbstractMETSDisseminator.disseminate(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
Export the object (Item, Collection, or Community) as a
"package" on the indicated OutputStream.
|
void |
DSpaceAIPDisseminator.disseminate(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile) |
void |
PDFPackager.disseminate(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
VERY crude dissemination: just look for the first
bitstream with the PDF package type, and toss it out.
|
void |
PackageDisseminator.disseminate(Context context,
DSpaceObject object,
PackageParameters params,
File pkgFile)
Export the object (Item, Collection, or Community) as a
"package" on the indicated OutputStream.
|
List<File> |
RoleDisseminator.disseminateAll(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile) |
List<File> |
AbstractPackageDisseminator.disseminateAll(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
Recursively export one or more DSpace Objects as a series of packages.
|
List<File> |
PDFPackager.disseminateAll(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
disseminateAll() cannot be implemented for a PDF disseminator, because there's only one PDF to disseminate
|
List<File> |
PackageDisseminator.disseminateAll(Context context,
DSpaceObject dso,
PackageParameters params,
File pkgFile)
Recursively export one or more DSpace Objects as a series of packages.
|
static Bitstream |
PackageUtils.findDepositLicense(Context context,
Item item)
Utility to find the license bitstream from an item
|
static BitstreamFormat |
PackageUtils.findOrCreateBitstreamFormat(Context context,
String shortDesc,
String MIMEType,
String desc)
Find or create a bitstream format to match the given short
description.
|
static BitstreamFormat |
PackageUtils.findOrCreateBitstreamFormat(Context context,
String shortDesc,
String MIMEType,
String desc,
int supportLevel,
boolean internal)
Find or create a bitstream format to match the given short
description.
|
abstract void |
AbstractMETSIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Subclass-dependent final processing on a Bitstream; could include fixing
up the name, bundle, other attributes.
|
void |
DSpaceMETSIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Take a second pass over files to correct names of derived files
(e.g.
|
void |
DSpaceAIPIngester.finishBitstream(Context context,
Bitstream bs,
org.jdom.Element mfile,
METSManifest manifest,
PackageParameters params)
Nothing extra to do to bitstream after ingestion.
|
static Item |
PackageUtils.finishCreateItem(Context context,
WorkspaceItem wsi,
String handle,
PackageParameters params)
Perform any final tasks on a newly created WorkspaceItem in order to finish
ingestion of an Item.
|
abstract void |
AbstractMETSIngester.finishObject(Context context,
DSpaceObject dso,
PackageParameters params)
Hook for final "finishing" operations on the new Object.
|
void |
DSpaceMETSIngester.finishObject(Context context,
DSpaceObject dso,
PackageParameters params) |
void |
DSpaceAIPIngester.finishObject(Context context,
DSpaceObject dso,
PackageParameters params)
Last change to fix up a DSpace Object.
|
String[] |
DSpaceMETSDisseminator.getDigiprovMdTypes(Context context,
DSpaceObject dso,
PackageParameters params) |
abstract String[] |
AbstractMETSDisseminator.getDigiprovMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the type string of the "digiprov" (digital provenance)
metadata to create for each object and each Bitstream in an Item.
|
String[] |
DSpaceAIPDisseminator.getDigiprovMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the digiprovMD section of
the METS Manifest.
|
String[] |
DSpaceMETSDisseminator.getDmdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get DMD choice for Item.
|
abstract String[] |
AbstractMETSDisseminator.getDmdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the types of Item-wide DMD to include in package.
|
String[] |
DSpaceAIPDisseminator.getDmdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the dmdSec section of
the METS Manifest.
|
InputStream |
METSManifest.Mdref.getInputStream(org.jdom.Element mdRef)
Make the contents of an external resource mentioned in
an
mdRef element available as an InputStream. |
InputStream |
METSManifest.getMdContentAsStream(org.jdom.Element mdSec,
METSManifest.Mdref callback)
Return contents of *md element as stream.
|
List<org.jdom.Element> |
METSManifest.getMdContentAsXml(org.jdom.Element mdSec,
METSManifest.Mdref callback)
Return contents of *md element as List of XML Element objects.
|
String[] |
DSpaceMETSDisseminator.getRightsMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Add rights MD (licenses) for DSpace item.
|
abstract String[] |
AbstractMETSDisseminator.getRightsMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the type string of the "rights" (permission and/or license)
metadata to create for each object and each Bitstream in an Item.
|
String[] |
DSpaceAIPDisseminator.getRightsMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the rightsMD section of
the METS Manifest.
|
String[] |
DSpaceMETSDisseminator.getSourceMdTypes(Context context,
DSpaceObject dso,
PackageParameters params) |
abstract String[] |
AbstractMETSDisseminator.getSourceMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the type string of the source metadata to create for each
object and each Bitstream in an Item.
|
String[] |
DSpaceAIPDisseminator.getSourceMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the sourceMD section of
the METS Manifest.
|
String[] |
DSpaceMETSDisseminator.getTechMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get name of technical metadata crosswalk for Bitstreams.
|
abstract String[] |
AbstractMETSDisseminator.getTechMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Get the type string of the technical metadata to create for each
object and each Bitstream in an Item.
|
String[] |
DSpaceAIPDisseminator.getTechMdTypes(Context context,
DSpaceObject dso,
PackageParameters params)
Return the name of all crosswalks to run for the techMD section of
the METS Manifest.
|
DSpaceObject |
PackageIngester.ingest(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Create new DSpaceObject out of the ingested package.
|
DSpaceObject |
AbstractMETSIngester.ingest(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Create a new DSpace object out of a METS content package.
|
DSpaceObject |
PDFPackager.ingest(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Create new Item out of the ingested package, in the indicated
collection.
|
DSpaceObject |
RoleIngester.ingest(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license) |
List<String> |
PackageIngester.ingestAll(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Recursively create one or more DSpace Objects out of the contents
of the ingested package (and all other referenced packages).
|
List<String> |
AbstractPackageIngester.ingestAll(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
Recursively create one or more DSpace Objects out of the contents
of the ingested package (and all other referenced packages).
|
List<String> |
PDFPackager.ingestAll(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license)
IngestAll() cannot be implemented for a PDF ingester, because there's only one PDF to ingest
|
List<String> |
RoleIngester.ingestAll(Context context,
DSpaceObject parent,
File pkgFile,
PackageParameters params,
String license) |
protected DSpaceObject |
AbstractMETSIngester.ingestObject(Context context,
DSpaceObject parent,
METSManifest manifest,
File pkgFile,
PackageParameters params,
String license)
Ingest/import a single DSpace Object, based on the associated METS
Manifest and the parameters passed to the METSIngester
|
void |
RoleIngester.ingestStream(Context context,
DSpaceObject parent,
PackageParameters params,
InputStream stream)
Ingest roles from an InputStream.
|
protected void |
AbstractMETSDisseminator.linkLicenseRefsToBitstreams(Context context,
PackageParameters params,
DSpaceObject dso,
edu.harvard.hul.ois.mets.MdRef mdRef)
Cleanup our license file reference links, as Deposit Licenses and CC Licenses can be
added two ways (and we only want to add them to zip package *once*):
(1) Added as a normal Bitstream (assuming LICENSE and CC_LICENSE bundles will be included in pkg)
(2) Added via a 'rightsMD' crosswalk (as they are rights information/metadata on an Item)
|
protected edu.harvard.hul.ois.mets.Mets |
AbstractMETSDisseminator.makeManifest(Context context,
DSpaceObject dso,
PackageParameters params,
AbstractMETSDisseminator.MdStreamCache extraStreams)
Write out a METS manifest.
|
protected edu.harvard.hul.ois.mets.helper.MdSec |
AbstractMETSDisseminator.makeMdSec(Context context,
DSpaceObject dso,
Class mdSecClass,
String typeSpec,
PackageParameters params,
AbstractMETSDisseminator.MdStreamCache extraStreams)
Create an element wrapped around a metadata reference (either mdWrap
or mdRef); i.e.
|
protected METSManifest |
AbstractMETSIngester.parsePackage(Context context,
File pkgFile,
PackageParameters params)
Parse a given input package, ultimately returning the METS manifest out
of the package.
|
static void |
PackageUtils.removeAllBitstreams(Context context,
DSpaceObject dso)
Remove all bitstreams (files) associated with a DSpace object.
|
protected void |
AbstractMETSIngester.removeObject(Context context,
DSpaceObject dso)
Remove an existing DSpace Object (called during a replace)
|
DSpaceObject |
PackageIngester.replace(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
Replace an existing DSpace Object with contents of the ingested package.
|
DSpaceObject |
AbstractMETSIngester.replace(Context context,
DSpaceObject dsoToReplace,
File pkgFile,
PackageParameters params)
Replace an existing DSpace object with the contents of a METS-based
package.
|
DSpaceObject |
PDFPackager.replace(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
Replace is not implemented.
|
DSpaceObject |
RoleIngester.replace(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params) |
List<String> |
PackageIngester.replaceAll(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
Recursively replace one or more DSpace Objects out of the contents
of the ingested package (and all other referenced packages).
|
List<String> |
AbstractPackageIngester.replaceAll(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
Recursively replace one or more DSpace Objects out of the contents
of the ingested package (and all other referenced packages).
|
List<String> |
PDFPackager.replaceAll(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params)
ReplaceAll() cannot be implemented for a PDF ingester, because there's only one PDF to ingest
|
List<String> |
RoleIngester.replaceAll(Context context,
DSpaceObject dso,
File pkgFile,
PackageParameters params) |
protected DSpaceObject |
AbstractMETSIngester.replaceObject(Context context,
DSpaceObject dso,
METSManifest manifest,
File pkgFile,
PackageParameters params,
String license)
Replace the contents of a single DSpace Object, based on the associated
METS Manifest and the parameters passed to the METSIngester.
|
static void |
PackageUtils.updateDSpaceObject(Context context,
DSpaceObject dso)
Commit all recent changes to DSpaceObject.
|
protected void |
AbstractMETSDisseminator.writeZipPackage(Context context,
DSpaceObject dso,
PackageParameters params,
OutputStream pkg)
Make a Zipped up METS package for the given DSpace Object
|
| Modifier and Type | Method and Description |
|---|---|
void |
BundleService.addBitstream(Context context,
Bundle bundle,
Bitstream bitstream)
Add an existing bitstream to this bundle
|
void |
ItemService.addBundle(Context context,
Item item,
Bundle bundle)
Add an existing bundle to this item.
|
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 |
CommunityService.addSubcommunity(Context context,
Community parentCommunity,
Community childCommunity)
Add an existing community as a subcommunity to the community
|
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) |
void |
CommunityService.canEdit(Context context,
Community 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.
|
Bitstream |
BitstreamService.create(Context context,
Bundle bundle,
InputStream is)
Create a new bitstream, with a new ID.
|
WorkspaceItem |
WorkspaceItemService.create(Context context,
Collection collection,
boolean template)
Create a new workspace item, 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.
|
Bundle |
BundleService.create(Context context,
Item item,
String name)
Create a new bundle, with a new ID and link it to the provided item
|
MetadataField |
MetadataFieldService.create(Context context,
MetadataSchema metadataSchema,
String element,
String qualifier,
String scopeNote)
Creates a new metadata field.
|
MetadataSchema |
MetadataSchemaService.create(Context context,
String name,
String namespace)
Creates a new metadata schema in the database, using the name and namespace.
|
WorkspaceItem |
WorkspaceItemService.create(Context c,
WorkflowItem wfi) |
Item |
ItemService.create(Context context,
WorkspaceItem workspaceItem)
Create a new item, with a new internal ID.
|
Group |
CollectionService.createAdministrators(Context context,
Collection collection)
Create a default administrators group if one does not already exist.
|
Group |
CommunityService.createAdministrators(Context context,
Community community)
Create a default administrators group if one does not already exist.
|
Bitstream |
ItemService.createSingleBitstream(Context context,
InputStream is,
Item item)
Convenience method, calls createSingleBitstream() with name "ORIGINAL"
|
Bitstream |
ItemService.createSingleBitstream(Context context,
InputStream is,
Item item,
String name)
Create a single bitstream in a new bundle.
|
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.
|
Group |
CollectionService.createSubmitters(Context context,
Collection collection)
Create a default submitters group if one does not already exist.
|
Item |
ItemService.createTemplateItem(Context context,
Collection collection)
Create an empty template item for this collection.
|
void |
CollectionService.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.
|
void |
MetadataFieldService.delete(Context context,
MetadataField metadataField)
Delete the metadata field.
|
void |
MetadataSchemaService.delete(Context context,
MetadataSchema metadataSchema)
Delete the metadata schema.
|
void |
DSpaceObjectService.delete(Context context,
T dso) |
void |
WorkspaceItemService.deleteAll(Context context,
WorkspaceItem workspaceItem)
Delete the workspace item.
|
void |
InProgressSubmissionService.deleteWrapper(Context context,
T inProgressSubmission)
Deletes submission wrapper, doesn't delete item contents
|
void |
BitstreamService.expunge(Context context,
Bitstream bitstream)
Remove a bitstream that has been set to "deleted" from the database
|
Iterator<Item> |
ItemService.findByAuthorityValue(Context context,
String schema,
String element,
String qualifier,
String value)
Find all the items in the archive with a given authority key value
in the indicated metadata field.
|
Iterator<Item> |
ItemService.findByMetadataField(Context context,
String schema,
String element,
String qualifier,
String value)
Returns an iterator of Items possessing the passed metadata field, or only
those matching the passed value, if value is not Item.ANY
|
Iterator<Item> |
ItemService.findByMetadataFieldAuthority(Context context,
String mdString,
String authority) |
Iterator<Item> |
ItemService.findByMetadataQuery(Context context,
List<List<MetadataField>> listFieldList,
List<String> query_op,
List<String> query_val,
List<UUID> collectionUuids,
String regexClause,
int offset,
int limit) |
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.
|
Item |
InstallItemService.installItem(Context context,
InProgressSubmission is)
Take an InProgressSubmission and turn it into a fully-archived Item,
creating a new Handle.
|
Item |
InstallItemService.installItem(Context c,
InProgressSubmission is,
String suppliedHandle)
Take an InProgressSubmission and turn it into a fully-archived 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
|
Bitstream |
BitstreamService.register(Context context,
Bundle bundle,
int assetstore,
String bitstreamPath)
Register a new bitstream, with a new ID.
|
Bitstream |
BitstreamService.register(Context context,
int assetstore,
String bitstreamPath)
Register a new bitstream, with a new ID.
|
void |
ItemService.reinstate(Context context,
Item item)
Reinstate a withdrawn item
|
void |
CollectionService.removeAdministrators(Context context,
Collection collection)
Remove the administrators group, if no group has already been created
then return without error.
|
void |
CommunityService.removeAdministrators(Context context,
Community community)
Remove the administrators group, if no group has already been created
then return without error.
|
void |
ItemService.removeAllBundles(Context context,
Item item)
Remove all bundles linked to this item.
|
void |
BundleService.removeBitstream(Context context,
Bundle bundle,
Bitstream bitstream)
Remove a bitstream from this bundle - the bitstream is only deleted if
this was the last reference to it
|
void |
ItemService.removeBundle(Context context,
Item item,
Bundle bundle)
Remove a bundle.
|
void |
CommunityService.removeCollection(Context context,
Community community,
Collection c)
Remove a collection.
|
void |
ItemService.removeDSpaceLicense(Context context,
Item item)
Remove just the DSpace license from an item This is useful to update the
current DSpace license, in case the user must accept the DSpace license
again (either the item was rejected, or resumed after saving)
|
void |
ItemService.removeGroupPolicies(Context context,
Item item,
Group group)
remove all of the policies for item's bitstreams and bundles that belong
to a given Group
|
void |
CollectionService.removeItem(Context context,
Collection collection,
Item item)
Remove an item.
|
void |
ItemService.removeLicenses(Context context,
Item item)
Remove all licenses from an item - it was rejected
|
void |
CommunityService.removeSubcommunity(Context context,
Community parentCommunity,
Community childCommunity)
Remove a subcommunity.
|
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.
|
void |
BundleService.replaceAllBitstreamPolicies(Context context,
Bundle bundle,
List<ResourcePolicy> newpolicies)
remove all of the policies for the bundle and bitstream contents and replace
them with a new list of policies
|
void |
ItemService.replaceAllBitstreamPolicies(Context context,
Item item,
List<ResourcePolicy> newpolicies)
remove all of the policies for item's bitstreams and bundles and replace
them with a new list of policies
|
void |
ItemService.replaceAllItemPolicies(Context context,
Item item,
List<ResourcePolicy> newpolicies)
remove all of the policies for item and replace them with a new list of
policies
|
Item |
InstallItemService.restoreItem(Context c,
InProgressSubmission is,
String suppliedHandle)
Turn an InProgressSubmission into a fully-archived Item, for
a "restore" operation such as ingestion of an AIP to recreate an
archive.
|
InputStream |
BitstreamService.retrieve(Context context,
Bitstream bitstream)
Retrieve the contents of the bitstream
|
Bitstream |
CollectionService.setLogo(Context context,
Collection collection,
InputStream is)
Give the collection a logo.
|
Bitstream |
CommunityService.setLogo(Context context,
Community community,
InputStream is)
Give the community a logo.
|
void |
BundleService.setOrder(Context context,
Bundle bundle,
UUID[] bitstreamIds)
Changes bitstream order according to the array
|
void |
MetadataFieldService.update(Context context,
MetadataField metadataField)
Update the metadata field in the database.
|
void |
MetadataSchemaService.update(Context context,
MetadataSchema metadataSchema)
Update the metadata schema in the database.
|
void |
MetadataValueService.update(Context context,
MetadataValue metadataValue,
boolean modifyParentObject) |
void |
InProgressSubmissionService.update(Context context,
T inProgressSubmission)
Update the submission, including the unarchived item.
|
void |
DSpaceObjectService.update(Context context,
T dso) |
void |
DSpaceObjectService.updateLastModified(Context context,
T dso) |
void |
ItemService.withdraw(Context context,
Item item)
Withdraw the item from the archive.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CitationPage.addCitedPageToItem(File citedTemp,
Bundle bundle,
Bundle pBundle,
Bundle dBundle,
Map<String,Bitstream> displayMap,
Item item,
Bitstream bitstream)
A helper function for
CitationPage.performItem(Item). |
boolean |
WorkflowCuratorServiceImpl.curate(Curator curator,
Context c,
BasicWorkflowItem wfi) |
boolean |
WorkflowCuratorServiceImpl.curate(Curator curator,
Context c,
String wfId) |
boolean |
WorkflowCuratorServiceImpl.doCuration(Context c,
BasicWorkflowItem wfi) |
protected void |
WorkflowCuratorServiceImpl.notifyContacts(Context c,
BasicWorkflowItem wfi,
WorkflowCuratorServiceImpl.Task task,
String status,
String action,
String message) |
protected List<EPerson> |
WorkflowCuratorServiceImpl.resolveContacts(Context c,
List<String> contacts,
BasicWorkflowItem wfi) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
WorkflowCuratorService.curate(Curator curator,
Context c,
BasicWorkflowItem wfi) |
boolean |
WorkflowCuratorService.curate(Curator curator,
Context c,
String wfId)
Determines and executes curation of a Workflow item.
|
boolean |
WorkflowCuratorService.doCuration(Context c,
BasicWorkflowItem wfi)
Determines and executes curation on a Workflow item.
|
| Modifier and Type | Method and Description |
|---|---|
File |
CitationDocumentServiceImpl.makeCitedDocument(Context context,
Bitstream bitstream) |
| Modifier and Type | Method and Description |
|---|---|
File |
CitationDocumentService.makeCitedDocument(Context context,
Bitstream bitstream)
Creates a
cited document from the given bitstream of the given item.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultEmbargoSetter.checkEmbargo(Context context,
Item item)
Check that embargo is properly set on Item: no read access to bitstreams.
|
void |
EmbargoServiceImpl.checkEmbargo(Context context,
Item item) |
void |
EmbargoSetter.checkEmbargo(Context context,
Item item)
Check that embargo is properly set on Item.
|
Iterator<Item> |
EmbargoServiceImpl.findItemsByLiftMetadata(Context context) |
protected void |
DefaultEmbargoSetter.generatePolicies(Context context,
Date embargoDate,
String reason,
DSpaceObject dso,
Collection owningCollection) |
DCDate |
EmbargoServiceImpl.getEmbargoTermsAsDate(Context context,
Item item) |
void |
EmbargoServiceImpl.liftEmbargo(Context context,
Item item) |
void |
EmbargoLifter.liftEmbargo(Context context,
Item item)
Implement the lifting of embargo in the "resource policies"
(access control) by (for example) turning on default read access to all
Bitstreams.
|
void |
DefaultEmbargoLifter.liftEmbargo(Context context,
Item item)
Enforce lifting of embargo by turning read access to bitstreams in
this Item back on.
|
DCDate |
DefaultEmbargoSetter.parseTerms(Context context,
Item item,
String terms)
Parse the terms into a definite date.
|
DCDate |
DayTableEmbargoSetter.parseTerms(Context context,
Item item,
String terms)
Parse the terms into a definite date.
|
DCDate |
EmbargoSetter.parseTerms(Context context,
Item item,
String terms)
Get lift date of embargo from the "terms" supplied in the
metadata (or other available state) of this Item.
|
void |
DefaultEmbargoSetter.setEmbargo(Context context,
Item item)
Enforce embargo by turning off all read access to bitstreams in
this Item.
|
void |
EmbargoServiceImpl.setEmbargo(Context context,
Item item) |
void |
EmbargoSetter.setEmbargo(Context context,
Item item)
Enforce embargo by (for example) turning off all read access to
bitstreams in this Item.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EmbargoService.checkEmbargo(Context context,
Item item) |
Iterator<Item> |
EmbargoService.findItemsByLiftMetadata(Context context) |
DCDate |
EmbargoService.getEmbargoTermsAsDate(Context context,
Item item)
Get the embargo lift date for an Item, if any.
|
void |
EmbargoService.liftEmbargo(Context context,
Item item)
Lift the embargo on an item which is assumed to be under embargo.
|
void |
EmbargoService.setEmbargo(Context context,
Item item)
Put an Item under embargo until the specified lift date.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SupervisorServiceImpl.add(Context context,
Group group,
WorkspaceItem workspaceItem,
int policy) |
EPerson |
EPersonServiceImpl.create(Context context) |
RegistrationData |
RegistrationDataServiceImpl.create(Context context) |
Group |
GroupServiceImpl.create(Context context) |
void |
EPersonServiceImpl.delete(Context context,
EPerson ePerson) |
void |
RegistrationDataServiceImpl.delete(Context context,
RegistrationData registrationData) |
EPerson |
AccountServiceImpl.getEPerson(Context context,
String token)
Return the EPerson corresponding to token, where token was emailed to the
person by either the sendRegistrationInfo or sendForgotPasswordInfo
methods.
|
void |
GroupServiceImpl.initDefaultGroupNames(Context context) |
static void |
EPersonCLITool.main(String[] argv)
Tool for manipulating user accounts.
|
static void |
LoadLastLogin.main(String[] argv) |
void |
SupervisorServiceImpl.remove(Context context,
WorkspaceItem workspaceItem,
Group group) |
void |
AccountServiceImpl.sendForgotPasswordInfo(Context context,
String email)
Email forgot password info to the given email address.
|
protected RegistrationData |
AccountServiceImpl.sendInfo(Context context,
String email,
boolean isRegister,
boolean send) |
void |
AccountServiceImpl.sendRegistrationInfo(Context context,
String email)
Email registration info to the given email address.
|
void |
SubscribeServiceImpl.subscribe(Context context,
EPerson eperson,
Collection collection) |
void |
SubscribeServiceImpl.unsubscribe(Context context,
EPerson eperson,
Collection collection) |
void |
EPersonServiceImpl.update(Context context,
EPerson ePerson) |
void |
GroupServiceImpl.update(Context context,
Group group)
Update the group - writing out group object and EPerson list if necessary
|
void |
RegistrationDataServiceImpl.update(Context context,
List<RegistrationData> registrationDataRecords) |
void |
RegistrationDataServiceImpl.update(Context context,
RegistrationData registrationData) |
| Modifier and Type | Method and Description |
|---|---|
void |
SupervisorService.add(Context context,
Group group,
WorkspaceItem workspaceItem,
int policy)
adds a supervision order to the database
|
Group |
GroupService.create(Context context)
Create a new group
|
EPerson |
EPersonService.create(Context context)
Create a new eperson
|
EPerson |
AccountService.getEPerson(Context context,
String token) |
void |
GroupService.initDefaultGroupNames(Context context)
Initializes the group names for anonymous & administrator, and marks them
"permanent".
|
void |
SupervisorService.remove(Context context,
WorkspaceItem workspaceItem,
Group group)
removes the requested group from the requested workspace item in terms
of supervision.
|
void |
AccountService.sendForgotPasswordInfo(Context context,
String email) |
void |
AccountService.sendRegistrationInfo(Context context,
String email) |
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 |
|---|---|
void |
HarvestScheduler.addThread(Context context,
HarvestedCollection harvestedCollection)
Adds a thread to the ready stack.
|
void |
HarvestSchedulingServiceImpl.pauseScheduler() |
protected void |
OAIHarvester.processRecord(org.jdom.Element record,
String OREPrefix,
long currentRecord,
long totalListSize)
Process an individual PMH record, making (or updating) a corresponding DSpace Item.
|
void |
HarvestSchedulingServiceImpl.resetScheduler() |
void |
HarvestSchedulingServiceImpl.resumeScheduler() |
void |
OAIHarvester.runHarvest()
Performs a harvest cycle on this collection.
|
void |
HarvestSchedulingServiceImpl.startNewScheduler() |
void |
HarvestSchedulingServiceImpl.stopScheduler() |
| Constructor and Description |
|---|
HarvestScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
HarvestSchedulingService.pauseScheduler()
Pause an active harvest scheduler.
|
void |
HarvestSchedulingService.resetScheduler() |
void |
HarvestSchedulingService.resumeScheduler()
Resume a paused harvest scheduler.
|
void |
HarvestSchedulingService.startNewScheduler()
Start harvest scheduler.
|
void |
HarvestSchedulingService.stopScheduler()
Stop an active harvest scheduler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IdentifierServiceImpl.delete(Context context,
DSpaceObject dso) |
void |
IdentifierServiceImpl.delete(Context context,
DSpaceObject dso,
String identifier) |
protected String |
VersionedHandleIdentifierProvider.makeIdentifierBasedOnHistory(Context context,
DSpaceObject dso,
VersionHistory history) |
protected String |
VersionedHandleIdentifierProviderWithCanonicalHandles.makeIdentifierBasedOnHistory(Context context,
DSpaceObject dso,
VersionHistory history) |
protected String |
VersionedDOIIdentifierProvider.makeIdentifierBasedOnHistory(Context context,
DSpaceObject dso,
VersionHistory history) |
protected void |
VersionedHandleIdentifierProviderWithCanonicalHandles.modifyHandleMetadata(Context context,
Item item,
String handle)
Remove all handles from an item's metadata and add the supplied handle instead.
|
protected void |
HandleIdentifierProvider.populateHandleMetadata(Context context,
Item item,
String handle) |
protected void |
VersionedHandleIdentifierProvider.populateHandleMetadata(Context context,
Item item,
String handle) |
void |
IdentifierServiceImpl.register(Context context,
DSpaceObject dso) |
void |
IdentifierServiceImpl.register(Context context,
DSpaceObject object,
String identifier) |
protected void |
DOIIdentifierProvider.removeDOIFromObject(Context context,
DSpaceObject dso,
String doi)
Removes a DOI out of the metadata of a DSpaceObject.
|
void |
IdentifierServiceImpl.reserve(Context context,
DSpaceObject dso)
Reserves identifiers for the item
|
void |
IdentifierServiceImpl.reserve(Context context,
DSpaceObject dso,
String identifier) |
protected void |
VersionedHandleIdentifierProviderWithCanonicalHandles.restoreItAsCanonical(Context context,
DSpaceObject dso,
String identifier,
Item item,
String canonical) |
protected void |
VersionedHandleIdentifierProviderWithCanonicalHandles.restoreItAsVersion(Context context,
DSpaceObject dso,
String identifier,
Item item,
String canonical,
VersionHistory history) |
protected void |
VersionedHandleIdentifierProvider.restoreItAsVersion(Context context,
Item item,
String identifier,
int versionNumber) |
protected void |
DOIIdentifierProvider.saveDOIToObject(Context context,
DSpaceObject dso,
String doi)
Adds a DOI to the metadata of an item.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IdentifierService.delete(Context context,
DSpaceObject dso)
Delete (Unbind) all identifiers registered for a specific DSpace item.
|
void |
IdentifierService.delete(Context context,
DSpaceObject dso,
String identifier)
Used to Delete a Specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for
Detecting and Processing the appropriate identifier, all Providers are interrogated, multiple providers
can process the same identifier.
|
void |
IdentifierService.register(Context context,
DSpaceObject dso) |
void |
IdentifierService.register(Context context,
DSpaceObject dso,
String identifier)
Used to Register a specific Identifier (for example a Handle, hdl:1234.5/6)
The provider is responsible for detecting and processing the appropriate
identifier.
|
void |
IdentifierService.reserve(Context context,
DSpaceObject dso)
Reserves any identifiers necessary based on the capabilities of all providers in the service.
|
void |
IdentifierService.reserve(Context context,
DSpaceObject dso,
String identifier)
Used to Reserve a Specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for
Detecting and Processing the appropriate identifier, all Providers are interrogated, multiple providers
can process the same identifier.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
LicenseCleanup.copy(Context context,
Bitstream b)
Fast stream copy routine
|
protected Bitstream |
CreativeCommonsServiceImpl.getBitstream(Item item,
String bitstream_name)
This helper method retrieves the bytes of a bitstream for an item under
the CC bundle, with the given bitstream name
|
protected byte[] |
CreativeCommonsServiceImpl.getBytesFromBitstream(Context context,
Item item,
String bitstream_name) |
protected Bundle |
CreativeCommonsServiceImpl.getCcBundle(Context context,
Item item) |
String |
CreativeCommonsServiceImpl.getLicenseRDF(Context context,
Item item) |
Bitstream |
CreativeCommonsServiceImpl.getLicenseRdfBitstream(Item item) |
String |
CreativeCommonsServiceImpl.getLicenseText(Context context,
Item item) |
Bitstream |
CreativeCommonsServiceImpl.getLicenseTextBitstream(Item item) |
String |
CreativeCommonsServiceImpl.getLicenseURL(Context context,
Item item) |
protected String |
CreativeCommonsServiceImpl.getStringFromBitstream(Context context,
Item item,
String bitstream_name)
This helper method wraps a String around a byte array returned from the
bitstream method further down
|
protected static void |
LicenseCleanup.handleItem(Context context,
Item item)
Process Item, correcting CC-License if encountered.
|
String |
LicenseMetadataValue.keyedItemValue(Item item,
String key)
Returns the value that matches the value mapped to the passed key if any.
|
static void |
LicenseCleanup.main(String[] args) |
void |
LicenseMetadataValue.removeItemValue(Context context,
Item item,
String value)
Removes the passed value from the set of values for the field in passed item.
|
void |
CreativeCommonsServiceImpl.removeLicense(Context context,
Item item) |
protected void |
CreativeCommonsServiceImpl.setBitstreamFromBytes(Context context,
Item item,
Bundle bundle,
String bitstream_name,
BitstreamFormat format,
byte[] bytes)
This helper method takes some bytes and stores them as a bitstream for an
item, under the CC bundle, with the given bitstream name
|
void |
CreativeCommonsServiceImpl.setLicense(Context context,
Item item,
InputStream licenseStm,
String mimeType) |
void |
CreativeCommonsServiceImpl.setLicense(Context context,
Item item,
String cc_license_url) |
void |
CreativeCommonsServiceImpl.setLicenseRDF(Context context,
Item item,
String licenseRdf) |
| Modifier and Type | Method and Description |
|---|---|
String |
CreativeCommonsService.getLicenseRDF(Context context,
Item item) |
Bitstream |
CreativeCommonsService.getLicenseRdfBitstream(Item item)
Get Creative Commons license RDF, returning Bitstream object.
|
String |
CreativeCommonsService.getLicenseText(Context context,
Item item) |
Bitstream |
CreativeCommonsService.getLicenseTextBitstream(Item item)
Get Creative Commons license Text, returning Bitstream object.
|
String |
CreativeCommonsService.getLicenseURL(Context context,
Item item) |
void |
CreativeCommonsService.removeLicense(Context context,
Item item) |
void |
CreativeCommonsService.setLicense(Context context,
Item item,
InputStream licenseStm,
String mimeType)
Used by DSpaceMetsIngester
|
void |
CreativeCommonsService.setLicense(Context context,
Item item,
String cc_license_url)
This is a bit of the "do-the-right-thing" method for CC stuff in an item
|
void |
CreativeCommonsService.setLicenseRDF(Context context,
Item item,
String licenseRdf)
setLicenseRDF
CC Web Service method for setting the RDF bitstream
|
| Modifier and Type | Method and Description |
|---|---|
void |
SiteHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
execute the process
|
void |
CollectionHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Collection collection)
execute the process
|
void |
CommunityHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Community community)
execute the process
|
void |
ItemHomeProcessor.process(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Item item)
execute the process
|
| Modifier and Type | Method and Description |
|---|---|
static com.hp.hpl.jena.rdf.model.Model |
RDFUtil.convert(Context context,
DSpaceObject dso)
Converts the the provided DSpaceObject into RDF and returns the model.
|
static com.hp.hpl.jena.rdf.model.Model |
RDFUtil.convertAndStore(Context context,
DSpaceObject dso)
Converts a DSpaceObject into RDF data and stores them using the configured
RDFStorage. |
static void |
RDFUtil.isPublic(Context context,
DSpaceObject dso)
Checks whether the provided DSpaceObject is readable within the provided
context and if the DSO is an Item whether it is archived, discoverable
and not withdrawn.
|
| Modifier and Type | Method and Description |
|---|---|
com.hp.hpl.jena.rdf.model.Model |
MetadataConverterPlugin.convert(Context context,
DSpaceObject dso) |
com.hp.hpl.jena.rdf.model.Model |
ConverterPlugin.convert(Context context,
DSpaceObject dso)
Convert the specified DSpaceObject or a part of it into RDF.
|
com.hp.hpl.jena.rdf.model.Model |
RDFConverterImpl.convert(Context context,
DSpaceObject dso) |
com.hp.hpl.jena.rdf.model.Model |
RDFConverter.convert(Context context,
DSpaceObject dso) |
| Modifier and Type | Method and Description |
|---|---|
T |
DSpaceCRUDService.create(Context context) |
void |
DSpaceCRUDService.delete(Context context,
T t) |
void |
DSpaceCRUDService.update(Context context,
List<T> t) |
void |
DSpaceCRUDService.update(Context context,
T t) |
| Modifier and Type | Method and Description |
|---|---|
void |
BitstreamStorageServiceImpl.cleanup(boolean deleteDbRecords,
boolean verbose) |
Bitstream |
BitstreamStorageServiceImpl.clone(Context context,
Bitstream bitstream) |
void |
BitstreamStorageServiceImpl.migrate(Context context,
Integer assetstoreSource,
Integer assetstoreDestination,
boolean deleteOld,
Integer batchCommitSize)
Migrates all assets off of one assetstore to another
|
UUID |
BitstreamStorageServiceImpl.register(Context context,
Bitstream bitstream,
int assetstore,
String bitstreamPath)
Register a bitstream already in storage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BitstreamStorageService.cleanup(boolean deleteDbRecords,
boolean verbose)
Clean up the bitstream storage area.
|
Bitstream |
BitstreamStorageService.clone(Context context,
Bitstream bitstream) |
void |
BitstreamStorageService.migrate(Context context,
Integer assetstoreSource,
Integer assetstoreDestination,
boolean deleteOld,
Integer batchCommitSize)
Migrate all the assets from assetstoreSource to assetstoreDestination
|
UUID |
BitstreamStorageService.register(Context context,
Bitstream bitstream,
int assetstore,
String bitstreamPath)
Register a bitstream already in storage.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
AbstractProcessingStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
UploadStep.backoutBitstream(Context context,
SubmissionInfo subInfo,
Bitstream b,
Item item) |
int |
UploadStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
DescribeStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
StartSubmissionLookupStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
SkipInitialQuestionsStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Simply we flags the submission as the user had checked both multi-title,
multi-files and published before so that the input-form configuration
will be used as is
|
int |
UploadWithEmbargoStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
LicenseStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
VerifyStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
CompleteStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
CCLicenseStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
SampleStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
AccessStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
XMLUIStartSubmissionLookupStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo) |
int |
InitialQuestionsStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
int |
SelectCollectionStep.doProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any processing of the information input by the user, and/or perform
step processing (if no user interaction required)
|
protected int |
CCLicenseStep.processCC(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process the input from the CC license page
|
protected int |
CCLicenseStep.processCCWS(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process the input from the CC license page using CC Web service
|
protected int |
UploadStep.processRemoveFile(Context context,
Item item,
UUID bitstreamID)
Remove a file from an item
|
protected int |
UploadStep.processSaveFileDescription(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process input from the "change file description" page
|
protected int |
UploadStep.processSaveFileFormat(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process input from get file type page
|
int |
UploadStep.processUploadFile(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process the upload of a new file!
|
int |
UploadWithEmbargoStep.processUploadFile(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Process the upload of a new file!
|
protected void |
InitialQuestionsStep.processVerifyPrune(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo,
boolean multipleTitles,
boolean publishedBefore,
boolean multipleFiles)
Process input from "verify prune" page
|
static void |
AccessStep.removePolicy(Context context,
String buttonPressed) |
static int |
AccessStep.saveOrCancelEditPolicy(Context context,
javax.servlet.http.HttpServletRequest request,
SubmissionInfo subInfo,
String buttonPressed,
DSpaceObject dso,
String name,
Group group,
String reason) |
| Modifier and Type | Method and Description |
|---|---|
protected Bitstream |
AbstractVersionProvider.createBitstream(Context context,
Bitstream nativeBitstream) |
protected void |
AbstractVersionProvider.createBundlesAndAddBitstreams(Context c,
Item itemNew,
Item nativeItem) |
void |
VersionHistoryServiceImpl.delete(Context context,
VersionHistory versionHistory) |
void |
VersionHistoryServiceImpl.update(Context context,
List<VersionHistory> versionHistories) |
void |
VersionHistoryServiceImpl.update(Context context,
VersionHistory versionHistory) |
| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
WorkflowService.abort(Context c,
T wi,
EPerson e)
abort() aborts a workflow, completely deleting it (administrator do this)
(it will basically do a reject from any state - the item ends up back in
the user's PersonalWorkspace
|
void |
WorkflowService.addInitialWorkspaceItemPolicies(Context context,
WorkspaceItem workspaceItem) |
Item |
WorkflowService.archive(Context context,
T workflowItem) |
T |
WorkflowItemService.create(Context context,
Item item,
Collection collection) |
void |
WorkflowItemService.delete(Context context,
T workflowItem) |
void |
WorkflowItemService.deleteByCollection(Context context,
Collection collection) |
void |
WorkflowService.deleteCollection(Context context,
Collection collection) |
Group |
WorkflowService.getWorkflowRoleGroup(Context context,
Collection collection,
String roleName,
Group roleGroup) |
WorkspaceItem |
WorkflowService.sendWorkflowItemBackSubmission(Context c,
T workflowItem,
EPerson e,
String provenance,
String rejection_message) |
T |
WorkflowService.start(Context context,
WorkspaceItem wsi)
startWorkflow() begins a workflow - in a single transaction do away with
the PersonalWorkspace entry and turn it into a WorkflowItem.
|
T |
WorkflowService.startWithoutNotify(Context c,
WorkspaceItem wsi)
startWithoutNotify() starts the workflow normally, but disables
notifications (useful for large imports,) for the first workflow step -
subsequent notifications happen normally
|
| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
BasicWorkflowServiceImpl.abort(Context context,
BasicWorkflowItem workflowItem,
EPerson e) |
void |
BasicWorkflowServiceImpl.addInitialWorkspaceItemPolicies(Context context,
WorkspaceItem workspaceItem) |
void |
BasicWorkflowServiceImpl.advance(Context context,
BasicWorkflowItem workflowItem,
EPerson e) |
boolean |
BasicWorkflowServiceImpl.advance(Context context,
BasicWorkflowItem workflowItem,
EPerson e,
boolean curate,
boolean record) |
Item |
BasicWorkflowServiceImpl.archive(Context context,
BasicWorkflowItem workflowItem)
Commit the contained item to the main archive.
|
void |
BasicWorkflowServiceImpl.claim(Context context,
BasicWorkflowItem workflowItem,
EPerson e) |
BasicWorkflowItem |
BasicWorkflowItemServiceImpl.create(Context context,
Item item,
Collection collection) |
void |
BasicWorkflowItemServiceImpl.delete(Context context,
BasicWorkflowItem workflowItem) |
void |
BasicWorkflowItemServiceImpl.deleteByCollection(Context context,
Collection collection) |
void |
BasicWorkflowServiceImpl.deleteCollection(Context context,
Collection collection) |
void |
BasicWorkflowItemServiceImpl.deleteWrapper(Context context,
BasicWorkflowItem workflowItem) |
protected boolean |
BasicWorkflowServiceImpl.doState(Context context,
BasicWorkflowItem workflowItem,
int newstate,
EPerson newowner) |
Group |
BasicWorkflowServiceImpl.getWorkflowRoleGroup(Context context,
Collection collection,
String roleName,
Group roleGroup) |
protected void |
BasicWorkflowServiceImpl.recordApproval(Context context,
BasicWorkflowItem workflowItem,
EPerson e) |
protected void |
BasicWorkflowServiceImpl.recordStart(Context context,
Item myitem) |
protected WorkspaceItem |
BasicWorkflowServiceImpl.returnToWorkspace(Context c,
BasicWorkflowItem wfi)
Return the workflow item to the workspace of the submitter.
|
WorkspaceItem |
BasicWorkflowServiceImpl.sendWorkflowItemBackSubmission(Context context,
BasicWorkflowItem workflowItem,
EPerson ePerson,
String provenancePrefix,
String rejection_message) |
BasicWorkflowItem |
BasicWorkflowServiceImpl.start(Context context,
WorkspaceItem wsi) |
BasicWorkflowItem |
BasicWorkflowServiceImpl.startWithoutNotify(Context c,
WorkspaceItem wsi) |
void |
BasicWorkflowServiceImpl.unclaim(Context context,
BasicWorkflowItem workflowItem,
EPerson e) |
void |
BasicWorkflowItemServiceImpl.update(Context context,
BasicWorkflowItem workflowItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicWorkflowService.advance(Context context,
BasicWorkflowItem workflowItem,
EPerson e)
advance() sends an item forward in the workflow (reviewers,
approvers, and editors all do an 'approve' to move the item forward) if
the item arrives at the submit state, then remove the WorkflowItem and
call the archive() method to put it in the archive, and email notify the
submitter of a successful submission
|
boolean |
BasicWorkflowService.advance(Context context,
BasicWorkflowItem workflowItem,
EPerson e,
boolean curate,
boolean record)
advance() sends an item forward in the workflow (reviewers,
approvers, and editors all do an 'approve' to move the item forward) if
the item arrives at the submit state, then remove the WorkflowItem and
call the archive() method to put it in the archive, and email notify the
submitter of a successful submission
|
void |
BasicWorkflowService.claim(Context context,
BasicWorkflowItem workflowItem,
EPerson e)
claim() claims a workflow task for an EPerson
|
void |
BasicWorkflowService.unclaim(Context context,
BasicWorkflowItem workflowItem,
EPerson e)
unclaim() returns an owned task/item to the pool
|
| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
XmlWorkflowServiceImpl.abort(Context c,
XmlWorkflowItem wi,
EPerson e) |
protected void |
XmlWorkflowServiceImpl.activateFirstStep(Context context,
Workflow wf,
Step firstStep,
XmlWorkflowItem wfi) |
void |
WorkflowRequirementsServiceImpl.addClaimedUser(Context context,
XmlWorkflowItem wfi,
Step step,
EPerson user) |
void |
WorkflowRequirementsServiceImpl.addFinishedUser(Context c,
XmlWorkflowItem wfi,
EPerson user) |
protected void |
XmlWorkflowServiceImpl.addGroupPolicyToItem(Context context,
Item item,
int type,
Group group) |
void |
XmlWorkflowServiceImpl.addInitialWorkspaceItemPolicies(Context context,
WorkspaceItem workspaceItem) |
protected void |
XmlWorkflowServiceImpl.addPolicyToItem(Context context,
Item item,
int type,
EPerson epa) |
Item |
XmlWorkflowServiceImpl.archive(Context context,
XmlWorkflowItem wfi)
Commit the contained item to the main archive.
|
void |
WorkflowRequirementsServiceImpl.clearInProgressUsers(Context c,
XmlWorkflowItem wfi) |
static void |
WorkflowUtils.createCollectionWorkflowRole(Context context,
Collection collection,
String roleId,
Group group)
WORKFLOW ROLE MANAGEMENT
|
void |
XmlWorkflowServiceImpl.createOwnedTask(Context context,
XmlWorkflowItem wi,
Step step,
WorkflowActionConfig action,
EPerson e) |
void |
XmlWorkflowServiceImpl.createPoolTasks(Context context,
XmlWorkflowItem wi,
RoleMembers assignees,
Step step,
WorkflowActionConfig action) |
void |
XmlWorkflowServiceImpl.deleteAllPooledTasks(Context context,
XmlWorkflowItem wi) |
void |
XmlWorkflowServiceImpl.deleteAllTasks(Context context,
XmlWorkflowItem wi)
Deletes all tasks from this workflowflowitem
|
void |
XmlWorkflowServiceImpl.deleteClaimedTask(Context c,
XmlWorkflowItem wi,
ClaimedTask task) |
void |
XmlWorkflowServiceImpl.deleteCollection(Context context,
Collection collection) |
void |
XmlWorkflowServiceImpl.deletePooledTask(Context context,
XmlWorkflowItem wi,
PoolTask task) |
WorkflowActionConfig |
XmlWorkflowServiceImpl.doState(Context c,
EPerson user,
javax.servlet.http.HttpServletRequest request,
int workflowItemId,
Workflow workflow,
WorkflowActionConfig currentActionConfig) |
Group |
XmlWorkflowServiceImpl.getWorkflowRoleGroup(Context context,
Collection collection,
String roleName,
Group roleGroup) |
protected void |
XmlWorkflowServiceImpl.grantGroupAllItemPolicies(Context context,
Item item,
Group group) |
protected void |
XmlWorkflowServiceImpl.grantSubmitterReadPolicies(Context context,
Item item) |
protected void |
XmlWorkflowServiceImpl.grantUserAllItemPolicies(Context context,
Item item,
EPerson epa) |
protected WorkflowActionConfig |
XmlWorkflowServiceImpl.processNextStep(Context c,
EPerson user,
Workflow workflow,
ActionResult currentOutcome,
XmlWorkflowItem wfi,
Step nextStep) |
WorkflowActionConfig |
XmlWorkflowServiceImpl.processOutcome(Context c,
EPerson user,
Workflow workflow,
Step currentStep,
WorkflowActionConfig currentActionConfig,
ActionResult currentOutcome,
XmlWorkflowItem wfi,
boolean enteredNewStep) |
protected void |
XmlWorkflowServiceImpl.recordStart(Context context,
Item myitem,
Action action) |
void |
WorkflowRequirementsServiceImpl.removeClaimedUser(Context context,
XmlWorkflowItem wfi,
EPerson user,
String stepID) |
protected void |
XmlWorkflowServiceImpl.removeGroupItemPolicies(Context context,
Item item,
Group e) |
protected void |
XmlWorkflowServiceImpl.removeUserItemPolicies(Context context,
Item item,
EPerson e) |
protected WorkspaceItem |
XmlWorkflowServiceImpl.returnToWorkspace(Context c,
XmlWorkflowItem wfi)
Return the workflow item to the workspace of the submitter.
|
WorkspaceItem |
XmlWorkflowServiceImpl.sendWorkflowItemBackSubmission(Context context,
XmlWorkflowItem wi,
EPerson e,
String provenance,
String rejection_message) |
XmlWorkflowItem |
XmlWorkflowServiceImpl.start(Context context,
WorkspaceItem wsi) |
XmlWorkflowItem |
XmlWorkflowServiceImpl.startWithoutNotify(Context context,
WorkspaceItem wsi)
startWithoutNotify() starts the workflow normally, but disables
notifications (useful for large imports,) for the first workflow step -
subsequent notifications happen normally
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorkflowRequirementsService.addClaimedUser(Context context,
XmlWorkflowItem wfi,
Step step,
EPerson user)
Adds a claimed user in the metadata
if enough users have claimed this task (claimed or finished) to meet the required number
the pooled tasks will be deleted
|
void |
WorkflowRequirementsService.addFinishedUser(Context context,
XmlWorkflowItem wfi,
EPerson user)
Adds a finished user in the metadata
this method will also remove the user from the inprogress metadata
|
void |
WorkflowRequirementsService.clearInProgressUsers(Context context,
XmlWorkflowItem wfi) |
void |
XmlWorkflowService.createOwnedTask(Context context,
XmlWorkflowItem wi,
Step step,
WorkflowActionConfig action,
EPerson e) |
void |
XmlWorkflowService.createPoolTasks(Context context,
XmlWorkflowItem wi,
RoleMembers assignees,
Step step,
WorkflowActionConfig action) |
void |
XmlWorkflowService.deleteAllPooledTasks(Context c,
XmlWorkflowItem wi) |
void |
XmlWorkflowService.deleteAllTasks(Context context,
XmlWorkflowItem wi) |
void |
XmlWorkflowService.deleteClaimedTask(Context c,
XmlWorkflowItem wi,
ClaimedTask task) |
void |
XmlWorkflowService.deletePooledTask(Context context,
XmlWorkflowItem wi,
PoolTask task) |
WorkflowActionConfig |
XmlWorkflowService.doState(Context c,
EPerson user,
javax.servlet.http.HttpServletRequest request,
int workflowItemId,
Workflow workflow,
WorkflowActionConfig currentActionConfig) |
WorkflowActionConfig |
XmlWorkflowService.processOutcome(Context c,
EPerson user,
Workflow workflow,
Step currentStep,
WorkflowActionConfig currentActionConfig,
ActionResult currentOutcome,
XmlWorkflowItem wfi,
boolean enteredNewStep) |
void |
WorkflowRequirementsService.removeClaimedUser(Context context,
XmlWorkflowItem wfi,
EPerson user,
String stepID) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Action.activate(Context c,
XmlWorkflowItem wf) |
abstract ActionResult |
Action.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
abstract boolean |
Action.isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScoreReviewAction.activate(Context c,
XmlWorkflowItem wf) |
void |
ScoreEvaluationAction.activate(Context c,
XmlWorkflowItem wf) |
void |
SelectReviewerAction.activate(Context c,
XmlWorkflowItem wf) |
ActionResult |
SingleUserReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ScoreReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AcceptEditRejectAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ScoreEvaluationAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
SelectReviewerAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
FinalEditAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
SingleUserReviewAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ReviewAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AcceptEditRejectAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
FinalEditAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
SingleUserReviewAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ReviewAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AcceptEditRejectAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClaimAction.activate(Context context,
XmlWorkflowItem wfItem) |
protected void |
AutoAssignAction.createTaskForEPerson(Context c,
XmlWorkflowItem wfi,
Step step,
WorkflowActionConfig actionConfig,
EPerson user)
Create a claimed task for the user IF this user doesn't have a claimed action for this workflow item
|
protected void |
AssignOriginalSubmitterAction.createTaskForEPerson(Context c,
XmlWorkflowItem wfi,
Step step,
WorkflowActionConfig actionConfig,
EPerson user)
Create a claimed task for the user IF this user doesn't have a claimed action for this workflow item
|
ActionResult |
NoUserSelectionAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ClaimAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AutoAssignAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AssignOriginalSubmitterAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
boolean |
UserSelectionAction.isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi) |
void |
ClaimAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
abstract void |
UserSelectionAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
Should a person have the option to repool the task the tasks will have to be regenerated
|
| Modifier and Type | Method and Description |
|---|---|
WorkflowItemRole |
WorkflowItemRoleServiceImpl.create(Context context) |
InProgressUser |
InProgressUserServiceImpl.create(Context context) |
ClaimedTask |
ClaimedTaskServiceImpl.create(Context context) |
PoolTask |
PoolTaskServiceImpl.create(Context context) |
XmlWorkflowItem |
XmlWorkflowItemServiceImpl.create(Context context,
Item item,
Collection collection) |
void |
ClaimedTaskServiceImpl.delete(Context context,
ClaimedTask claimedTask) |
void |
InProgressUserServiceImpl.delete(Context context,
InProgressUser inProgressUser) |
void |
PoolTaskServiceImpl.delete(Context context,
PoolTask poolTask) |
void |
WorkflowItemRoleServiceImpl.delete(Context context,
WorkflowItemRole workflowItemRole) |
void |
XmlWorkflowItemServiceImpl.delete(Context context,
XmlWorkflowItem workflowItem) |
void |
XmlWorkflowItemServiceImpl.deleteByCollection(Context context,
Collection collection) |
void |
ClaimedTaskServiceImpl.deleteByWorkflowItem(Context context,
XmlWorkflowItem workflowItem) |
void |
PoolTaskServiceImpl.deleteByWorkflowItem(Context context,
XmlWorkflowItem xmlWorkflowItem) |
void |
WorkflowItemRoleServiceImpl.deleteForWorkflowItem(Context context,
XmlWorkflowItem xmlWorkflowItem) |
void |
XmlWorkflowItemServiceImpl.deleteWrapper(Context context,
XmlWorkflowItem workflowItem) |
List<PoolTask> |
PoolTaskServiceImpl.findByEperson(Context context,
EPerson ePerson) |
PoolTask |
PoolTaskServiceImpl.findByWorkflowIdAndEPerson(Context context,
XmlWorkflowItem workflowItem,
EPerson ePerson) |
void |
ClaimedTaskServiceImpl.update(Context context,
ClaimedTask claimedTask) |
void |
InProgressUserServiceImpl.update(Context context,
InProgressUser inProgressUser) |
void |
ClaimedTaskServiceImpl.update(Context context,
List<ClaimedTask> claimedTasks) |
void |
InProgressUserServiceImpl.update(Context context,
List<InProgressUser> inProgressUsers) |
void |
PoolTaskServiceImpl.update(Context context,
List<PoolTask> poolTasks) |
void |
WorkflowItemRoleServiceImpl.update(Context context,
List<WorkflowItemRole> workflowItemRoles) |
void |
PoolTaskServiceImpl.update(Context context,
PoolTask poolTask) |
void |
WorkflowItemRoleServiceImpl.update(Context context,
WorkflowItemRole workflowItemRole) |
void |
XmlWorkflowItemServiceImpl.update(Context context,
XmlWorkflowItem workflowItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
PoolTaskService.deleteByWorkflowItem(Context context,
XmlWorkflowItem xmlWorkflowItem) |
void |
ClaimedTaskService.deleteByWorkflowItem(Context context,
XmlWorkflowItem workflowItem) |
void |
WorkflowItemRoleService.deleteForWorkflowItem(Context context,
XmlWorkflowItem wfi) |
List<PoolTask> |
PoolTaskService.findByEperson(Context context,
EPerson ePerson) |
PoolTask |
PoolTaskService.findByWorkflowIdAndEPerson(Context context,
XmlWorkflowItem workflowItem,
EPerson ePerson) |
Copyright © 2016 DuraSpace. All rights reserved.