Uses of Class
org.dspace.authorize.AuthorizeException
Packages that use AuthorizeException
Package
Description
Provides classes and methods for administrative functions that fall outside
the regular use of other subsystems.
The DSpace Batch Metadata Editor, which uses a CSV file to export/import
item metadata.
Tools for exporting and importing DSpace objects (Community, Collection,
Item, etc.) wrapped in various kinds of packaging.
Feature for conveying a request that materials forbidden to the requester
by resource policy be made available by other means.
Miscellaneous utility classes.
End-user authentication manager, interface and implementations.
Represents permissions for access to DSpace content.
Provides an API for reading and manipulating content in the DSpace system.
Provides an API and implementations of metadata crosswalks, which are directional mappings from one schema to another, performed in the context of Item ingestion or dissemination.
Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)
In DSpace, "curation" refers to the application of one or more "tasks" to one
or more model objects.
Embargo allows the deposit of Items whose content should not be made visible
until later.
Provides classes representing e-people and groups of e-people.
Providers of durable unique identifiers (Handles, DOIs, etc.).
Provides an API for storing, retrieving and deleting streams of bits in
a transactionally safe fashion.
DSpace has a simple workflow system, which models the workflows
as named steps: SUBMIT, arbitrary named steps that you define, and ARCHIVE.
An Item submission begins as a
WorkspaceItem in some user's workspace.An
Action changes the state of an object in a workflow.The state of an item in a workflow is persisted in a number of objects.
-
Uses of AuthorizeException in org.dspace.administer
Methods in org.dspace.administer that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidvoidstatic voidRegistryLoader.loadBitstreamFormats(Context context, String filename) Load Bitstream Format metadatastatic voidMetadataImporter.loadRegistry(String file, boolean forceUpdate) Load the data from the specified file path into the databasestatic voidmain method for reading user input from the command line -
Uses of AuthorizeException in org.dspace.alerts
Methods in org.dspace.alerts that throw AuthorizeExceptionModifier and TypeMethodDescriptionSystemWideAlertServiceImpl.create(Context context, String message, AllowSessionsEnum allowSessionsType, ZonedDateTime countdownTo, boolean active) voidSystemWideAlertServiceImpl.delete(Context context, SystemWideAlert systemWideAlert) voidSystemWideAlertServiceImpl.update(Context context, SystemWideAlert systemWideAlert) -
Uses of AuthorizeException in org.dspace.alerts.service
Methods in org.dspace.alerts.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionSystemWideAlertService.create(Context context, String message, AllowSessionsEnum allowSessionsType, ZonedDateTime countdownTo, boolean active) This method will create a SystemWideAlert object in the databasevoidSystemWideAlertService.delete(Context context, SystemWideAlert systemWideAlert) This method will delete the given SystemWideAlert object from the databasevoidSystemWideAlertService.update(Context context, SystemWideAlert systemWideAlert) This method will be used to update the given SystemWideAlert object in the database -
Uses of AuthorizeException in org.dspace.app.bulkedit
Methods in org.dspace.app.bulkedit that throw AuthorizeExceptionModifier and TypeMethodDescriptionprotected voidMetadataImport.add(Context c, String[] fromCSV, String md, BulkEditChange changes) Add an item metadata with a line from CSV, and optionally update the itemprotected voidMetadataImport.compare(Context c, 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 fileprotected voidMetadataImport.compareAndUpdate(Context c, 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.MetadataImport.runImport(Context c, boolean change, boolean useWorkflow, boolean workflowNotify, boolean useTemplate) Run an import. -
Uses of AuthorizeException in org.dspace.app.itemimport
Methods in org.dspace.app.itemimport that throw AuthorizeExceptionModifier and TypeMethodDescriptionprotected voidItemImportServiceImpl.addDCValue(Context c, Item i, String schema, Node n) protected voidItemImportServiceImpl.addRelationship(Context c, Item item, Item relationItem, String relationshipType) Add relationship.protected voidItemImportServiceImpl.loadDublinCore(Context c, Item myitem, String filename) protected voidItemImportServiceImpl.loadMetadata(Context c, Item myitem, String path) protected voidItemImportServiceImpl.processContentFileEntry(Context c, Item i, String path, String fileName, String bundleName, boolean primary) each entry represents a bitstream....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 permissionprotected voidItemImportServiceImpl.processOptions(Context c, Item myItem, List<String> options) Process the Options to apply to the Item.protected voidItemImportServiceImpl.registerBitstream(Context c, Item i, int assetstore, String bitstreamPath, String bundleName, String description) Register the bitstream file into DSpaceprotected voidItemImportServiceImpl.setPermission(Context c, Group g, String rpType, int actionID, Bitstream bs) Set the Permission on a Bitstream. -
Uses of AuthorizeException in org.dspace.app.itemupdate
Methods in org.dspace.app.itemupdate that throw AuthorizeExceptionModifier and TypeMethodDescriptionprotected StringAddBitstreamsAction.addBitstream(Context context, ItemArchive itarch, Item item, File dir, ContentsEntry ce, boolean suppressUndo, boolean isTest) Add bitstreamvoidAddBitstreamsAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Adds bitstreams from the archive as listed in the contents file.voidAddMetadataAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Adds metadata specified in the source archivevoidDeleteBitstreamsAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Delete bitstream from itemvoidDeleteBitstreamsByFilterAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Delete bitstreamvoidDeleteMetadataAction.execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo) Delete metadata from item -
Uses of AuthorizeException in org.dspace.app.mediafilter
Methods in org.dspace.app.mediafilter that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidMediaFilterServiceImpl.updatePoliciesOfDerivativeBitstreams(Context context, Item item, Bitstream source) -
Uses of AuthorizeException in org.dspace.app.mediafilter.service
Methods in org.dspace.app.mediafilter.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidMediaFilterService.updatePoliciesOfDerivativeBitstreams(Context context, Item item, Bitstream source) update resource polices of derivative bitstreams related to source bitstream. -
Uses of AuthorizeException in org.dspace.app.packager
Methods in org.dspace.app.packager that throw AuthorizeExceptionModifier and TypeMethodDescriptionprotected voidPackager.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' scriptprotected voidPackager.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 voidPackager.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. -
Uses of AuthorizeException in org.dspace.app.requestitem
Methods in org.dspace.app.requestitem that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidRequestItemServiceImpl.authorizeAccessByAccessToken(Context context, RequestItem requestItem, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionvoidRequestItemServiceImpl.authorizeAccessByAccessToken(Context context, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeException -
Uses of AuthorizeException in org.dspace.app.requestitem.service
Methods in org.dspace.app.requestitem.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidRequestItemService.authorizeAccessByAccessToken(Context context, RequestItem requestItem, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeExceptionvoidRequestItemService.authorizeAccessByAccessToken(Context context, Bitstream bitstream, String accessToken) Taking into account 'accepted' flag, bitstream id or allfiles flag, decision date and access period, either return cleanly or throw an AuthorizeException -
Uses of AuthorizeException in org.dspace.app.util
Methods in org.dspace.app.util that throw AuthorizeExceptionModifier and TypeMethodDescriptionstatic voidAuthorizeUtil.authorizeManageAdminGroup(Context context, Collection collection) Can the current user create/edit the admins group of the collection?static voidAuthorizeUtil.authorizeManageAdminGroup(Context context, Community community) Can the current user create/edit the admins group of the community?static voidAuthorizeUtil.authorizeManageBitstreamPolicy(Context context, Bitstream bitstream) Is allowed manage (create, remove, edit) bitstream's policies in the current context?static voidAuthorizeUtil.authorizeManageBundlePolicy(Context context, Bundle bundle) Is allowed manage (create, remove, edit) bundle's policies in the current context?static voidAuthorizeUtil.authorizeManageCCLicense(Context context, Item item) Is the current user allowed to manage (add, remove, replace) the item's CC Licensestatic voidAuthorizeUtil.authorizeManageCollectionPolicy(Context context, Collection collection) Is allowed manage (create, remove, edit) collection's policies in the current context?static voidAuthorizeUtil.authorizeManageCommunityPolicy(Context context, Community community) Is allowed manage (create, remove, edit) community's policies in the current context?static voidAuthorizeUtil.authorizeManageDefaultReadGroup(Context context, Collection collection) This method will check whether the current user is authorized to manage the default read groupstatic voidAuthorizeUtil.authorizeManageGroup(Context context, Group group) This method checks whether the current user has sufficient rights to modify the group.static voidAuthorizeUtil.authorizeManageItemPolicy(Context context, Item item) Is allowed manage (create, remove, edit) item's policies in the current context?static voidAuthorizeUtil.authorizeManagePolicy(Context c, ResourcePolicy rp) Can the current user remove or edit the supplied policy?static voidAuthorizeUtil.authorizeManageSubmittersGroup(Context context, Collection collection) Can the current user manage (create, remove, edit) the submitters group of the collection?static voidAuthorizeUtil.authorizeManageTemplateItem(Context context, Collection collection) Is the current user allowed to manage (create, remove, edit) the collection's template item?static voidAuthorizeUtil.authorizeManageWorkflowsGroup(Context context, Collection collection) Can the current user manage (create, remove, edit) the workflow groups of the collection?static voidAuthorizeUtil.authorizeReinstateItem(Context context, Item item) Can the current user reinstate the item?static voidAuthorizeUtil.authorizeRemoveAdminGroup(Context context, Collection collection) Can the current user remove the admins group of the collection?static voidAuthorizeUtil.authorizeRemoveAdminGroup(Context context, Community community) Can the current user remove the admins group of the community?static voidAuthorizeUtil.authorizeWithdrawItem(Context context, Item item) Can the current user withdraw the item?static voidThe main method for this scriptstatic voidAuthorizeUtil.requireAdminRole(Context context) Throw an AuthorizeException if the current user is not a System Admin -
Uses of AuthorizeException in org.dspace.authenticate
Methods in org.dspace.authenticate that throw AuthorizeExceptionModifier and TypeMethodDescriptionprotected EPersonSamlAuthentication.findEPerson(Context context, jakarta.servlet.http.HttpServletRequest request) Identify an existing EPerson based upon the SAML attributes provided on the request object. 1) Name ID from SAML attribute (best) The Name ID-based method is superior because users may change their email address with the identity provider.protected EPersonShibAuthentication.findEPerson(Context context, jakarta.servlet.http.HttpServletRequest request) Identify an existing EPerson based upon the shibboleth attributes provided on the request object.protected EPersonSamlAuthentication.registerNewEPerson(Context context, jakarta.servlet.http.HttpServletRequest request) Register a new EPerson.protected EPersonShibAuthentication.registerNewEPerson(Context context, jakarta.servlet.http.HttpServletRequest request) Register a new eperson object.protected voidSamlAuthentication.updateEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) After we successfully authenticated a user, this method will update the user's attributes.protected voidShibAuthentication.updateEPerson(Context context, jakarta.servlet.http.HttpServletRequest request, EPerson eperson) After we successfully authenticated a user, this method will update the user's attributes. -
Uses of AuthorizeException in org.dspace.authority
Methods in org.dspace.authority that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidvoidAuthorityValue.updateItem(Context context, Item currentItem, MetadataValue value) Replace an item's DCValue with this authority -
Uses of AuthorizeException in org.dspace.authority.indexer
Methods in org.dspace.authority.indexer that throw AuthorizeExceptionModifier and TypeMethodDescriptionAuthorityIndexerInterface.getAuthorityValues(Context context, Item item) AuthorityIndexerInterface.getAuthorityValues(Context context, Item item, Map<String, AuthorityValue> cache) DSpaceAuthorityIndexer.getAuthorityValues(Context context, Item item) DSpaceAuthorityIndexer.getAuthorityValues(Context context, Item item, Map<String, AuthorityValue> cache) -
Uses of AuthorizeException in org.dspace.authority.service
Methods in org.dspace.authority.service that throw AuthorizeException -
Uses of AuthorizeException in org.dspace.authorize
Methods in org.dspace.authorize that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidAuthorizeServiceImpl.addPolicies(Context c, List<ResourcePolicy> policies, DSpaceObject dest) voidAuthorizeServiceImpl.addPolicy(Context c, DSpaceObject o, int actionID, EPerson e) voidAuthorizeServiceImpl.addPolicy(Context context, DSpaceObject o, int actionID, EPerson e, String type) voidAuthorizeServiceImpl.addPolicy(Context c, DSpaceObject o, int actionID, Group g) voidAuthorizeServiceImpl.addPolicy(Context c, DSpaceObject o, int actionID, Group g, String type) voidAuthorizeServiceImpl.authorizeAction(Context c, DSpaceObject o, int action) voidAuthorizeServiceImpl.authorizeAction(Context c, DSpaceObject o, int action, boolean useInheritance) voidAuthorizeServiceImpl.authorizeAction(Context c, EPerson e, DSpaceObject o, int action, boolean useInheritance) voidAuthorizeServiceImpl.authorizeAnyOf(Context c, DSpaceObject o, int[] actions) ResourcePolicyServiceImpl.clone(Context context, ResourcePolicy resourcePolicy) AuthorizeServiceImpl.createOrModifyPolicy(ResourcePolicy policy, Context context, String name, Group group, EPerson ePerson, LocalDate embargoDate, int action, String reason, DSpaceObject dso) AuthorizeServiceImpl.createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType) AuthorizeServiceImpl.createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType, String rpName, String rpDescription, LocalDate startDate, LocalDate endDate) voidResourcePolicyServiceImpl.delete(Context context, ResourcePolicy resourcePolicy) Delete an ResourcePolicyvoidAuthorizeServiceImpl.inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest) voidAuthorizeServiceImpl.removeAllEPersonPolicies(Context c, EPerson e) voidResourcePolicyServiceImpl.removeAllEPersonPolicies(Context context, EPerson ePerson) voidAuthorizeServiceImpl.removeAllPolicies(Context c, DSpaceObject o) voidResourcePolicyServiceImpl.removeAllPolicies(Context c, DSpaceObject o) voidAuthorizeServiceImpl.removeAllPoliciesByDSOAndType(Context c, DSpaceObject o, String type) voidAuthorizeServiceImpl.removeAllPoliciesByDSOAndTypeNotEqualsTo(Context c, DSpaceObject o, String type) voidResourcePolicyServiceImpl.removeDsoAndTypeNotEqualsToPolicies(Context c, DSpaceObject o, String type) voidResourcePolicyServiceImpl.removeDsoEPersonPolicies(Context context, DSpaceObject dso, EPerson ePerson) voidResourcePolicyServiceImpl.removeDsoGroupPolicies(Context context, DSpaceObject dso, Group group) voidAuthorizeServiceImpl.removeEPersonPolicies(Context c, DSpaceObject o, EPerson e) voidAuthorizeServiceImpl.removeGroupPolicies(Context c, DSpaceObject o, Group g) voidResourcePolicyServiceImpl.removePolicies(Context c, DSpaceObject o, int actionId) voidResourcePolicyServiceImpl.removePolicies(Context c, DSpaceObject o, String type) voidResourcePolicyServiceImpl.removePolicies(Context c, DSpaceObject o, String type, int action) voidAuthorizeServiceImpl.removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID) voidAuthorizeServiceImpl.replaceAllPolicies(Context context, DSpaceObject source, DSpaceObject dest) static voidPolicySet.setPolicies(Context c, int containerType, UUID containerID, int contentType, int actionID, UUID groupID, boolean isReplace, boolean clearOnly) Useful policy wildcard tool.static voidPolicySet.setPolicies(Context c, int containerType, UUID containerID, int contentType, int actionID, UUID groupID, boolean isReplace, boolean clearOnly, String name, String description, LocalDate startDate, LocalDate endDate) static voidPolicySet.setPoliciesFilter(Context c, int containerType, UUID containerID, int contentType, int actionID, UUID groupID, boolean isReplace, boolean clearOnly, String filter) Useful policy wildcard tool.static voidPolicySet.setPoliciesFilter(Context c, int containerType, UUID containerID, int contentType, int actionID, UUID groupID, boolean isReplace, boolean clearOnly, String filter, String name, String description, LocalDate startDate, LocalDate endDate) Useful policy wildcard tool.voidAuthorizeServiceImpl.switchPoliciesAction(Context context, DSpaceObject dso, int fromAction, int toAction) voidResourcePolicyServiceImpl.update(Context context, List<ResourcePolicy> resourcePolicies) Update the ResourcePoliciesvoidResourcePolicyServiceImpl.update(Context context, ResourcePolicy resourcePolicy) Update the ResourcePolicy -
Uses of AuthorizeException in org.dspace.authorize.service
Methods in org.dspace.authorize.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidAuthorizeService.addPolicies(Context c, List<ResourcePolicy> policies, DSpaceObject dest) Copies policies from a list of resource policies to a given DSpaceObjectvoidAuthorizeService.addPolicy(Context c, DSpaceObject o, int actionID, EPerson e) Add a policy for an individual epersonvoidAuthorizeService.addPolicy(Context c, DSpaceObject o, int actionID, EPerson e, String type) Add a policy for an individual epersonvoidAuthorizeService.addPolicy(Context c, DSpaceObject o, int actionID, Group g) Add a policy for a groupvoidAuthorizeService.addPolicy(Context c, DSpaceObject o, int actionID, Group g, String type) Add a policy for a groupvoidAuthorizeService.authorizeAction(Context c, DSpaceObject o, int action) Checks that the context's current user can perform the given action on the given object.voidAuthorizeService.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.voidAuthorizeService.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.voidAuthorizeService.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.ResourcePolicyService.clone(Context context, ResourcePolicy resourcePolicy) Create and persist a copy of a given ResourcePolicy, with an empty dSpaceObject field.AuthorizeService.createOrModifyPolicy(ResourcePolicy policy, Context context, String name, Group group, EPerson ePerson, LocalDate embargoDate, int action, String reason, DSpaceObject dso) AuthorizeService.createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType) AuthorizeService.createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType, String rpName, String rpDescription, LocalDate startDate, LocalDate endDate) voidResourcePolicyService.delete(Context context, ResourcePolicy resourcePolicy) voidAuthorizeService.inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest) Add policies to an object to match those from a previous objectvoidAuthorizeService.removeAllEPersonPolicies(Context c, EPerson e) Removes all policies from an eperson that belong to an EPerson.voidResourcePolicyService.removeAllEPersonPolicies(Context context, EPerson ePerson) Removes all ResourcePolicies related to an EPersonvoidAuthorizeService.removeAllPolicies(Context c, DSpaceObject o) removes ALL policies for an object.voidResourcePolicyService.removeAllPolicies(Context c, DSpaceObject o) voidAuthorizeService.removeAllPoliciesByDSOAndType(Context c, DSpaceObject o, String type) removes policiesvoidAuthorizeService.removeAllPoliciesByDSOAndTypeNotEqualsTo(Context c, DSpaceObject o, String type) removes ALL policies for an object that are not of the input type.voidResourcePolicyService.removeDsoAndTypeNotEqualsToPolicies(Context c, DSpaceObject o, String type) voidResourcePolicyService.removeDsoEPersonPolicies(Context context, DSpaceObject dso, EPerson ePerson) voidResourcePolicyService.removeDsoGroupPolicies(Context context, DSpaceObject dso, Group group) voidAuthorizeService.removeEPersonPolicies(Context c, DSpaceObject o, EPerson e) Removes all policies from an eperson for a particular object that belong to an EPerson.voidAuthorizeService.removeGroupPolicies(Context c, DSpaceObject o, Group g) Removes all policies from a group for a particular object that belong to a Group.voidResourcePolicyService.removePolicies(Context c, DSpaceObject o, int actionId) voidResourcePolicyService.removePolicies(Context c, DSpaceObject o, String type) voidResourcePolicyService.removePolicies(Context c, DSpaceObject o, String type, int action) voidAuthorizeService.removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID) Remove all policies from an object that match a given action.voidAuthorizeService.replaceAllPolicies(Context context, DSpaceObject source, DSpaceObject dest) Replace all the policies in the target object with exactly the same policies that exist in the source objectvoidAuthorizeService.switchPoliciesAction(Context context, DSpaceObject dso, int fromAction, int toAction) Change all the policies related to the action (fromPolicy) of the specified object to the new action (toPolicy)voidResourcePolicyService.update(Context context, List<ResourcePolicy> resourcePolicies) Persist a collection of model objects.voidResourcePolicyService.update(Context context, ResourcePolicy resourcePolicy) Persist a model object. -
Uses of AuthorizeException in org.dspace.content
Methods in org.dspace.content that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidBundleServiceImpl.addBitstream(Context context, Bundle bundle, Bitstream bitstream) voidvoidCommunityServiceImpl.addCollection(Context context, Community community, Collection collection) protected voidItemServiceImpl.addDefaultPoliciesNotInPlace(Context context, DSpaceObject dso, List<ResourcePolicy> defaultCollectionPolicies) Add the default policies, which have not been already added to the given DSpace objectvoidCollectionServiceImpl.addItem(Context context, Collection collection, Item item) voidCommunityServiceImpl.addSubcommunity(Context context, Community parentCommunity, Community childCommunity) voidItemServiceImpl.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream) voidItemServiceImpl.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream, boolean replaceReadRPWithCollectionRP) voidItemServiceImpl.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) voidItemServiceImpl.adjustItemPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.adjustItemPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) voidCollectionServiceImpl.canEdit(Context context, Collection collection) voidCollectionServiceImpl.canEdit(Context context, Collection collection, boolean useInheritance) voidBitstreamServiceImpl.create(Context context, Bundle bundle, InputStream is) ItemServiceImpl.create(Context context, WorkspaceItem workspaceItem) ItemServiceImpl.create(Context context, WorkspaceItem workspaceItem, UUID uuid) MetadataFieldServiceImpl.create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue) RelationshipServiceImpl.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue, Relationship.LatestVersionStatus latestVersionStatus) RelationshipServiceImpl.create(Context context, Relationship relationship) RelationshipTypeServiceImpl.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger) RelationshipTypeServiceImpl.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger, Boolean copyToLeft, Boolean copyToRight, RelationshipType.Tilted tilted) RelationshipTypeServiceImpl.create(Context context, RelationshipType relationshipType) WorkspaceItemServiceImpl.create(Context context, Collection collection, boolean template) WorkspaceItemServiceImpl.create(Context context, Collection collection, boolean template, boolean isNewVersion) WorkspaceItemServiceImpl.create(Context context, Collection collection, UUID uuid, boolean template, boolean isNewVersion) WorkspaceItemServiceImpl.create(Context c, WorkflowItem workflowItem) CollectionServiceImpl.createAdministrators(Context context, Collection collection) CommunityServiceImpl.createAdministrators(Context context, Community community) CollectionServiceImpl.createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead) protected ItemItemServiceImpl.createItem(Context context) protected ItemItemServiceImpl.createItem(Context context, UUID uuid) ItemServiceImpl.createSingleBitstream(Context context, InputStream is, Item item) ItemServiceImpl.createSingleBitstream(Context context, InputStream is, Item item, String name) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity, String handle) CommunityServiceImpl.createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid) CollectionServiceImpl.createSubmitters(Context context, Collection collection) voidCollectionServiceImpl.createTemplateItem(Context context, Collection collection) ItemServiceImpl.createTemplateItem(Context context, Collection collection) CollectionServiceImpl.createWorkflowGroup(Context context, Collection collection, int step) voidBitstreamFormatServiceImpl.delete(Context context, BitstreamFormat bitstreamFormat) voidvoidvoidCollectionServiceImpl.delete(Context context, Collection collection) voidvoidEntityTypeServiceImpl.delete(Context context, EntityType entityType) voidvoidMetadataFieldServiceImpl.delete(Context context, MetadataField metadataField) voidMetadataSchemaServiceImpl.delete(Context context, MetadataSchema metadataSchema) voidRelationshipServiceImpl.delete(Context context, Relationship relationship) voidRelationshipServiceImpl.delete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem) voidRelationshipTypeServiceImpl.delete(Context context, RelationshipType relationshipType) voidvoidWorkspaceItemServiceImpl.deleteAll(Context context, WorkspaceItem workspaceItem) protected voidItemServiceImpl.deleteBundle(Context context, Item item, Bundle b) voidWorkspaceItemServiceImpl.deleteWrapper(Context context, WorkspaceItem workspaceItem) voidItemServiceImpl.findArchivedByMetadataField(Context context, String metadataField, String value) ItemServiceImpl.findArchivedByMetadataField(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.ANYItemServiceImpl.findByAuthorityValue(Context context, String schema, String element, String qualifier, String value) 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.ANYItemServiceImpl.findByMetadataFieldAuthority(Context context, String mdString, String authority) protected ItemInstallItemServiceImpl.finishItem(Context c, Item item, InProgressSubmission is) Final housekeeping when adding a new Item into the archive.voidRelationshipServiceImpl.forceDelete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem) static voidLicenseUtils.grantLicense(Context context, Item item, String licenseText, String acceptanceDate) Store a copy of the license a user granted in the item.voidBundleServiceImpl.inheritCollectionDefaultPolicies(Context context, Bundle bundle, Collection collection) voidItemServiceImpl.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection) voidItemServiceImpl.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) voidEntityTypeServiceImpl.initDefaultEntityTypeNames(Context context) InstallItemServiceImpl.installItem(Context c, InProgressSubmission is) InstallItemServiceImpl.installItem(Context c, InProgressSubmission is, String suppliedHandle) voidItemServiceImpl.move(Context context, Item item, Collection from, Collection to) voidItemServiceImpl.move(Context context, Item item, Collection from, Collection to, boolean inheritDefaultPolicies) RelationshipServiceImpl.move(Context context, Relationship relationship, Integer newLeftPlace, Integer newRightPlace) RelationshipServiceImpl.move(Context context, Relationship relationship, Item newLeftItem, Item newRightItem) voidBundleServiceImpl.moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream) protected voidInstallItemServiceImpl.populateMetadata(Context c, Item item) protected voidInternal method to remove the community and all its children from the database, and perform any pre/post-cleanupprotected voidRegister a new bitstream, with a new ID.voidvoidCollectionServiceImpl.removeAdministrators(Context context, Collection collection) voidCommunityServiceImpl.removeAdministrators(Context context, Community community) voidItemServiceImpl.removeAllBundles(Context context, Item item) voidBundleServiceImpl.removeBitstream(Context context, Bundle bundle, Bitstream bitstream) voidItemServiceImpl.removeBundle(Context context, Item item, Bundle bundle) voidCommunityServiceImpl.removeCollection(Context context, Community community, Collection collection) voidItemServiceImpl.removeDSpaceLicense(Context context, Item item) voidItemServiceImpl.removeGroupPolicies(Context context, Item item, Group group) voidCollectionServiceImpl.removeItem(Context context, Collection collection, Item item) voidItemServiceImpl.removeLicenses(Context context, Item item) voidCommunityServiceImpl.removeSubcommunity(Context context, Community parentCommunity, Community childCommunity) voidCollectionServiceImpl.removeSubmitters(Context context, Collection collection) voidCollectionServiceImpl.removeTemplateItem(Context context, Collection collection) protected voidItemServiceImpl.removeVersion(Context context, Item item) voidBundleServiceImpl.replaceAllBitstreamPolicies(Context context, Bundle bundle, List<ResourcePolicy> newpolicies) voidItemServiceImpl.replaceAllBitstreamPolicies(Context context, Item item, List<ResourcePolicy> newpolicies) voidItemServiceImpl.replaceAllItemPolicies(Context context, Item item, List<ResourcePolicy> newpolicies) InstallItemServiceImpl.restoreItem(Context c, InProgressSubmission is, String suppliedHandle) CollectionServiceImpl.setLogo(Context context, Collection collection, InputStream is) CommunityServiceImpl.setLogo(Context context, Community community, InputStream is) voidvoidCollection.setWorkflowGroup(Context context, int step, Group g) voidBitstreamFormatServiceImpl.update(Context context, List<BitstreamFormat> bitstreamFormats) voidBitstreamFormatServiceImpl.update(Context context, BitstreamFormat bitstreamFormat) voidvoidvoidCollectionServiceImpl.update(Context context, Collection collection) voidvoidvoidEntityTypeServiceImpl.update(Context context, List<EntityType> entityTypes) voidEntityTypeServiceImpl.update(Context context, EntityType entityType) voidvoidMetadataFieldServiceImpl.update(Context context, MetadataField metadataField) voidMetadataSchemaServiceImpl.update(Context context, MetadataSchema metadataSchema) voidMetadataValueServiceImpl.update(Context context, MetadataValue metadataValue, boolean updateLastModified) voidRelationshipServiceImpl.update(Context context, List<Relationship> relationships) voidRelationshipServiceImpl.update(Context context, Relationship relationship) voidRelationshipTypeServiceImpl.update(Context context, List<RelationshipType> relationshipTypes) voidRelationshipTypeServiceImpl.update(Context context, RelationshipType relationshipType) voidvoidWorkspaceItemServiceImpl.update(Context context, WorkspaceItem workspaceItem) voidBundleServiceImpl.updateBitstreamOrder(Context context, Bundle bundle, int from, int to) voidRelationshipServiceImpl.updateItem(Context context, Item relatedItem) voidCollectionServiceImpl.updateLastModified(Context context, Collection collection) voidItemServiceImpl.updateLastModified(Context context, Item item) voidSiteServiceImpl.updateLastModified(Context context, Site dso) DuplicateDetectionServiceImpl.validateDuplicateResult(Context context, IndexableObject indexableObject, Item original) Validate an indexable object (returned by discovery search) to ensure it is permissible, readable and valid and can be added to a list of results.void -
Uses of AuthorizeException in org.dspace.content.crosswalk
Methods in org.dspace.content.crosswalk that throw AuthorizeExceptionModifier and TypeMethodDescriptionCrosswalkMetadataValidator.checkMetadata(Context context, String schema, String element, String qualifier, boolean forceCreate) Scans metadata for elements not defined in this DSpace instance.voidCreativeCommonsRDFStreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out) voidCreativeCommonsTextStreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out) Deprecated.voidLicenseStreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out) voidStreamDisseminationCrosswalk.disseminate(Context context, DSpaceObject dso, OutputStream out) Execute crosswalk on the given object, sending output to the stream.org.jdom2.ElementAIPDIMCrosswalk.disseminateElement(Context context, DSpaceObject dso) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementAIPTechMDCrosswalk.disseminateElement(Context context, DSpaceObject dso) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementDIMDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementMETSDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementMETSRightsCrosswalk.disseminateElement(Context context, DSpaceObject dso) Actually Disseminate into METSRights schema.org.jdom2.ElementMODSDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) Disseminate an Item, Collection, or Community to MODS.org.jdom2.ElementOREDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementParameterizedDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso, Map<String, String> parameters) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementPREMISCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementQDCCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementRoleCrosswalk.disseminateElement(Context context, DSpaceObject dso) Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom2.ElementSimpleDCDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementXHTMLHeadDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) This generates a <head> element around the metadata; in general this will probably not be usedorg.jdom2.ElementXSLTDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso) org.jdom2.ElementXSLTDisseminationCrosswalk.disseminateElement(Context context, DSpaceObject dso, Map<String, String> parameters) List<org.jdom2.Element>AIPDIMCrosswalk.disseminateList(Context context, DSpaceObject dso) Execute crosswalk, returning List of XML elements.List<org.jdom2.Element>AIPTechMDCrosswalk.disseminateList(Context context, DSpaceObject dso) Execute crosswalk, returning List of XML elements.List<org.jdom2.Element>DIMDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>DisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Execute crosswalk, returning List of XML elements.List<org.jdom2.Element>METSDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>METSRightsCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>MODSDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Returns object's metadata in MODS format, as List of XML structure nodes.List<org.jdom2.Element>OREDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>PREMISCrosswalk.disseminateList(Context context, DSpaceObject dso) List<org.jdom2.Element>QDCCrosswalk.disseminateList(Context context, DSpaceObject dso) Returns object's metadata in MODS format, as XML structure node.List<org.jdom2.Element>RoleCrosswalk.disseminateList(Context context, DSpaceObject dso) Execute crosswalk, returning List of XML elements.List<org.jdom2.Element>SimpleDCDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Returns object's metadata as XML elements.List<org.jdom2.Element>XHTMLHeadDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Return <meta> elements that can be put in the <head> element of an XHTML document.List<org.jdom2.Element>XSLTDisseminationCrosswalk.disseminateList(Context context, DSpaceObject dso) Disseminate the DSpace item, collection, or community.List<org.jdom2.Element>SimpleDCDisseminationCrosswalk.disseminateListInternal(DSpaceObject dso, boolean addSchema) voidAIPDIMCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> dimList, boolean createMissingMetadataFields) Fields correspond directly to Item.addMetadata() calls so they are simply executed.voidAIPDIMCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole document.voidAIPTechMDCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> dimList, boolean createMissingMetadataFields) Translate metadata with XSL stylesheet and ingest it.voidAIPTechMDCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole document.voidCreativeCommonsRDFStreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType) voidDIMIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) voidDIMIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) Crosswalk metadata from external XML representation to DSpace internal representations.voidIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Crosswalk metadata from external XML representation to DSpace internal representations.voidLicenseStreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType) voidMETSRightsCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> ml, boolean createMissingMetadataFields) Ingest a List of XML elementsvoidMETSRightsCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole XML document, starting at specified root.voidNullIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> ml, boolean createMissingMetadataFields) voidNullIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidNullStreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType) voidOAIDCIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) voidOAIDCIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidOREIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) voidOREIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidPREMISCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> ml, boolean createMissingMetadataFields) voidPREMISCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidQDCCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> ml, boolean createMissingMetadataFields) voidQDCCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) voidRoleCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) Ingest a List of XML elementsvoidRoleCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole XML document, starting at specified root.voidStreamIngestionCrosswalk.ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType) Execute crosswalk on the given object, taking input from the stream.voidXSLTIngestionCrosswalk.ingest(Context context, DSpaceObject dso, List<org.jdom2.Element> metadata, boolean createMissingMetadataFields) Translate metadata with XSL stylesheet and ingest it.voidXSLTIngestionCrosswalk.ingest(Context context, DSpaceObject dso, org.jdom2.Element root, boolean createMissingMetadataFields) Ingest a whole document.static voidXSLTIngestionCrosswalk.ingestDIM(Context context, DSpaceObject dso, List<org.jdom2.Element> fields, boolean createMissingMetadataFields) static voidXSLTIngestionCrosswalk.ingestDIM(Context context, DSpaceObject dso, org.jdom2.Element dim, boolean createMissingMetadataFields) Ingest a DIM metadata expression directly, without translating some other format into DIM. -
Uses of AuthorizeException in org.dspace.content.packager
Methods in org.dspace.content.packager that throw AuthorizeExceptionModifier and TypeMethodDescriptionprotected StringAbstractMETSDisseminator.addAmdSec(Context context, DSpaceObject dso, PackageParameters params, edu.harvard.hul.ois.mets.Mets mets, AbstractMETSDisseminator.MdStreamCache extraStreams) protected voidAbstractMETSIngester.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 Manifestprotected voidAbstractMETSDisseminator.addBitstreamsToZip(Context context, DSpaceObject dso, PackageParameters params, ZipOutputStream zip) Add Bitstreams associated with a given DSpace Object into an existing ZipOutputStreamprotected voidAbstractMETSIngester.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 voidPackageUtils.addDepositLicense(Context context, String license, Item item, Collection collection) Add DSpace Deposit License to an Item.abstract voidAbstractMETSIngester.addLicense(Context context, Item item, String license, Collection collection, PackageParameters params) Add license(s) to Item based on contents of METS and other policies.voidDSpaceAIPIngester.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.voidDSpaceMETSIngester.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.protected voidAbstractMETSIngester.addManifestBitstream(Context context, Item item, METSManifest manifest) Save/Preserve the METS Manifest as a Bitstream attached to the given DSpace item.abstract voidAbstractMETSDisseminator.addStructMap(Context context, DSpaceObject dso, PackageParameters params, edu.harvard.hul.ois.mets.Mets mets) Add any additionalstructMapelements to the METS document, as required by this subclass.voidDSpaceAIPDisseminator.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.voidDSpaceMETSDisseminator.addStructMap(Context context, DSpaceObject dso, PackageParameters params, edu.harvard.hul.ois.mets.Mets mets) protected voidAbstractMETSIngester.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 voidAbstractMETSDisseminator.addToAmdSec(edu.harvard.hul.ois.mets.AmdSec fAmdSec, String[] mdTypes, Class mdSecClass, Context context, DSpaceObject dso, PackageParameters params, AbstractMETSDisseminator.MdStreamCache extraStreams) static voidPackageUtils.clearAllMetadata(Context context, DSpaceObject dso) Removes all metadata associated with a DSpace object.static DSpaceObjectPackageUtils.createDSpaceObject(Context context, DSpaceObject parent, int type, String handle, UUID uuid, PackageParameters params) Create the specified DSpace Object, based on the passed in Package Parameters (along with other basic info required to create the object)voidMETSManifest.crosswalkBitstream(Context context, PackageParameters params, Bitstream bitstream, String fileId, METSManifest.Mdref callback) Crosswalk the metadata associated with a particularfileelement into the bitstream it corresponds to.voidMETSManifest.crosswalkBundle(Context context, PackageParameters params, Bundle bundle, String fileId, METSManifest.Mdref callback) voidMETSManifest.crosswalkItemDmd(Context context, PackageParameters params, DSpaceObject dso, org.jdom2.Element dmdSec, METSManifest.Mdref callback) Invokes appropriate crosswalks on Item-wide descriptive metadata.abstract voidAbstractMETSIngester.crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom2.Element[] dmds, PackageParameters params) Select thedmdSecelement(s) to apply to the Item.voidDSpaceAIPIngester.crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom2.Element[] dmds, PackageParameters params) Choose DMD section(s) to crosswalk.voidDSpaceMETSIngester.crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom2.Element[] dmds, PackageParameters params) Choose DMD section(s) to crosswalk.voidMETSManifest.crosswalkObjectOtherAdminMD(Context context, PackageParameters params, DSpaceObject dso, METSManifest.Mdref callback) Crosswalk all technical and source metadata sections that belong to the whole object.booleanMETSManifest.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.MetsElementAbstractMETSDisseminator.crosswalkToMetsElement(Context context, DisseminationCrosswalk xwalk, DSpaceObject dso, edu.harvard.hul.ois.mets.helper.MetsElement me) protected voidMETSManifest.crosswalkXmd(Context context, PackageParameters params, DSpaceObject dso, org.jdom2.Element xmd, METSManifest.Mdref callback, boolean createMissingMetadataFields) voidAbstractMETSDisseminator.disseminate(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream.voidDSpaceAIPDisseminator.disseminate(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) voidPackageDisseminator.disseminate(Context context, DSpaceObject object, PackageParameters params, File pkgFile) Export the object (Item, Collection, or Community) as a "package" on the indicated OutputStream.voidPDFPackager.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.voidRoleDisseminator.disseminate(Context context, DSpaceObject object, PackageParameters params, File pkgFile) AbstractPackageDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) Recursively export one or more DSpace Objects as a series of packages.PackageDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) Recursively export one or more DSpace Objects as a series of packages.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 disseminateRoleDisseminator.disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile) static BitstreamPackageUtils.findDepositLicense(Context context, Item item) Utility to find the license bitstream from an itemstatic BitstreamFormatPackageUtils.findOrCreateBitstreamFormat(Context context, String shortDesc, String MIMEType, String desc) Find or create a bitstream format to match the given short description.static BitstreamFormatPackageUtils.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 voidAbstractMETSIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Subclass-dependent final processing on a Bitstream; could include fixing up the name, bundle, other attributes.voidDSpaceAIPIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Nothing extra to do to bitstream after ingestion.voidDSpaceMETSIngester.finishBitstream(Context context, Bitstream bs, org.jdom2.Element mfile, METSManifest manifest, PackageParameters params) Take a second pass over files to correct names of derived files (e.g. thumbnails, extracted text) to what DSpace expects:static ItemPackageUtils.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 voidAbstractMETSIngester.finishObject(Context context, DSpaceObject dso, PackageParameters params) Hook for final "finishing" operations on the new Object.voidDSpaceAIPIngester.finishObject(Context context, DSpaceObject dso, PackageParameters params) Last change to fix up a DSpace Object.voidDSpaceMETSIngester.finishObject(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.getDigiprovMdTypes(Context context, DSpaceObject dso, PackageParameters params) 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.String[]DSpaceMETSDisseminator.getDmdTypes(Context context, DSpaceObject dso, PackageParameters params) Get DMD choice for Item.METSManifest.Mdref.getInputStream(org.jdom2.Element mdRef) Make the contents of an external resource mentioned in anmdRefelement available as anInputStream.METSManifest.getMdContentAsStream(org.jdom2.Element mdSec, METSManifest.Mdref callback) Return contents of *md element as stream.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.getRightsMdTypes(Context context, DSpaceObject dso, PackageParameters params) Add rights MD (licenses) for DSpace item.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.getSourceMdTypes(Context context, DSpaceObject dso, PackageParameters params) 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.String[]DSpaceMETSDisseminator.getTechMdTypes(Context context, DSpaceObject dso, PackageParameters params) Get name of technical metadata crosswalk for Bitstreams.AbstractMETSIngester.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) Create a new DSpace object out of a METS content package.PackageIngester.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) Create new DSpaceObject out of the ingested package.PDFPackager.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) Create new Item out of the ingested package, in the indicated collection.RoleIngester.ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) 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).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).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 ingestRoleIngester.ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license) protected DSpaceObjectAbstractMETSIngester.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 METSIngestervoidRoleIngester.ingestStream(Context context, DSpaceObject parent, PackageParameters params, InputStream stream) Ingest roles from an InputStream.protected voidAbstractMETSDisseminator.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.MetsAbstractMETSDisseminator.makeManifest(Context context, DSpaceObject dso, PackageParameters params, AbstractMETSDisseminator.MdStreamCache extraStreams) Write out a METS manifest.protected edu.harvard.hul.ois.mets.helper.MdSecAbstractMETSDisseminator.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.dmdSec, techMd, sourceMd, etc.protected METSManifestAbstractMETSIngester.parsePackage(Context context, File pkgFile, PackageParameters params) Parse a given input package, ultimately returning the METS manifest out of the package.static voidPackageUtils.removeAllBitstreams(Context context, DSpaceObject dso) Remove all bitstreams (files) associated with a DSpace object.protected voidAbstractMETSIngester.removeObject(Context context, DSpaceObject dso) Remove an existing DSpace Object (called during a replace)AbstractMETSIngester.replace(Context context, DSpaceObject dsoToReplace, File pkgFile, PackageParameters params) Replace an existing DSpace object with the contents of a METS-based package.PackageIngester.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params) Replace an existing DSpace Object with contents of the ingested package.PDFPackager.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params) Replace is not implemented.RoleIngester.replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params) 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).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).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 ingestRoleIngester.replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params) protected DSpaceObjectAbstractMETSIngester.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 voidPackageUtils.updateDSpaceObject(Context context, DSpaceObject dso) Commit all recent changes to DSpaceObject.protected voidAbstractMETSDisseminator.writeZipPackage(Context context, DSpaceObject dso, PackageParameters params, OutputStream pkg) Make a Zipped up METS package for the given DSpace Object -
Uses of AuthorizeException in org.dspace.content.service
Methods in org.dspace.content.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidBundleService.addBitstream(Context context, Bundle bundle, Bitstream bitstream) Add an existing bitstream to this bundlevoidAdd an existing bundle to this item.voidCommunityService.addCollection(Context context, Community community, Collection collection) Add an existing collection to the communityvoidCollectionService.addItem(Context context, Collection collection, Item item) Add an item to the collection.voidCommunityService.addSubcommunity(Context context, Community parentCommunity, Community childCommunity) Add an existing community as a subcommunity to the communityvoidItemService.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream) Adjust the Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBitstreamPolicies(Context context, Item item, Collection collection, Bitstream bitstream, boolean replaceReadRPWithCollectionRP) Adjust the Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection) Adjust the Bundle and Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustBundleBitstreamPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) Adjust the Bundle and Bitstream policies to reflect what have been defined during the submission/workflow.voidItemService.adjustItemPolicies(Context context, Item item, Collection collection) Adjust the Item's policies to reflect what have been defined during the submission/workflow.voidItemService.adjustItemPolicies(Context context, Item item, Collection collection, boolean replaceReadRPWithCollectionRP) Adjust the Item's policies to reflect what have been defined during the submission/workflow.voidCollectionService.canEdit(Context context, Collection collection) voidCollectionService.canEdit(Context context, Collection collection, boolean useInheritance) voidClone the given bitstream by firstly creating a new bitstream, with a new ID.BitstreamService.create(Context context, Bundle bundle, InputStream is) Create a new bitstream, with a new ID.Create a new bundle, with a new ID and link it to the provided itemCreate a new collection with a new ID.Create a new collection with the supplied handle and with a new ID.Create a new collection with the supplied handle and ID.Create a new top-level community, with a new ID.Create a new top-level community, with a new ID.Create a new top-level community, with a new ID.This method creates an EntityType object in the database with the given entityTypeString as it's labelItemService.create(Context context, WorkspaceItem workspaceItem) Create a new item, with a new internal ID.ItemService.create(Context context, WorkspaceItem workspaceItem, UUID uuid) Create a new item, with a provided ID.MetadataFieldService.create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote) Creates a new metadata field.Creates a new metadata schema in the database, using the name and namespace.RelationshipService.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace) This method is used to construct a Relationship object with all it's variables, except the leftward label, rightward label and latest version statusRelationshipService.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue) This method is used to construct a Relationship object with all it's variables, except the latest version statusRelationshipService.create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue, Relationship.LatestVersionStatus latestVersionStatus) This method is used to construct a Relationship object with all it's variablesRelationshipService.create(Context context, Relationship relationship) This method creates a relationship object in the database equal to the given relationship param if this is a valid relationshipRelationshipTypeService.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger) This method will support the creation of a RelationshipType object with the given parametersRelationshipTypeService.create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger, Boolean copyToLeft, Boolean copyToRight, RelationshipType.Tilted tilted) This method will support the creation of a RelationshipType object with the given parametersRelationshipTypeService.create(Context context, RelationshipType relationshipType) This method creates the given RelationshipType object in the database and returns itWorkspaceItemService.create(Context context, Collection collection, boolean template) Create a new workspace item, with a new ID.WorkspaceItemService.create(Context context, Collection collection, boolean template, boolean isNewVersion) Create a new workspace item, with a new ID.WorkspaceItemService.create(Context context, Collection collection, UUID uuid, boolean template, boolean isNewVersion) Create a new workspace item, with a new ID.WorkspaceItemService.create(Context c, WorkflowItem wfi) CollectionService.createAdministrators(Context context, Collection collection) Create a default administrators group if one does not already exist.CommunityService.createAdministrators(Context context, Community community) Create a default administrators group if one does not already exist.CollectionService.createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead) This method will create a default read group for the given Collection.ItemService.createSingleBitstream(Context context, InputStream is, Item item) Convenience method, calls createSingleBitstream() with name "ORIGINAL"ItemService.createSingleBitstream(Context context, InputStream is, Item item, String name) Create a single bitstream in a new bundle.CommunityService.createSubcommunity(Context context, Community parentCommunity) Create a new sub-community within this community.CommunityService.createSubcommunity(Context context, Community parentCommunity, String handle) Create a new sub-community within this community.CommunityService.createSubcommunity(Context context, Community parentCommunity, String handle, UUID uuid) Create a new sub-community within this community.CollectionService.createSubmitters(Context context, Collection collection) Create a default submitters group if one does not already exist.voidCollectionService.createTemplateItem(Context context, Collection collection) Create an empty template item for this collection.ItemService.createTemplateItem(Context context, Collection collection) Create an empty template item for this collection.CollectionService.createWorkflowGroup(Context context, Collection collection, int step) Create a workflow group for the given step if one does not already exist.voidvoidMetadataFieldService.delete(Context context, MetadataField metadataField) Delete the metadata field.voidMetadataSchemaService.delete(Context context, MetadataSchema metadataSchema) Delete the metadata schema.voidRelationshipService.delete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem) This method is used to delete a Relationship whilst given the possibility to copy the Virtual Metadata created by this relationship to the left and/or right itemvoidWorkspaceItemService.deleteAll(Context context, WorkspaceItem workspaceItem) Delete the workspace item.voidInProgressSubmissionService.deleteWrapper(Context context, T inProgressSubmission) Deletes submission wrapper, doesn't delete item contentsvoidRemove a bitstream that has been set to "deleted" from the databaseItemService.findArchivedByMetadataField(Context context, String metadataField, String value) Returns an iterator of in archive items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANYItemService.findArchivedByMetadataField(Context context, String schema, String element, String qualifier, String value) Returns an iterator of in archive items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANYItemService.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.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.ANYItemService.findByMetadataFieldAuthority(Context context, String mdString, String authority) voidRelationshipService.forceDelete(Context context, Relationship relationship, boolean copyToLeftItem, boolean copyToRightItem) This method is used to delete a Relationship whilst given the possibility to copy the Virtual Metadata created by this relationship to the left and/or right item.voidBundleService.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.voidItemService.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.voidItemService.inheritCollectionDefaultPolicies(Context context, Item item, Collection collection, boolean overrideItemReadPolicies) Remove all submission and workflow policies on an item and its contents, and add default collection policies which are not yet already in place.voidEntityTypeService.initDefaultEntityTypeNames(Context context) Initializes the EntityType names, and marks them "permanent".InstallItemService.installItem(Context context, InProgressSubmission is) Take an InProgressSubmission and turn it into a fully-archived Item, creating a new Handle.InstallItemService.installItem(Context c, InProgressSubmission is, String suppliedHandle) Take an InProgressSubmission and turn it into a fully-archived Item.voidItemService.move(Context context, Item item, Collection from, Collection to) Moves the item from one collection to another onevoidItemService.move(Context context, Item item, Collection from, Collection to, boolean inheritDefaultPolicies) Moves the item from one collection to another oneRelationshipService.move(Context context, Relationship relationship, Integer newLeftPlace, Integer newRightPlace) Move the given relationship to a new leftPlace and/or rightPlace.RelationshipService.move(Context context, Relationship relationship, Item newLeftItem, Item newRightItem) Move the given relationship to a new leftItem and/or rightItem.voidBundleService.moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream) Moves a bitstream from its current bundle to a new target bundleRegister a new bitstream, with a new ID.Register a new bitstream, with a new ID.voidReinstate a withdrawn itemvoidCollectionService.removeAdministrators(Context context, Collection collection) Remove the administrators group, if no group has already been created then return without error.voidCommunityService.removeAdministrators(Context context, Community community) Remove the administrators group, if no group has already been created then return without error.voidItemService.removeAllBundles(Context context, Item item) Remove all bundles linked to this item.voidBundleService.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 itvoidItemService.removeBundle(Context context, Item item, Bundle bundle) Remove a bundle.voidCommunityService.removeCollection(Context context, Community community, Collection c) Remove a collection.voidItemService.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)voidItemService.removeGroupPolicies(Context context, Item item, Group group) remove all of the policies for item's bitstreams and bundles that belong to a given GroupvoidCollectionService.removeItem(Context context, Collection collection, Item item) Remove an item.voidItemService.removeLicenses(Context context, Item item) Remove all licenses from an item - it was rejectedvoidCommunityService.removeSubcommunity(Context context, Community parentCommunity, Community childCommunity) Remove a subcommunity.voidCollectionService.removeSubmitters(Context context, Collection collection) Remove the submitters group, if no group has already been created then return without error.voidCollectionService.removeTemplateItem(Context context, Collection collection) Remove the template item for this collection, if there is one.voidBundleService.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 policiesvoidItemService.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 policiesvoidItemService.replaceAllItemPolicies(Context context, Item item, List<ResourcePolicy> newpolicies) remove all of the policies for item and replace them with a new list of policiesInstallItemService.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.Retrieve the contents of the bitstreamCollectionService.setLogo(Context context, Collection collection, InputStream is) Give the collection a logo.CommunityService.setLogo(Context context, Community community, InputStream is) Give the community a logo.voidChanges bitstream order according to the arrayvoidCollectionService.setWorkflowGroup(Context context, Collection collection, int step, Group group) Set the workflow group corresponding to a particular workflow step.voidvoidUpdate the submission, including the unarchived item.voidMetadataFieldService.update(Context context, MetadataField metadataField) Update the metadata field in the database.voidMetadataSchemaService.update(Context context, MetadataSchema metadataSchema) Update the metadata schema in the database.voidMetadataValueService.update(Context context, MetadataValue metadataValue, boolean modifyParentObject) voidBundleService.updateBitstreamOrder(Context context, Bundle bundle, int from, int to) Moves a bitstream within a bundle from one place to another, shifting all other bitstreams in the processvoidRelationshipService.updateItem(Context context, Item relatedItem) This method will update the given item's metadata order.voidDSpaceObjectService.updateLastModified(Context context, T dso) DuplicateDetectionService.validateDuplicateResult(Context context, IndexableObject indexableObject, Item original) Validate an indexable object (returned by discovery search) to ensure it is permissible, readable and valid and can be added to a list of results.voidWithdraw the item from the archive. -
Uses of AuthorizeException in org.dspace.correctiontype
Methods in org.dspace.correctiontype that throw AuthorizeExceptionModifier and TypeMethodDescriptionbooleanChecks whether target item is allowed for current CorrectionTypebooleanChecks whether target item and related item are allowed for current CorrectionTypebooleanboolean -
Uses of AuthorizeException in org.dspace.correctiontype.service
Methods in org.dspace.correctiontype.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionCorrectionTypeService.findByItem(Context context, Item item) Retrieves a list of CorrectionType objects related to the provided Item. -
Uses of AuthorizeException in org.dspace.correctiontype.service.impl
Methods in org.dspace.correctiontype.service.impl that throw AuthorizeExceptionModifier and TypeMethodDescriptionCorrectionTypeServiceImpl.findByItem(Context context, Item item) -
Uses of AuthorizeException in org.dspace.ctask.general
Methods in org.dspace.ctask.general that throw AuthorizeExceptionModifier and TypeMethodDescriptionprotected voidCitationPage.addCitedPageToItem(InputStream citedDoc, Bundle bundle, Bundle pBundle, Bundle dBundle, Item item, Bitstream bitstream) A helper function forCitationPage.performItem(Item). -
Uses of AuthorizeException in org.dspace.curate
Methods in org.dspace.curate that throw AuthorizeExceptionModifier and TypeMethodDescriptionbooleanbooleanXmlWorkflowCuratorServiceImpl.curate(Curator curator, Context c, XmlWorkflowItem wfi) booleanXmlWorkflowCuratorServiceImpl.doCuration(Context c, XmlWorkflowItem wfi) protected voidXmlWorkflowCuratorServiceImpl.notifyContacts(Context c, XmlWorkflowItem wfi, Task task, String status, String action, String message) Send email to people who should be notified when curation tasks are run.XmlWorkflowCuratorServiceImpl.resolveContacts(Context c, List<String> contacts, XmlWorkflowItem wfi) Develop a list of EPerson from a list of perhaps symbolic "contact" names. -
Uses of AuthorizeException in org.dspace.curate.service
Methods in org.dspace.curate.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionbooleanDetermines and executes curation of a Workflow item by ID.booleanXmlWorkflowCuratorService.curate(Curator curator, Context c, XmlWorkflowItem wfi) Determines and executes curation of a Workflow item.booleanXmlWorkflowCuratorService.doCuration(Context c, XmlWorkflowItem wfi) Determines and executes curation on a Workflow item. -
Uses of AuthorizeException in org.dspace.disseminate.service
Methods in org.dspace.disseminate.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair<byte[],Long> CitationDocumentService.makeCitedDocument(Context context, Bitstream bitstream) Creates a cited document from the given bitstream of the given item. -
Uses of AuthorizeException in org.dspace.embargo
Methods in org.dspace.embargo that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidDefaultEmbargoSetter.checkEmbargo(Context context, Item item) Check that embargo is properly set on Item: no read access to bitstreams.voidEmbargoServiceImpl.checkEmbargo(Context context, Item item) voidEmbargoSetter.checkEmbargo(Context context, Item item) Check that embargo is properly set on Item.EmbargoServiceImpl.findItemsByLiftMetadata(Context context) protected voidDefaultEmbargoSetter.generatePolicies(Context context, LocalDate embargoDate, String reason, DSpaceObject dso, Collection owningCollection) EmbargoServiceImpl.getEmbargoTermsAsDate(Context context, Item item) voidDefaultEmbargoLifter.liftEmbargo(Context context, Item item) Enforce lifting of embargo by turning read access to bitstreams in this Item back on.voidEmbargoLifter.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.voidEmbargoServiceImpl.liftEmbargo(Context context, Item item) DayTableEmbargoSetter.parseTerms(Context context, Item item, String terms) Parse the terms into a definite date.DefaultEmbargoSetter.parseTerms(Context context, Item item, String terms) Parse the terms into a definite date.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.voidDefaultEmbargoSetter.setEmbargo(Context context, Item item) Enforce embargo by turning off all read access to bitstreams in this Item.voidEmbargoServiceImpl.setEmbargo(Context context, Item item) voidEmbargoSetter.setEmbargo(Context context, Item item) Enforce embargo by (for example) turning off all read access to bitstreams in this Item. -
Uses of AuthorizeException in org.dspace.embargo.service
Methods in org.dspace.embargo.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidEmbargoService.checkEmbargo(Context context, Item item) EmbargoService.findItemsByLiftMetadata(Context context) EmbargoService.getEmbargoTermsAsDate(Context context, Item item) Get the embargo lift date for an Item, if any.voidEmbargoService.liftEmbargo(Context context, Item item) Lift the embargo on an item which is assumed to be under embargo.voidEmbargoService.setEmbargo(Context context, Item item) Put an Item under embargo until the specified lift date. -
Uses of AuthorizeException in org.dspace.eperson
Methods in org.dspace.eperson that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidRegistrationDataServiceImpl.addMetadata(Context context, RegistrationData registration, String schema, String element, String qualifier, String value) voidRegistrationDataServiceImpl.addMetadata(Context context, RegistrationData registration, MetadataField mf, String value) RegistrationDataServiceImpl.clone(Context context, RegistrationDataPatch registrationDataPatch) RegistrationDataServiceImpl.create(Context context, String netId, RegistrationTypeEnum type) voidvoidDeletes an EPerson.voidRegistrationDataMetadataServiceImpl.delete(Context context, RegistrationDataMetadata registrationDataMetadata) voidRegistrationDataServiceImpl.delete(Context context, RegistrationData registrationData) booleanAccountServiceImpl.existsAccountFor(Context context, String token) Checks if exists an account related to the token providedAccountServiceImpl.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.voidGroupServiceImpl.initDefaultGroupNames(Context context) static voidTool for manipulating user accounts.static voidAccountServiceImpl.mergeRegistration(Context context, UUID personId, String token, List<String> overrides) AccountServiceImpl.renewRegistrationForEmail(Context context, RegistrationDataPatch registrationDataPatch) voidAccountServiceImpl.sendForgotPasswordInfo(Context context, String email) Email forgot password info to the given email address.protected RegistrationDataAccountServiceImpl.sendInfo(Context context, String email, RegistrationTypeEnum type, boolean send) THIS IS AN INTERNAL METHOD.voidAccountServiceImpl.sendRegistrationInfo(Context context, String email) Email registration info to the given email address.voidRegistrationDataServiceImpl.setRegistrationMetadataValue(Context context, RegistrationData registration, String schema, String element, String qualifier, String value) SubscribeServiceImpl.subscribe(Context context, EPerson eperson, DSpaceObject dSpaceObject, List<SubscriptionParameter> subscriptionParameterList, String type) voidSubscribeServiceImpl.unsubscribe(Context context, EPerson eperson, DSpaceObject dSpaceObject) voidvoidUpdate the group - writing out group object and EPerson list if necessaryvoidRegistrationDataMetadataServiceImpl.update(Context context, List<RegistrationDataMetadata> t) voidRegistrationDataMetadataServiceImpl.update(Context context, RegistrationDataMetadata registrationDataMetadata) voidRegistrationDataServiceImpl.update(Context context, List<RegistrationData> registrationDataRecords) voidRegistrationDataServiceImpl.update(Context context, RegistrationData registrationData) -
Uses of AuthorizeException in org.dspace.eperson.service
Methods in org.dspace.eperson.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidRegistrationDataService.addMetadata(Context context, RegistrationData registration, String schema, String element, String qualifier, String value) voidRegistrationDataService.addMetadata(Context context, RegistrationData rd, MetadataField metadataField, String value) RegistrationDataService.clone(Context context, RegistrationDataPatch registrationDataPatch) Create a new epersonCreate a new groupRegistrationDataService.create(Context context, String netId, RegistrationTypeEnum type) booleanAccountService.existsAccountFor(Context context, String token) Checks if exists an account related to the token providedAccountService.getEPerson(Context context, String token) voidGroupService.initDefaultGroupNames(Context context) Initializes the group names for anonymous and administrator, and marks them "permanent".voidRegistrationDataService.markAsExpired(Context context, RegistrationData registrationData) AccountService.mergeRegistration(Context context, UUID userId, String token, List<String> overrides) Merge registration data with an existing EPerson or create a new one.AccountService.renewRegistrationForEmail(Context context, RegistrationDataPatch registrationDataPatch) This method creates a fresh newRegistrationDatabased on theRegistrationDataPatchrequested by a given user.voidAccountService.sendForgotPasswordInfo(Context context, String email) voidAccountService.sendRegistrationInfo(Context context, String email) voidRegistrationDataService.setRegistrationMetadataValue(Context context, RegistrationData registration, String schema, String element, String qualifier, String value) SubscribeService.subscribe(Context context, EPerson eperson, DSpaceObject dSpaceObject, List<SubscriptionParameter> subscriptionParameters, String subscriptionType) Subscribe an EPerson to a dSpaceObject (Collection or Community).voidSubscribeService.unsubscribe(Context context, EPerson eperson, DSpaceObject dSpaceObject) Unsubscribe an e-person to a collection. -
Uses of AuthorizeException in org.dspace.external.service
Methods in org.dspace.external.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionExternalDataService.createWorkspaceItemFromExternalDataObject(Context context, ExternalDataObject externalDataObject, Collection collection) This method will create a WorkspaceItem in the given Collection based on the given ExternalDataObject. -
Uses of AuthorizeException in org.dspace.external.service.impl
Methods in org.dspace.external.service.impl that throw AuthorizeExceptionModifier and TypeMethodDescriptionExternalDataServiceImpl.createWorkspaceItemFromExternalDataObject(Context context, ExternalDataObject externalDataObject, Collection collection) -
Uses of AuthorizeException in org.dspace.harvest
Methods in org.dspace.harvest that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidHarvestScheduler.addThread(Context context, HarvestedCollection harvestedCollection) Adds a thread to the ready stack.voidHarvestSchedulingServiceImpl.pauseScheduler()protected voidOAIHarvester.processRecord(org.jdom2.Element record, String OREPrefix, long currentRecord, long totalListSize) Process an individual PMH record, making (or updating) a corresponding DSpace Item.voidHarvestSchedulingServiceImpl.resetScheduler()voidHarvestSchedulingServiceImpl.resumeScheduler()voidOAIHarvester.runHarvest()Performs a harvest cycle on this collection.voidHarvestSchedulingServiceImpl.startNewScheduler()voidHarvestSchedulingServiceImpl.stopScheduler()Constructors in org.dspace.harvest that throw AuthorizeException -
Uses of AuthorizeException in org.dspace.harvest.service
Methods in org.dspace.harvest.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidHarvestSchedulingService.pauseScheduler()Pause an active harvest scheduler.voidHarvestSchedulingService.resetScheduler()voidHarvestSchedulingService.resumeScheduler()Resume a paused harvest scheduler.voidHarvestSchedulingService.startNewScheduler()Start harvest scheduler.voidHarvestSchedulingService.stopScheduler()Stop an active harvest scheduler. -
Uses of AuthorizeException in org.dspace.identifier
Methods in org.dspace.identifier that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidIdentifierServiceImpl.delete(Context context, DSpaceObject dso) voidIdentifierServiceImpl.delete(Context context, DSpaceObject dso, String identifier) protected StringVersionedDOIIdentifierProvider.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history) protected StringVersionedDOIIdentifierProvider.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history, Filter filter) protected StringVersionedHandleIdentifierProvider.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history) protected StringVersionedHandleIdentifierProviderWithCanonicalHandles.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history) protected voidVersionedHandleIdentifierProviderWithCanonicalHandles.modifyHandleMetadata(Context context, DSpaceObject dso, String handle) Remove all handles from an item's metadata and add the supplied handle instead.protected voidHandleIdentifierProvider.populateHandleMetadata(Context context, DSpaceObject dso, String handle) protected voidVersionedHandleIdentifierProvider.populateHandleMetadata(Context context, DSpaceObject dso, String handle) voidIdentifierServiceImpl.register(Context context, DSpaceObject dso) voidIdentifierServiceImpl.register(Context context, DSpaceObject dso, Class<? extends Identifier> type) voidIdentifierServiceImpl.register(Context context, DSpaceObject dso, Class<? extends Identifier> type, Filter filter) voidIdentifierServiceImpl.register(Context context, DSpaceObject object, String identifier) voidIdentifierServiceImpl.register(Context context, DSpaceObject dso, Map<Class<? extends Identifier>, Filter> typeFilters) protected voidDOIIdentifierProvider.removeDOIFromObject(Context context, DSpaceObject dso, String doi) Removes a DOI out of the metadata of a DSpaceObject.voidIdentifierServiceImpl.reserve(Context context, DSpaceObject dso) Reserves identifiers for the itemvoidIdentifierServiceImpl.reserve(Context context, DSpaceObject dso, String identifier) protected voidVersionedHandleIdentifierProviderWithCanonicalHandles.restoreItAsCanonical(Context context, DSpaceObject dso, String identifier, Item item, String canonical) protected voidVersionedHandleIdentifierProvider.restoreItAsVersion(Context context, Item item, String identifier, int versionNumber) protected voidVersionedHandleIdentifierProviderWithCanonicalHandles.restoreItAsVersion(Context context, DSpaceObject dso, String identifier, Item item, String canonical, VersionHistory history) protected voidDOIIdentifierProvider.saveDOIToObject(Context context, DSpaceObject dso, String doi) Adds a DOI to the metadata of an item. -
Uses of AuthorizeException in org.dspace.identifier.service
Methods in org.dspace.identifier.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidIdentifierService.delete(Context context, DSpaceObject dso) Delete (Unbind) all identifiers registered for a specific DSpace item.voidIdentifierService.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.voidIdentifierService.register(Context context, DSpaceObject dso) Used to register newly-minted identifiers.voidIdentifierService.register(Context context, DSpaceObject dso, Class<? extends Identifier> type) Register identifier(s) for the given DSO just with providers that support that Identifier class, and apply the given filter if that provider extends FilteredIdentifierProvidervoidIdentifierService.register(Context context, DSpaceObject dso, Class<? extends Identifier> type, Filter filter) Register identifier(s) for the given DSO just with providers that support that Identifier class, and apply the given filter if that provider extends FilteredIdentifierProvidervoidIdentifierService.register(Context context, DSpaceObject dso, String identifier) Used to Register a specific Identifier (for example a Handle, hdl:1234.5/6).voidIdentifierService.register(Context context, DSpaceObject dso, Map<Class<? extends Identifier>, Filter> typeFilters) Register identifiers for a DSO, with a map of logical filters for each Identifier class to apply at the time of local registration.voidIdentifierService.reserve(Context context, DSpaceObject dso) Reserves any identifiers necessary based on the capabilities of all providers in the service.voidIdentifierService.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. -
Uses of AuthorizeException in org.dspace.license
Methods in org.dspace.license that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidCreativeCommonsServiceImpl.addLicense(Context context, Item item, String licenseUri, String licenseName, org.jdom2.Document doc) Add a new license to the itemstatic byte[]Fast stream copy routineprotected BitstreamCreativeCommonsServiceImpl.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 nameprotected byte[]CreativeCommonsServiceImpl.getBytesFromBitstream(Context context, Item item, String bitstream_name) protected BundleCreativeCommonsServiceImpl.getCcBundle(Context context, Item item) CreativeCommonsServiceImpl.getLicenseRdfBitstream(Item item) CreativeCommonsServiceImpl.getLicenseTextBitstream(Item item) Deprecated.CreativeCommonsServiceImpl.getLicenseURL(Context context, Item item) protected StringCreativeCommonsServiceImpl.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 Note: This helper method assumes that the CC bitstreams are short and easily expressed as byte arrays in RAMprotected static voidLicenseCleanup.handleItem(Context context, Item item) Process Item, correcting CC-License if encountered.static voidvoidCreativeCommonsServiceImpl.removeLicense(Context context, Item item) Remove license information, delete also the bitstreamvoidCreativeCommonsServiceImpl.removeLicenseFile(Context context, Item item) Removes the license file from the itemprotected voidCreativeCommonsServiceImpl.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 Note: This helper method assumes that the CC bitstreams are short and easily expressed as byte arrays in RAMvoidCreativeCommonsServiceImpl.setLicense(Context context, Item item, InputStream licenseStm, String mimeType) voidCreativeCommonsServiceImpl.setLicenseRDF(Context context, Item item, String licenseRdf) booleanCreativeCommonsServiceImpl.updateLicense(Context context, String licenseUri, Item item) Update the license of the item with a new one based on the provided license URI -
Uses of AuthorizeException in org.dspace.license.service
Methods in org.dspace.license.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidCreativeCommonsService.addLicense(Context context, Item item, String licenseUri, String licenseName, org.jdom2.Document doc) Add a new license to the itemCreativeCommonsService.getLicenseRdfBitstream(Item item) Get Creative Commons license RDF, returning Bitstream object.CreativeCommonsService.getLicenseTextBitstream(Item item) Deprecated.the bitstream with the license in the textual format it is no longer stored (see https://jira.duraspace.org/browse/DS-2604)CreativeCommonsService.getLicenseURL(Context context, Item item) voidCreativeCommonsService.removeLicense(Context context, Item item) Remove license information, delete also the bitstreamvoidCreativeCommonsService.removeLicenseFile(Context context, Item item) Removes the license file from the itemvoidCreativeCommonsService.setLicense(Context context, Item item, InputStream licenseStm, String mimeType) Used by DSpaceMetsIngestervoidCreativeCommonsService.setLicenseRDF(Context context, Item item, String licenseRdf) setLicenseRDF CC Web Service method for setting the RDF bitstreambooleanCreativeCommonsService.updateLicense(Context context, String licenseUri, Item item) Update the license of the item with a new one based on the provided license URI -
Uses of AuthorizeException in org.dspace.profile
Methods in org.dspace.profile that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidResearcherProfileServiceImpl.changeVisibility(Context context, ResearcherProfile profile, boolean visible) ResearcherProfileServiceImpl.createAndReturn(Context context, EPerson ePerson) voidResearcherProfileServiceImpl.deleteById(Context context, UUID id) -
Uses of AuthorizeException in org.dspace.profile.service
Methods in org.dspace.profile.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidResearcherProfileService.changeVisibility(Context context, ResearcherProfile profile, boolean visible) Changes the visibility of the given profile using the given new visible value.Claims and links an eperson to an existing DSpaceObjectResearcherProfileService.createAndReturn(Context context, EPerson ePerson) Create a new researcher profile for the given ePerson.voidResearcherProfileService.deleteById(Context context, UUID id) Delete the profile with the given id.Find the ResearcherProfile by UUID. -
Uses of AuthorizeException in org.dspace.rdf
Methods in org.dspace.rdf that throw AuthorizeExceptionModifier and TypeMethodDescriptionstatic org.apache.jena.rdf.model.ModelRDFUtil.convert(Context context, DSpaceObject dso) Converts the the provided DSpaceObject into RDF and returns the model.static org.apache.jena.rdf.model.ModelRDFUtil.convertAndStore(Context context, DSpaceObject dso) Converts a DSpaceObject into RDF data and stores them using the configuredRDFStorage.static voidRDFUtil.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. -
Uses of AuthorizeException in org.dspace.rdf.conversion
Methods in org.dspace.rdf.conversion that throw AuthorizeExceptionModifier and TypeMethodDescriptionorg.apache.jena.rdf.model.ModelConverterPlugin.convert(Context context, DSpaceObject dso) Convert the specified DSpaceObject or a part of it into RDF.org.apache.jena.rdf.model.ModelMetadataConverterPlugin.convert(Context context, DSpaceObject dso) org.apache.jena.rdf.model.ModelRDFConverter.convert(Context context, DSpaceObject dso) org.apache.jena.rdf.model.ModelRDFConverterImpl.convert(Context context, DSpaceObject dso) -
Uses of AuthorizeException in org.dspace.scripts
Methods in org.dspace.scripts that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidProcessServiceImpl.appendFile(Context context, Process process, InputStream is, String type, String fileName) voidProcessServiceImpl.createLogBitstream(Context context, Process process) voidvoidProcessServiceImpl.failRunningProcesses(Context context) -
Uses of AuthorizeException in org.dspace.scripts.handler
Methods in org.dspace.scripts.handler that throw AuthorizeExceptionModifier and TypeMethodDescriptionDSpaceRunnableHandler.getFileStream(Context context, String fileName) This method will grab the InputStream for the file defined by the given file name.voidDSpaceRunnableHandler.writeFilestream(Context context, String fileName, InputStream inputStream, String type) This method will write the InputStream to either a file on the filesystem or a bitstream in the database depending on whether it's coming from a CommandLine call or REST call respectively -
Uses of AuthorizeException in org.dspace.scripts.service
Methods in org.dspace.scripts.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidProcessService.appendFile(Context context, Process process, InputStream is, String type, String fileName) The method will create a bitstream from the given inputstream with the given type as metadata and given name as name and attach it to the given processvoidProcessService.createLogBitstream(Context context, Process process) voidThis method will delete the given Process object from the databasevoidProcessService.failRunningProcesses(Context context) Cleans up running processes by failing them an attaching their logs to the process objects. -
Uses of AuthorizeException in org.dspace.service
Methods in org.dspace.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidvoidPersist a collection of model objects.voidPersist a model object. -
Uses of AuthorizeException in org.dspace.storage.bitstore
Methods in org.dspace.storage.bitstore that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidBitstreamStorageServiceImpl.cleanup(boolean deleteDbRecords, boolean verbose) voidBitstreamStorageServiceImpl.migrate(Context context, Integer assetstoreSource, Integer assetstoreDestination, boolean deleteOld, Integer batchCommitSize) Migrates all assets off of one assetstore to anotherBitstreamStorageServiceImpl.register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath) Register a bitstream already in storage. -
Uses of AuthorizeException in org.dspace.storage.bitstore.service
Methods in org.dspace.storage.bitstore.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidBitstreamStorageService.cleanup(boolean deleteDbRecords, boolean verbose) Clean up the bitstream storage area.Clone the given bitstream to a new bitstream with a new ID.voidBitstreamStorageService.migrate(Context context, Integer assetstoreSource, Integer assetstoreDestination, boolean deleteOld, Integer batchCommitSize) Migrate all the assets from assetstoreSource to assetstoreDestinationBitstreamStorageService.register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath) Register a bitstream already in storage. -
Uses of AuthorizeException in org.dspace.submit.model
Methods in org.dspace.submit.model that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidAccessConditionOption.createResourcePolicy(Context context, DSpaceObject obj, String name, String description, LocalDate startDate, LocalDate endDate) Create a new resource policy for a DSpaceObjectvoidAccessConditionOption.updateResourcePolicy(Context context, ResourcePolicy resourcePolicy) Validate ResourcePolicy and after update it -
Uses of AuthorizeException in org.dspace.supervision
Methods in org.dspace.supervision that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidSupervisionOrderServiceImpl.delete(Context context, SupervisionOrder supervisionOrder) voidSupervisionOrderServiceImpl.update(Context context, List<SupervisionOrder> supervisionOrders) voidSupervisionOrderServiceImpl.update(Context context, SupervisionOrder supervisionOrder) -
Uses of AuthorizeException in org.dspace.versioning
Methods in org.dspace.versioning that throw AuthorizeExceptionModifier and TypeMethodDescriptionprotected voidDefaultItemVersionProvider.copyRelationships(Context context, Item newItem, Item oldItem) Copy all relationships of the old item to the new item.protected voidAbstractVersionProvider.createBundlesAndAddBitstreams(Context c, Item itemNew, Item nativeItem) voidVersionHistoryServiceImpl.delete(Context context, VersionHistory versionHistory) voidVersionHistoryServiceImpl.update(Context context, List<VersionHistory> versionHistories) voidVersionHistoryServiceImpl.update(Context context, VersionHistory versionHistory) -
Uses of AuthorizeException in org.dspace.workflow
Methods in org.dspace.workflow that throw AuthorizeExceptionModifier and TypeMethodDescriptionabort() 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 PersonalWorkspaceWorkflowItemService.create(Context context, Item item, Collection collection) Wrap an Item in a WorkflowItem to place it in a Collection's workflow.WorkflowService.createWorkflowRoleGroup(Context context, Collection collection, String roleName) This method will create the workflowRoleGroup for a collection and the given rolenamevoidDelete the specified workflow item.voidWorkflowItemService.deleteByCollection(Context context, Collection collection) Delete all workflow items present in the specified collection.voidWorkflowService.deleteCollection(Context context, Collection collection) voidWorkflowService.deleteWorkflowByWorkflowItem(Context c, T wi, EPerson e) Deletes workflow task item in correct order.WorkflowService.getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup) voidWorkflowService.restartWorkflow(Context context, XmlWorkflowItem wi, EPerson decliner, String provenance) WorkflowService.sendWorkflowItemBackSubmission(Context c, T workflowItem, EPerson e, String provenance, String rejection_message) WorkflowService.start(Context context, WorkspaceItem wsi) Move an Item from a submitter's workspace into a collection's workflow - in a single transaction do away with the WorkspaceItem and turn it into a WorkflowItem.WorkflowService.startWithoutNotify(Context c, WorkspaceItem wsi) Start the workflow normally, but disable notifications for the first workflow step. -
Uses of AuthorizeException in org.dspace.xmlworkflow
Methods in org.dspace.xmlworkflow that throw AuthorizeExceptionModifier and TypeMethodDescriptionXmlWorkflowServiceImpl.abort(Context c, XmlWorkflowItem wi, EPerson e) protected voidXmlWorkflowServiceImpl.activateFirstStep(Context context, Workflow wf, Step firstStep, XmlWorkflowItem wfi) Activate the first step in a workflow for a WorkflowItem.voidWorkflowRequirementsServiceImpl.addClaimedUser(Context context, XmlWorkflowItem wfi, Step step, EPerson user) voidWorkflowRequirementsServiceImpl.addFinishedUser(Context c, XmlWorkflowItem wfi, EPerson user) protected voidXmlWorkflowServiceImpl.addGroupPolicyToItem(Context context, Item item, int action, Group group, String policyType) protected voidXmlWorkflowServiceImpl.addPolicyToItem(Context context, Item item, int action, EPerson epa, String policyType) protected ItemXmlWorkflowServiceImpl.archive(Context context, XmlWorkflowItem wfi) Commit the contained item to the main archive.voidWorkflowRequirementsServiceImpl.clearInProgressUsers(Context c, XmlWorkflowItem wfi) static voidWorkflowUtils.createCollectionWorkflowRole(Context context, Collection collection, String roleId, Group group) Creates a role for a collection by linking a group of epersons to a role IDvoidXmlWorkflowServiceImpl.createOwnedTask(Context context, XmlWorkflowItem wi, Step step, WorkflowActionConfig action, EPerson e) voidXmlWorkflowServiceImpl.createPoolTasks(Context context, XmlWorkflowItem wi, RoleMembers assignees, Step step, WorkflowActionConfig action) XmlWorkflowServiceImpl.createWorkflowRoleGroup(Context context, Collection collection, String roleName) voidXmlWorkflowServiceImpl.deleteAllPooledTasks(Context context, XmlWorkflowItem wi) voidXmlWorkflowServiceImpl.deleteAllTasks(Context context, XmlWorkflowItem wi) WORKFLOW TASK MANAGEMENTvoidXmlWorkflowServiceImpl.deleteClaimedTask(Context c, XmlWorkflowItem wi, ClaimedTask task) voidXmlWorkflowServiceImpl.deleteCollection(Context context, Collection collection) voidXmlWorkflowServiceImpl.deletePooledTask(Context context, XmlWorkflowItem wi, PoolTask task) voidXmlWorkflowServiceImpl.deleteWorkflowByWorkflowItem(Context context, XmlWorkflowItem wi, EPerson e) XmlWorkflowServiceImpl.doState(Context c, EPerson user, jakarta.servlet.http.HttpServletRequest request, int workflowItemId, Workflow workflow, WorkflowActionConfig currentActionConfig) XmlWorkflowServiceImpl.getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup) protected voidXmlWorkflowServiceImpl.grantGroupAllItemPolicies(Context context, Item item, Group group, String policyType) protected voidXmlWorkflowServiceImpl.grantSubmitterReadPolicies(Context context, Item item) voidXmlWorkflowServiceImpl.grantUserAllItemPolicies(Context context, Item item, EPerson epa, String policyType) protected WorkflowActionConfigXmlWorkflowServiceImpl.processNextStep(Context c, EPerson user, Workflow workflow, ActionResult currentOutcome, XmlWorkflowItem wfi, Step nextStep) XmlWorkflowServiceImpl.processOutcome(Context c, EPerson user, Workflow workflow, Step currentStep, WorkflowActionConfig currentActionConfig, ActionResult currentOutcome, XmlWorkflowItem wfi, boolean enteredNewStep) protected voidXmlWorkflowServiceImpl.recordStart(Context context, Item myitem, Action action) voidWorkflowRequirementsServiceImpl.removeClaimedUser(Context context, XmlWorkflowItem wfi, EPerson user, String stepID) protected voidXmlWorkflowServiceImpl.removeGroupItemPolicies(Context context, Item item, Group e) voidXmlWorkflowServiceImpl.removeUserItemPolicies(Context context, Item item, EPerson e) voidXmlWorkflowServiceImpl.restartWorkflow(Context context, XmlWorkflowItem wi, EPerson decliner, String provenance) protected WorkspaceItemXmlWorkflowServiceImpl.returnToWorkspace(Context c, XmlWorkflowItem wfi) Return the workflow item to the workspace of the submitter.protected voidXmlWorkflowServiceImpl.revokeReviewerPolicies(Context context, Item item) XmlWorkflowServiceImpl.sendWorkflowItemBackSubmission(Context context, XmlWorkflowItem wi, EPerson e, String provenance, String rejection_message) XmlWorkflowServiceImpl.start(Context context, WorkspaceItem wsi) XmlWorkflowServiceImpl.startWithoutNotify(Context context, WorkspaceItem wsi) -
Uses of AuthorizeException in org.dspace.xmlworkflow.service
Methods in org.dspace.xmlworkflow.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidWorkflowRequirementsService.addClaimedUser(Context context, XmlWorkflowItem wfi, Step step, EPerson user) Adds a claimed user in the metadata.voidWorkflowRequirementsService.addFinishedUser(Context context, XmlWorkflowItem wfi, EPerson user) Adds a finished user in the metadata.voidWorkflowRequirementsService.clearInProgressUsers(Context context, XmlWorkflowItem wfi) voidXmlWorkflowService.createOwnedTask(Context context, XmlWorkflowItem wi, Step step, WorkflowActionConfig action, EPerson e) Create a claim on a task action for a given EPerson.voidXmlWorkflowService.createPoolTasks(Context context, XmlWorkflowItem wi, RoleMembers assignees, Step step, WorkflowActionConfig action) Create the task pool for a given item and workflow step.voidXmlWorkflowService.deleteAllPooledTasks(Context c, XmlWorkflowItem wi) Deletes all pooled tasks from a WorkflowItem.voidXmlWorkflowService.deleteAllTasks(Context context, XmlWorkflowItem wi) Deletes all tasks from a WorkflowItem.voidXmlWorkflowService.deleteClaimedTask(Context c, XmlWorkflowItem wi, ClaimedTask task) Deletes a completed task of a step.voidXmlWorkflowService.deletePooledTask(Context context, XmlWorkflowItem wi, PoolTask task) Deletes a pooled (uncompleted) task from the task pool of a step.XmlWorkflowService.doState(Context c, EPerson user, jakarta.servlet.http.HttpServletRequest request, int workflowItemId, Workflow workflow, WorkflowActionConfig currentActionConfig) Executes a workflow action and returns the next.voidXmlWorkflowService.grantUserAllItemPolicies(Context context, Item item, EPerson epa, String actionType) Grant a user full powers over an Item.XmlWorkflowService.processOutcome(Context c, EPerson user, Workflow workflow, Step currentStep, WorkflowActionConfig currentActionConfig, ActionResult currentOutcome, XmlWorkflowItem wfi, boolean enteredNewStep) Select the next action based on the outcome of a current action.voidWorkflowRequirementsService.removeClaimedUser(Context context, XmlWorkflowItem wfi, EPerson user, String stepID) voidXmlWorkflowService.removeUserItemPolicies(Context context, Item item, EPerson e) -
Uses of AuthorizeException in org.dspace.xmlworkflow.state.actions
Methods in org.dspace.xmlworkflow.state.actions that throw AuthorizeExceptionModifier and TypeMethodDescriptionabstract voidAction.activate(Context c, XmlWorkflowItem wf) Called when a workflow item becomes eligible for this Action.voidAction.addApprovedProvenance(Context c, XmlWorkflowItem wfi) Adds info in the metadata field dc.description.provenance about item being approved containing in which step it was approved, which user approved it and the timeabstract ActionResultAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) Called when the action is to be performed.abstract booleanAction.isAuthorized(Context context, jakarta.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) Is this client authorized to act on this item? -
Uses of AuthorizeException in org.dspace.xmlworkflow.state.actions.processingaction
Methods in org.dspace.xmlworkflow.state.actions.processingaction that throw AuthorizeExceptionModifier and TypeMethodDescriptionAcceptEditRejectAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) FinalEditAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) ReviewAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) ScoreEvaluationAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) ScoreReviewAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) SelectReviewerAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) SingleUserReviewAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) AcceptEditRejectAction.processAccept(Context c, XmlWorkflowItem wfi) ReviewAction.processAccept(Context c, XmlWorkflowItem wfi) SingleUserReviewAction.processAccept(Context c, XmlWorkflowItem wfi) Accept the workflow item => last step in workflow so will be archived Info on step & reviewer will be added on metadata dc.description.provenance of resulting itemFinalEditAction.processMainPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) ProcessingAction.processRejectPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) Process result when option {@link this#SUBMIT_REJECT} is selectedAcceptEditRejectAction.processSubmitterIsDeletedPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) ReviewAction.processSubmitterIsDeletedPage(Context c, XmlWorkflowItem wfi, jakarta.servlet.http.HttpServletRequest request) -
Uses of AuthorizeException in org.dspace.xmlworkflow.state.actions.userassignment
Methods in org.dspace.xmlworkflow.state.actions.userassignment that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidClaimAction.activate(Context context, XmlWorkflowItem wfItem) protected voidAssignOriginalSubmitterAction.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 itemprotected voidAutoAssignAction.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 itemAssignOriginalSubmitterAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) AutoAssignAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) ClaimAction.execute(Context c, XmlWorkflowItem wfi, Step step, jakarta.servlet.http.HttpServletRequest request) booleanUserSelectionAction.isAuthorized(Context context, jakarta.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) voidClaimAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) abstract voidUserSelectionAction.regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) Should a person have the option to repool the task the tasks will have to be regenerated -
Uses of AuthorizeException in org.dspace.xmlworkflow.storedcomponents
Methods in org.dspace.xmlworkflow.storedcomponents that throw AuthorizeExceptionModifier and TypeMethodDescriptionXmlWorkflowItemServiceImpl.create(Context context, Item item, Collection collection) voidClaimedTaskServiceImpl.delete(Context context, ClaimedTask claimedTask) voidInProgressUserServiceImpl.delete(Context context, InProgressUser inProgressUser) voidvoidWorkflowItemRoleServiceImpl.delete(Context context, WorkflowItemRole workflowItemRole) voidXmlWorkflowItemServiceImpl.delete(Context context, XmlWorkflowItem workflowItem) voidXmlWorkflowItemServiceImpl.deleteByCollection(Context context, Collection collection) voidPoolTaskServiceImpl.deleteByEperson(Context context, EPerson ePerson) voidWorkflowItemRoleServiceImpl.deleteByEPerson(Context context, EPerson ePerson) voidClaimedTaskServiceImpl.deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem) voidPoolTaskServiceImpl.deleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) voidWorkflowItemRoleServiceImpl.deleteForWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) voidXmlWorkflowItemServiceImpl.deleteWrapper(Context context, XmlWorkflowItem workflowItem) PoolTaskServiceImpl.findByEperson(Context context, EPerson ePerson) PoolTaskServiceImpl.findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson) voidClaimedTaskServiceImpl.update(Context context, List<ClaimedTask> claimedTasks) voidClaimedTaskServiceImpl.update(Context context, ClaimedTask claimedTask) voidInProgressUserServiceImpl.update(Context context, List<InProgressUser> inProgressUsers) voidInProgressUserServiceImpl.update(Context context, InProgressUser inProgressUser) voidvoidvoidWorkflowItemRoleServiceImpl.update(Context context, List<WorkflowItemRole> workflowItemRoles) voidWorkflowItemRoleServiceImpl.update(Context context, WorkflowItemRole workflowItemRole) voidXmlWorkflowItemServiceImpl.update(Context context, XmlWorkflowItem workflowItem) -
Uses of AuthorizeException in org.dspace.xmlworkflow.storedcomponents.service
Methods in org.dspace.xmlworkflow.storedcomponents.service that throw AuthorizeExceptionModifier and TypeMethodDescriptionvoidPoolTaskService.deleteByEperson(Context context, EPerson ePerson) voidWorkflowItemRoleService.deleteByEPerson(Context context, EPerson ePerson) voidClaimedTaskService.deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem) voidPoolTaskService.deleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem) voidWorkflowItemRoleService.deleteForWorkflowItem(Context context, XmlWorkflowItem wfi) PoolTaskService.findByEperson(Context context, EPerson ePerson) PoolTaskService.findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)