Uses of Class
org.dspace.authorize.AuthorizeException
-
-
Uses of AuthorizeException in org.dspace.administer
Methods in org.dspace.administer that throw AuthorizeException Modifier and Type Method Description voidCommunityFiliator. defiliate(Context c, Community parent, Community child)voidCommunityFiliator. filiate(Context c, Community parent, Community child)static 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 voidMetadataImporter. main(String[] args)main method for reading user input from the command line -
Uses of AuthorizeException in org.dspace.app.bulkedit
Methods in org.dspace.app.bulkedit that throw AuthorizeException Modifier and Type Method Description protected voidMetadataImport. add(String[] fromCSV, String md, BulkEditChange changes)Add an item metadata with a line from CSV, and optionally update the itemprotected voidMetadataImport. compare(Item item, List<String> collections, List<Collection> actualCollections, BulkEditChange bechange, boolean change)Compare changes between an items owning collection and mapped collections and what is in the CSV fileprotected voidMetadataImport. compareAndUpdate(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. -
Uses of AuthorizeException in org.dspace.app.itemimport
Methods in org.dspace.app.itemimport that throw AuthorizeException Modifier and Type Method Description protected voidItemImportServiceImpl. addDCValue(Context c, Item i, String schema, Node n)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....protected List<String>ItemImportServiceImpl. processContentsFile(Context c, Item i, String path, String filename)Given a contents file and an item, stuffing it with bitstreams from the contents file Returns a List of Strings with lines from the contents file that request non-default bitstream 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, 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 AuthorizeException Modifier and Type Method Description protected 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 itemstatic List<org.dspace.app.itemupdate.DtoMetadata>MetadataUtilities. loadDublinCore(DocumentBuilder docBuilder, InputStream is)Modification of method from ItemImporter.loadDublinCore as a Factory method -
Uses of AuthorizeException in org.dspace.app.packager
Methods in org.dspace.app.packager that throw AuthorizeException Modifier and Type Method Description protected 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.util
Methods in org.dspace.app.util that throw AuthorizeException Modifier and Type Method Description static voidAuthorizeUtil. authorizeManageAdminGroup(Context context, Collection collection)Can the current user create/edit the admins group of the collection? please note that the remove action need a separate checkstatic voidAuthorizeUtil. authorizeManageAdminGroup(Context context, Community community)Can the current user create/edit the admins group of the community? please note that the remove action need a separate checkstatic 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? please note that the create/edit actions need separate checkstatic voidAuthorizeUtil. authorizeRemoveAdminGroup(Context context, Community community)Can the current user remove the admins group of the community? please note that the create/edit actions need separate checkstatic voidAuthorizeUtil. authorizeWithdrawItem(Context context, Item item)Can the current user withdraw the item?static voidInitializeEntities. main(String[] argv)The 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 AuthorizeException Modifier and Type Method Description protected EPersonShibAuthentication. findEPerson(Context context, javax.servlet.http.HttpServletRequest request)Identify an existing EPerson based upon the shibboleth attributes provided on the request object.protected EPersonShibAuthentication. registerNewEPerson(Context context, javax.servlet.http.HttpServletRequest request)Register a new eperson object.protected voidShibAuthentication. updateEPerson(Context context, javax.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 AuthorizeException Modifier and Type Method Description voidAuthorityServiceImpl. indexItem(Context context, Item item)voidAuthorityValue. 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 AuthorizeException Modifier and Type Method Description List<AuthorityValue>AuthorityIndexerInterface. getAuthorityValues(Context context, Item item)List<AuthorityValue>AuthorityIndexerInterface. getAuthorityValues(Context context, Item item, Map<String,AuthorityValue> cache)List<AuthorityValue>DSpaceAuthorityIndexer. getAuthorityValues(Context context, Item item)List<AuthorityValue>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 Modifier and Type Method Description voidAuthorityService. indexItem(Context context, Item item) -
Uses of AuthorizeException in org.dspace.authorize
Methods in org.dspace.authorize that throw AuthorizeException Modifier and Type Method Description voidAuthorizeServiceImpl. 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)ResourcePolicyResourcePolicyServiceImpl. clone(Context context, ResourcePolicy resourcePolicy)ResourcePolicyAuthorizeServiceImpl. createOrModifyPolicy(ResourcePolicy policy, Context context, String name, Group group, EPerson ePerson, Date embargoDate, int action, String reason, DSpaceObject dso)ResourcePolicyAuthorizeServiceImpl. createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType)ResourcePolicyAuthorizeServiceImpl. createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType, String rpName, String rpDescription, Date startDate, Date endDate)voidResourcePolicyServiceImpl. delete(Context context, ResourcePolicy resourcePolicy)Delete an ResourcePolicyvoidAuthorizeServiceImpl. generateAutomaticPolicies(Context context, Date embargoDate, String reason, DSpaceObject dso, Collection owningCollection)Generate Policies policies READ for the date in input adding reason.voidAuthorizeServiceImpl. inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest)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)voidAuthorizeServiceImpl. removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID)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, Date startDate, Date 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, Date startDate, Date 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 AuthorizeException Modifier and Type Method Description voidAuthorizeService. 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.ResourcePolicyResourcePolicyService. clone(Context context, ResourcePolicy resourcePolicy)ResourcePolicyAuthorizeService. createOrModifyPolicy(ResourcePolicy policy, Context context, String name, Group group, EPerson ePerson, Date embargoDate, int action, String reason, DSpaceObject dso)ResourcePolicyAuthorizeService. createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType)ResourcePolicyAuthorizeService. createResourcePolicy(Context context, DSpaceObject dso, Group group, EPerson eperson, int type, String rpType, String rpName, String rpDescription, Date startDate, Date endDate)voidAuthorizeService. generateAutomaticPolicies(Context context, Date embargoDate, String reason, DSpaceObject dso, Collection owningCollection)Generate Policies policies READ for the date in input adding reason.voidAuthorizeService. inheritPolicies(Context c, DSpaceObject src, DSpaceObject dest)Add policies to an object to match those from a previous objectvoidAuthorizeService. 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)voidAuthorizeService. removePoliciesActionFilter(Context context, DSpaceObject dso, int actionID)Remove all policies from an object that match a given action.voidAuthorizeService. 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) -
Uses of AuthorizeException in org.dspace.content
Methods in org.dspace.content that throw AuthorizeException Modifier and Type Method Description voidBundleServiceImpl. addBitstream(Context context, Bundle bundle, Bitstream bitstream)voidItemServiceImpl. addBundle(Context context, Item item, Bundle bundle)voidCommunityServiceImpl. 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. adjustBundleBitstreamPolicies(Context context, Item item, Collection collection)voidItemServiceImpl. adjustItemPolicies(Context context, Item item, Collection collection)voidCollectionServiceImpl. canEdit(Context context, Collection collection)voidCollectionServiceImpl. canEdit(Context context, Collection collection, boolean useInheritance)voidCommunityServiceImpl. canEdit(Context context, Community community)BitstreamFormatBitstreamFormatServiceImpl. create(Context context)BitstreamBitstreamServiceImpl. create(Context context, Bundle bundle, InputStream is)BundleBundleServiceImpl. create(Context context, Item item, String name)CollectionCollectionServiceImpl. create(Context context, Community community)CollectionCollectionServiceImpl. create(Context context, Community community, String handle)CommunityCommunityServiceImpl. create(Community parent, Context context)CommunityCommunityServiceImpl. create(Community parent, Context context, String handle)EntityTypeEntityTypeServiceImpl. create(Context context)EntityTypeEntityTypeServiceImpl. create(Context context, String entityTypeString)ItemItemServiceImpl. create(Context context, WorkspaceItem workspaceItem)MetadataFieldMetadataFieldServiceImpl. create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote)MetadataSchemaMetadataSchemaServiceImpl. create(Context context, String name, String namespace)RelationshipRelationshipServiceImpl. create(Context context)RelationshipRelationshipServiceImpl. create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace)RelationshipRelationshipServiceImpl. create(Context c, Item leftItem, Item rightItem, RelationshipType relationshipType, int leftPlace, int rightPlace, String leftwardValue, String rightwardValue)RelationshipRelationshipServiceImpl. create(Context context, Relationship relationship)RelationshipTypeRelationshipTypeServiceImpl. create(Context context)RelationshipTypeRelationshipTypeServiceImpl. create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger)RelationshipTypeRelationshipTypeServiceImpl. create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger, Boolean copyToLeft, Boolean copyToRight)RelationshipTypeRelationshipTypeServiceImpl. create(Context context, RelationshipType relationshipType)WorkspaceItemWorkspaceItemServiceImpl. create(Context context, Collection collection, boolean template)WorkspaceItemWorkspaceItemServiceImpl. create(Context c, WorkflowItem workflowItem)GroupCollectionServiceImpl. createAdministrators(Context context, Collection collection)GroupCommunityServiceImpl. createAdministrators(Context context, Community community)GroupCollectionServiceImpl. createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead)protected ItemItemServiceImpl. createItem(Context context)BitstreamItemServiceImpl. createSingleBitstream(Context context, InputStream is, Item item)BitstreamItemServiceImpl. createSingleBitstream(Context context, InputStream is, Item item, String name)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity)CommunityCommunityServiceImpl. createSubcommunity(Context context, Community parentCommunity, String handle)GroupCollectionServiceImpl. createSubmitters(Context context, Collection collection)voidCollectionServiceImpl. createTemplateItem(Context context, Collection collection)ItemItemServiceImpl. createTemplateItem(Context context, Collection collection)GroupCollectionServiceImpl. createWorkflowGroup(Context context, Collection collection, int step)voidBitstreamFormatServiceImpl. delete(Context context, BitstreamFormat bitstreamFormat)voidBitstreamServiceImpl. delete(Context context, Bitstream bitstream)voidBundleServiceImpl. delete(Context context, Bundle bundle)voidCollectionServiceImpl. delete(Context context, Collection collection)voidCommunityServiceImpl. delete(Context context, Community community)voidEntityTypeServiceImpl. delete(Context context, EntityType entityType)voidItemServiceImpl. delete(Context context, Item item)voidMetadataFieldServiceImpl. 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)voidSiteServiceImpl. delete(Context context, Site dso)voidWorkspaceItemServiceImpl. deleteAll(Context context, WorkspaceItem workspaceItem)protected voidItemServiceImpl. deleteBundle(Context context, Item item, Bundle b)voidWorkspaceItemServiceImpl. deleteWrapper(Context context, WorkspaceItem workspaceItem)voidBitstreamServiceImpl. expunge(Context context, Bitstream bitstream)Iterator<Item>ItemServiceImpl. findByAuthorityValue(Context context, String schema, String element, String qualifier, String value)Iterator<Item>ItemServiceImpl. findByMetadataField(Context context, String schema, String element, String qualifier, String value)Returns an iterator of Items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANYIterator<Item>ItemServiceImpl. findByMetadataFieldAuthority(Context context, String mdString, String authority)Iterator<Item>ItemServiceImpl. findByMetadataQuery(Context context, List<List<MetadataField>> listFieldList, List<String> query_op, List<String> query_val, List<UUID> collectionUuids, String regexClause, int offset, int limit)protected ItemInstallItemServiceImpl. finishItem(Context c, Item item, InProgressSubmission is)Final housekeeping when adding a new Item into the archive.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)ItemInstallItemServiceImpl. installItem(Context c, InProgressSubmission is)ItemInstallItemServiceImpl. 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)voidBundleServiceImpl. moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream)protected voidInstallItemServiceImpl. populateMetadata(Context c, Item item)protected voidCommunityServiceImpl. rawDelete(Context context, Community community)Internal method to remove the community and all its children from the database, and perform any pre/post-cleanupprotected voidItemServiceImpl. rawDelete(Context context, Item item)BitstreamBitstreamServiceImpl. register(Context context, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.BitstreamBitstreamServiceImpl. register(Context context, Bundle bundle, int assetstore, String bitstreamPath)voidItemServiceImpl. reinstate(Context context, Item item)voidCollectionServiceImpl. 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)ItemInstallItemServiceImpl. restoreItem(Context c, InProgressSubmission is, String suppliedHandle)InputStreamBitstreamServiceImpl. retrieve(Context context, Bitstream bitstream)BitstreamCollectionServiceImpl. setLogo(Context context, Collection collection, InputStream is)BitstreamCommunityServiceImpl. setLogo(Context context, Community community, InputStream is)voidBundleServiceImpl. setOrder(Context context, Bundle bundle, UUID[] bitstreamIds)voidCollection. setWorkflowGroup(Context context, int step, Group g)voidBitstreamFormatServiceImpl. update(Context context, List<BitstreamFormat> bitstreamFormats)voidBitstreamFormatServiceImpl. update(Context context, BitstreamFormat bitstreamFormat)voidBitstreamServiceImpl. update(Context context, Bitstream bitstream)voidBundleServiceImpl. update(Context context, Bundle bundle)voidCollectionServiceImpl. update(Context context, Collection collection)voidCommunityServiceImpl. update(Context context, Community community)voidDSpaceObjectServiceImpl. update(Context context, T dso)voidEntityTypeServiceImpl. update(Context context, List<EntityType> entityTypes)voidEntityTypeServiceImpl. update(Context context, EntityType entityType)voidItemServiceImpl. update(Context context, Item item)voidMetadataFieldServiceImpl. 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)voidSiteServiceImpl. update(Context context, Site site)voidWorkspaceItemServiceImpl. 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)voidRelationshipServiceImpl. updatePlaceInRelationship(Context context, Relationship relationship)voidItemServiceImpl. withdraw(Context context, Item item) -
Uses of AuthorizeException in org.dspace.content.crosswalk
Methods in org.dspace.content.crosswalk that throw AuthorizeException Modifier and Type Method Description MetadataFieldCrosswalkMetadataValidator. 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.jdom.ElementAIPDIMCrosswalk. disseminateElement(Context context, DSpaceObject dso)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementAIPTechMDCrosswalk. disseminateElement(Context context, DSpaceObject dso)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementDIMDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementMETSDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementMETSRightsCrosswalk. disseminateElement(Context context, DSpaceObject dso)Actually Disseminate into METSRights schema.org.jdom.ElementMODSDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)Disseminate an Item, Collection, or Community to MODS.org.jdom.ElementOREDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementParameterizedDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso, Map<String,String> parameters)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementPREMISCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementQDCCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementRoleCrosswalk. disseminateElement(Context context, DSpaceObject dso)Execute crosswalk, returning one XML root element as a JDOMElementobject.org.jdom.ElementSimpleDCDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementXHTMLHeadDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)This generates a <head> element around the metadata; in general this will probably not be usedorg.jdom.ElementXSLTDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso)org.jdom.ElementXSLTDisseminationCrosswalk. disseminateElement(Context context, DSpaceObject dso, Map<String,String> parameters)List<org.jdom.Element>AIPDIMCrosswalk. disseminateList(Context context, DSpaceObject dso)Execute crosswalk, returning List of XML elements.List<org.jdom.Element>AIPTechMDCrosswalk. disseminateList(Context context, DSpaceObject dso)Execute crosswalk, returning List of XML elements.List<org.jdom.Element>DIMDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>DisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Execute crosswalk, returning List of XML elements.List<org.jdom.Element>METSDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>METSRightsCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>MODSDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Returns object's metadata in MODS format, as List of XML structure nodes.List<org.jdom.Element>OREDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>PREMISCrosswalk. disseminateList(Context context, DSpaceObject dso)List<org.jdom.Element>QDCCrosswalk. disseminateList(Context context, DSpaceObject dso)Returns object's metadata in MODS format, as XML structure node.List<org.jdom.Element>RoleCrosswalk. disseminateList(Context context, DSpaceObject dso)Execute crosswalk, returning List of XML elements.List<org.jdom.Element>SimpleDCDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Returns object's metadata as XML elements.List<org.jdom.Element>XHTMLHeadDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Return <meta> elements that can be put in the <head> element of an XHTML document.List<org.jdom.Element>XSLTDisseminationCrosswalk. disseminateList(Context context, DSpaceObject dso)Disseminate the DSpace item, collection, or community.List<org.jdom.Element>SimpleDCDisseminationCrosswalk. disseminateListInternal(DSpaceObject dso, boolean addSchema)voidAIPDIMCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> dimList, boolean createMissingMetadataFields)Fields correspond directly to Item.addMetadata() calls so they are simply executed.voidAIPDIMCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)Ingest a whole document.voidAIPTechMDCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> dimList, boolean createMissingMetadataFields)Translate metadata with XSL stylesheet and ingest it.voidAIPTechMDCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.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.jdom.Element> metadata, boolean createMissingMetadataFields)voidDIMIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidIngestionCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> metadata, boolean createMissingMetadataFields)Crosswalk metadata from external XML representation to DSpace internal representations.voidIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.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.jdom.Element> ml, boolean createMissingMetadataFields)Ingest a List of XML elementsvoidMETSRightsCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)Ingest a whole XML document, starting at specified root.voidNullIngestionCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> ml, boolean createMissingMetadataFields)voidNullIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidNullStreamIngestionCrosswalk. ingest(Context context, DSpaceObject dso, InputStream in, String MIMEType)voidOAIDCIngestionCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> metadata, boolean createMissingMetadataFields)voidOAIDCIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidOREIngestionCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> metadata, boolean createMissingMetadataFields)voidOREIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidPREMISCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> ml, boolean createMissingMetadataFields)voidPREMISCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidQDCCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> ml, boolean createMissingMetadataFields)voidQDCCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)voidRoleCrosswalk. ingest(Context context, DSpaceObject dso, List<org.jdom.Element> metadata, boolean createMissingMetadataFields)Ingest a List of XML elementsvoidRoleCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.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.jdom.Element> metadata, boolean createMissingMetadataFields)Translate metadata with XSL stylesheet and ingest it.voidXSLTIngestionCrosswalk. ingest(Context context, DSpaceObject dso, org.jdom.Element root, boolean createMissingMetadataFields)Ingest a whole document.static voidXSLTIngestionCrosswalk. ingestDIM(Context context, DSpaceObject dso, List<org.jdom.Element> fields, boolean createMissingMetadataFields)static voidXSLTIngestionCrosswalk. ingestDIM(Context context, DSpaceObject dso, org.jdom.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 AuthorizeException Modifier and Type Method Description protected 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, 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.jdom.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.jdom.Element[] dmds, PackageParameters params)Select thedmdSecelement(s) to apply to the Item.voidDSpaceAIPIngester. crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom.Element[] dmds, PackageParameters params)Choose DMD section(s) to crosswalk.voidDSpaceMETSIngester. crosswalkObjectDmd(Context context, DSpaceObject dso, METSManifest manifest, AbstractMETSIngester.MdrefManager callback, org.jdom.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.jdom.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)List<File>AbstractPackageDisseminator. disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)Recursively export one or more DSpace Objects as a series of packages.List<File>PackageDisseminator. disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)Recursively export one or more DSpace Objects as a series of packages.List<File>PDFPackager. disseminateAll(Context context, DSpaceObject dso, PackageParameters params, File pkgFile)disseminateAll() cannot be implemented for a PDF disseminator, because there's only one PDF to disseminateList<File>RoleDisseminator. 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.jdom.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.jdom.Element mfile, METSManifest manifest, PackageParameters params)Nothing extra to do to bitstream after ingestion.voidDSpaceMETSIngester. finishBitstream(Context context, Bitstream bs, org.jdom.Element mfile, METSManifest manifest, PackageParameters params)Take a second pass over files to correct names of derived files (e.g.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.InputStreamMETSManifest.Mdref. getInputStream(org.jdom.Element mdRef)Make the contents of an external resource mentioned in anmdRefelement available as anInputStream.InputStreamMETSManifest. getMdContentAsStream(org.jdom.Element mdSec, METSManifest.Mdref callback)Return contents of *md element as stream.List<org.jdom.Element>METSManifest. getMdContentAsXml(org.jdom.Element mdSec, METSManifest.Mdref callback)Return contents of *md element as List of XML Element objects.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.DSpaceObjectAbstractMETSIngester. ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Create a new DSpace object out of a METS content package.DSpaceObjectPackageIngester. ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Create new DSpaceObject out of the ingested package.DSpaceObjectPDFPackager. ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Create new Item out of the ingested package, in the indicated collection.DSpaceObjectRoleIngester. ingest(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)List<String>AbstractPackageIngester. ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Recursively create one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).List<String>PackageIngester. ingestAll(Context context, DSpaceObject parent, File pkgFile, PackageParameters params, String license)Recursively create one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).List<String>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 ingestList<String>RoleIngester. 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.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)DSpaceObjectAbstractMETSIngester. replace(Context context, DSpaceObject dsoToReplace, File pkgFile, PackageParameters params)Replace an existing DSpace object with the contents of a METS-based package.DSpaceObjectPackageIngester. replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)Replace an existing DSpace Object with contents of the ingested package.DSpaceObjectPDFPackager. replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)Replace is not implemented.DSpaceObjectRoleIngester. replace(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)List<String>AbstractPackageIngester. replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)Recursively replace one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).List<String>PackageIngester. replaceAll(Context context, DSpaceObject dso, File pkgFile, PackageParameters params)Recursively replace one or more DSpace Objects out of the contents of the ingested package (and all other referenced packages).List<String>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 ingestList<String>RoleIngester. 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 AuthorizeException Modifier and Type Method Description voidBundleService. addBitstream(Context context, Bundle bundle, Bitstream bitstream)Add an existing bitstream to this bundlevoidItemService. addBundle(Context context, Item item, Bundle bundle)Add an existing bundle to this item.voidCommunityService. addCollection(Context context, Community community, Collection collection)Add an exisiting 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. adjustBundleBitstreamPolicies(Context context, Item item, Collection collection)voidItemService. adjustItemPolicies(Context context, Item item, Collection collection)voidCollectionService. canEdit(Context context, Collection collection)voidCollectionService. canEdit(Context context, Collection collection, boolean useInheritance)voidCommunityService. canEdit(Context context, Community community)BitstreamBitstreamService. create(Context context, Bundle bundle, InputStream is)Create a new bitstream, with a new ID.BundleBundleService. create(Context context, Item item, String name)Create a new bundle, with a new ID and link it to the provided itemCollectionCollectionService. create(Context context, Community community)Create a new collection with a new ID.CollectionCollectionService. create(Context context, Community community, String handle)Create a new collection with the supplied handle and with a new ID.CommunityCommunityService. create(Community parent, Context context)Create a new top-level community, with a new ID.CommunityCommunityService. create(Community parent, Context context, String handle)Create a new top-level community, with a new ID.EntityTypeEntityTypeService. create(Context context, String entityTypeString)This method creates an EntityType object in the database with the given entityTypeString as it's labelItemItemService. create(Context context, WorkspaceItem workspaceItem)Create a new item, with a new internal ID.MetadataFieldMetadataFieldService. create(Context context, MetadataSchema metadataSchema, String element, String qualifier, String scopeNote)Creates a new metadata field.MetadataSchemaMetadataSchemaService. create(Context context, String name, String namespace)Creates a new metadata schema in the database, using the name and namespace.RelationshipRelationshipService. 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 and rightward labelsRelationshipRelationshipService. 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 variablesRelationshipRelationshipService. 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 relationshipRelationshipTypeRelationshipTypeService. 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 parametersRelationshipTypeRelationshipTypeService. create(Context context, EntityType leftEntityType, EntityType rightEntityType, String leftwardType, String rightwardType, Integer leftCardinalityMinInteger, Integer leftCardinalityMaxInteger, Integer rightCardinalityMinInteger, Integer rightCardinalityMaxInteger, Boolean copyToLeft, Boolean copyToRight)This method will support the creation of a RelationshipType object with the given parametersRelationshipTypeRelationshipTypeService. create(Context context, RelationshipType relationshipType)This method creates the given RelationshipType object in the database and returns itWorkspaceItemWorkspaceItemService. create(Context context, Collection collection, boolean template)Create a new workspace item, with a new ID.WorkspaceItemWorkspaceItemService. create(Context c, WorkflowItem wfi)GroupCollectionService. createAdministrators(Context context, Collection collection)Create a default administrators group if one does not already exist.GroupCommunityService. createAdministrators(Context context, Community community)Create a default administrators group if one does not already exist.GroupCollectionService. createDefaultReadGroup(Context context, Collection collection, String typeOfGroupString, int defaultRead)This method will create a default read group for the given Collection.BitstreamItemService. createSingleBitstream(Context context, InputStream is, Item item)Convenience method, calls createSingleBitstream() with name "ORIGINAL"BitstreamItemService. createSingleBitstream(Context context, InputStream is, Item item, String name)Create a single bitstream in a new bundle.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity)Create a new sub-community within this community.CommunityCommunityService. createSubcommunity(Context context, Community parentCommunity, String handle)Create a new sub-community within this community.GroupCollectionService. 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.ItemItemService. createTemplateItem(Context context, Collection collection)Create an empty template item for this collection.GroupCollectionService. createWorkflowGroup(Context context, Collection collection, int step)Create a workflow group for the given step if one does not already exist.voidDSpaceObjectService. delete(Context context, T dso)voidMetadataFieldService. 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 contentsvoidBitstreamService. expunge(Context context, Bitstream bitstream)Remove a bitstream that has been set to "deleted" from the databaseIterator<Item>ItemService. findByAuthorityValue(Context context, String schema, String element, String qualifier, String value)Find all the items in the archive with a given authority key value in the indicated metadata field.Iterator<Item>ItemService. findByMetadataField(Context context, String schema, String element, String qualifier, String value)Returns an iterator of Items possessing the passed metadata field, or only those matching the passed value, if value is not Item.ANYIterator<Item>ItemService. findByMetadataFieldAuthority(Context context, String mdString, String authority)Iterator<Item>ItemService. findByMetadataQuery(Context context, List<List<MetadataField>> listFieldList, List<String> query_op, List<String> query_val, List<UUID> collectionUuids, String regexClause, int offset, int limit)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.ItemInstallItemService. installItem(Context context, InProgressSubmission is)Take an InProgressSubmission and turn it into a fully-archived Item, creating a new Handle.ItemInstallItemService. 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 onevoidBundleService. moveBitstreamToBundle(Context context, Bundle targetBundle, Bitstream bitstream)Moves a bitstream from its current bundle to a new target bundleBitstreamBitstreamService. register(Context context, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.BitstreamBitstreamService. register(Context context, Bundle bundle, int assetstore, String bitstreamPath)Register a new bitstream, with a new ID.voidItemService. reinstate(Context context, Item item)Reinstate 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 policiesItemInstallItemService. 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.InputStreamBitstreamService. retrieve(Context context, Bitstream bitstream)Retrieve the contents of the bitstreamBitstreamCollectionService. setLogo(Context context, Collection collection, InputStream is)Give the collection a logo.BitstreamCommunityService. setLogo(Context context, Community community, InputStream is)Give the community a logo.voidBundleService. setOrder(Context context, Bundle bundle, UUID[] bitstreamIds)Changes 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.voidDSpaceObjectService. update(Context context, T dso)voidInProgressSubmissionService. update(Context context, T inProgressSubmission)Update 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)voidRelationshipService. updatePlaceInRelationship(Context context, Relationship relationship)This method will update the place for the Relationship and all other relationships found by the items and relationship type of the given Relationship.voidItemService. withdraw(Context context, Item item)Withdraw the item from the archive. -
Uses of AuthorizeException in org.dspace.curate
Methods in org.dspace.curate that throw AuthorizeException Modifier and Type Method Description protected voidCitationPage. addCitedPageToItem(InputStream citedDoc, Bundle bundle, Bundle pBundle, Bundle dBundle, Map<String,Bitstream> displayMap, Item item, Bitstream bitstream)A helper function forCitationPage.performItem(Item).booleanWorkflowCuratorServiceImpl. curate(Curator curator, Context c, String wfId)booleanWorkflowCuratorServiceImpl. curate(Curator curator, Context c, BasicWorkflowItem wfi)booleanWorkflowCuratorServiceImpl. doCuration(Context c, BasicWorkflowItem wfi)protected voidWorkflowCuratorServiceImpl. notifyContacts(Context c, BasicWorkflowItem wfi, WorkflowCuratorServiceImpl.Task task, String status, String action, String message)protected List<EPerson>WorkflowCuratorServiceImpl. resolveContacts(Context c, List<String> contacts, BasicWorkflowItem wfi) -
Uses of AuthorizeException in org.dspace.curate.service
Methods in org.dspace.curate.service that throw AuthorizeException Modifier and Type Method Description booleanWorkflowCuratorService. curate(Curator curator, Context c, String wfId)Determines and executes curation of a Workflow item.booleanWorkflowCuratorService. curate(Curator curator, Context c, BasicWorkflowItem wfi)Determines and executes curation of a Workflow item.booleanWorkflowCuratorService. doCuration(Context c, BasicWorkflowItem wfi)Determines and executes curation on a Workflow item. -
Uses of AuthorizeException in org.dspace.disseminate
Methods in org.dspace.disseminate that throw AuthorizeException Modifier and Type Method Description org.apache.commons.lang3.tuple.Pair<InputStream,Long>CitationDocumentServiceImpl. makeCitedDocument(Context context, Bitstream bitstream) -
Uses of AuthorizeException in org.dspace.disseminate.service
Methods in org.dspace.disseminate.service that throw AuthorizeException Modifier and Type Method Description org.apache.commons.lang3.tuple.Pair<InputStream,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 AuthorizeException Modifier and Type Method Description voidDefaultEmbargoSetter. 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.Iterator<Item>EmbargoServiceImpl. findItemsByLiftMetadata(Context context)protected voidDefaultEmbargoSetter. generatePolicies(Context context, Date embargoDate, String reason, DSpaceObject dso, Collection owningCollection)DCDateEmbargoServiceImpl. 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)DCDateDayTableEmbargoSetter. parseTerms(Context context, Item item, String terms)Parse the terms into a definite date.DCDateDefaultEmbargoSetter. parseTerms(Context context, Item item, String terms)Parse the terms into a definite date.DCDateEmbargoSetter. 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 AuthorizeException Modifier and Type Method Description voidEmbargoService. checkEmbargo(Context context, Item item)Iterator<Item>EmbargoService. findItemsByLiftMetadata(Context context)DCDateEmbargoService. 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 AuthorizeException Modifier and Type Method Description voidSupervisorServiceImpl. add(Context context, Group group, WorkspaceItem workspaceItem, int policy)EPersonEPersonServiceImpl. create(Context context)GroupGroupServiceImpl. create(Context context)RegistrationDataRegistrationDataServiceImpl. create(Context context)voidEPersonServiceImpl. delete(Context context, EPerson ePerson)voidRegistrationDataServiceImpl. delete(Context context, RegistrationData registrationData)EPersonAccountServiceImpl. 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 voidEPersonCLITool. main(String[] argv)Tool for manipulating user accounts.static voidLoadLastLogin. main(String[] argv)voidSupervisorServiceImpl. remove(Context context, WorkspaceItem workspaceItem, Group group)voidAccountServiceImpl. sendForgotPasswordInfo(Context context, String email)Email forgot password info to the given email address.protected RegistrationDataAccountServiceImpl. sendInfo(Context context, String email, boolean isRegister, boolean send)THIS IS AN INTERNAL METHOD.voidAccountServiceImpl. sendRegistrationInfo(Context context, String email)Email registration info to the given email address.voidSubscribeServiceImpl. subscribe(Context context, EPerson eperson, Collection collection)voidSubscribeServiceImpl. unsubscribe(Context context, EPerson eperson, Collection collection)voidEPersonServiceImpl. update(Context context, EPerson ePerson)voidGroupServiceImpl. update(Context context, Group group)Update the group - writing out group object and EPerson list if necessaryvoidRegistrationDataServiceImpl. 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 AuthorizeException Modifier and Type Method Description voidSupervisorService. add(Context context, Group group, WorkspaceItem workspaceItem, int policy)adds a supervision order to the databaseEPersonEPersonService. create(Context context)Create a new epersonGroupGroupService. create(Context context)Create a new groupEPersonAccountService. getEPerson(Context context, String token)voidGroupService. initDefaultGroupNames(Context context)Initializes the group names for anonymous and administrator, and marks them "permanent".voidSupervisorService. remove(Context context, WorkspaceItem workspaceItem, Group group)removes the requested group from the requested workspace item in terms of supervision.voidAccountService. sendForgotPasswordInfo(Context context, String email)voidAccountService. sendRegistrationInfo(Context context, String email)voidSubscribeService. subscribe(Context context, EPerson eperson, Collection collection)Subscribe an e-person to a collection.voidSubscribeService. unsubscribe(Context context, EPerson eperson, Collection collection)Unsubscribe an e-person to a collection. -
Uses of AuthorizeException in org.dspace.external.service
Methods in org.dspace.external.service that throw AuthorizeException Modifier and Type Method Description WorkspaceItemExternalDataService. 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 AuthorizeException Modifier and Type Method Description WorkspaceItemExternalDataServiceImpl. createWorkspaceItemFromExternalDataObject(Context context, ExternalDataObject externalDataObject, Collection collection) -
Uses of AuthorizeException in org.dspace.harvest
Methods in org.dspace.harvest that throw AuthorizeException Modifier and Type Method Description voidHarvestScheduler. addThread(Context context, HarvestedCollection harvestedCollection)Adds a thread to the ready stack.voidHarvestSchedulingServiceImpl. pauseScheduler()protected voidOAIHarvester. processRecord(org.jdom.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 Constructor Description HarvestScheduler() -
Uses of AuthorizeException in org.dspace.harvest.service
Methods in org.dspace.harvest.service that throw AuthorizeException Modifier and Type Method Description voidHarvestSchedulingService. 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 AuthorizeException Modifier and Type Method Description voidIdentifierServiceImpl. delete(Context context, DSpaceObject dso)voidIdentifierServiceImpl. delete(Context context, DSpaceObject dso, String identifier)protected StringVersionedDOIIdentifierProvider. makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history)protected StringVersionedHandleIdentifierProvider. makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history)protected StringVersionedHandleIdentifierProviderWithCanonicalHandles. makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history)protected voidVersionedHandleIdentifierProviderWithCanonicalHandles. modifyHandleMetadata(Context context, Item item, String handle)Remove all handles from an item's metadata and add the supplied handle instead.protected voidHandleIdentifierProvider. populateHandleMetadata(Context context, Item item, String handle)protected voidVersionedHandleIdentifierProvider. populateHandleMetadata(Context context, Item item, String handle)voidIdentifierServiceImpl. register(Context context, DSpaceObject dso)voidIdentifierServiceImpl. register(Context context, DSpaceObject object, String identifier)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 AuthorizeException Modifier and Type Method Description voidIdentifierService. 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)voidIdentifierService. register(Context context, DSpaceObject dso, String identifier)Used to Register a specific Identifier (for example a Handle, hdl:1234.5/6) The provider is responsible for detecting and processing the appropriate identifier.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 AuthorizeException Modifier and Type Method Description static byte[]LicenseCleanup. copy(Context context, Bitstream b)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)StringCreativeCommonsServiceImpl. getLicenseRDF(Context context, Item item)BitstreamCreativeCommonsServiceImpl. getLicenseRdfBitstream(Item item)BitstreamCreativeCommonsServiceImpl. getLicenseTextBitstream(Item item)Deprecated.StringCreativeCommonsServiceImpl. 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.StringLicenseMetadataValue. keyedItemValue(Item item, String key)Returns the value that matches the value mapped to the passed key if any.static voidLicenseCleanup. main(String[] args)voidLicenseMetadataValue. removeItemValue(Context context, Item item, String value)Removes the passed value from the set of values for the field in passed item.voidCreativeCommonsServiceImpl. removeLicense(Context context, Item item)voidCreativeCommonsServiceImpl. removeLicense(Context context, LicenseMetadataValue uriField, LicenseMetadataValue nameField, Item item)protected 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) -
Uses of AuthorizeException in org.dspace.license.service
Methods in org.dspace.license.service that throw AuthorizeException Modifier and Type Method Description StringCreativeCommonsService. getLicenseRDF(Context context, Item item)BitstreamCreativeCommonsService. getLicenseRdfBitstream(Item item)Get Creative Commons license RDF, returning Bitstream object.BitstreamCreativeCommonsService. getLicenseTextBitstream(Item item)Deprecated.to make uniform JSPUI and XMLUI approach the bitstream with the license in the textual format it is no longer stored (see https://jira.duraspace.org/browse/DS-2604)StringCreativeCommonsService. getLicenseURL(Context context, Item item)voidCreativeCommonsService. removeLicense(Context context, Item item)voidCreativeCommonsService. removeLicense(Context context, LicenseMetadataValue uriField, LicenseMetadataValue nameField, Item item)Remove license information, delete also the bitstreamvoidCreativeCommonsService. 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 bitstream -
Uses of AuthorizeException in org.dspace.plugin
Methods in org.dspace.plugin that throw AuthorizeException Modifier and Type Method Description voidCollectionHomeProcessor. process(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Collection collection)execute the processvoidCommunityHomeProcessor. process(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Community community)execute the processvoidItemHomeProcessor. process(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Item item)execute the processvoidSiteHomeProcessor. process(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)execute the process -
Uses of AuthorizeException in org.dspace.rdf
Methods in org.dspace.rdf that throw AuthorizeException Modifier and Type Method Description static com.hp.hpl.jena.rdf.model.ModelRDFUtil. convert(Context context, DSpaceObject dso)Converts the the provided DSpaceObject into RDF and returns the model.static com.hp.hpl.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 AuthorizeException Modifier and Type Method Description com.hp.hpl.jena.rdf.model.ModelConverterPlugin. convert(Context context, DSpaceObject dso)Convert the specified DSpaceObject or a part of it into RDF.com.hp.hpl.jena.rdf.model.ModelMetadataConverterPlugin. convert(Context context, DSpaceObject dso)com.hp.hpl.jena.rdf.model.ModelRDFConverter. convert(Context context, DSpaceObject dso)com.hp.hpl.jena.rdf.model.ModelRDFConverterImpl. convert(Context context, DSpaceObject dso) -
Uses of AuthorizeException in org.dspace.service
Methods in org.dspace.service that throw AuthorizeException Modifier and Type Method Description TDSpaceCRUDService. create(Context context)voidDSpaceCRUDService. delete(Context context, T t)voidDSpaceCRUDService. update(Context context, List<T> t)voidDSpaceCRUDService. update(Context context, T t) -
Uses of AuthorizeException in org.dspace.storage.bitstore
Methods in org.dspace.storage.bitstore that throw AuthorizeException Modifier and Type Method Description voidBitstreamStorageServiceImpl. cleanup(boolean deleteDbRecords, boolean verbose)BitstreamBitstreamStorageServiceImpl. clone(Context context, Bitstream bitstream)voidBitstreamStorageServiceImpl. migrate(Context context, Integer assetstoreSource, Integer assetstoreDestination, boolean deleteOld, Integer batchCommitSize)Migrates all assets off of one assetstore to anotherUUIDBitstreamStorageServiceImpl. 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 AuthorizeException Modifier and Type Method Description voidBitstreamStorageService. cleanup(boolean deleteDbRecords, boolean verbose)Clean up the bitstream storage area.BitstreamBitstreamStorageService. clone(Context context, Bitstream bitstream)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 assetstoreDestinationUUIDBitstreamStorageService. register(Context context, Bitstream bitstream, int assetstore, String bitstreamPath)Register a bitstream already in storage. -
Uses of AuthorizeException in org.dspace.submit.step
Methods in org.dspace.submit.step that throw AuthorizeException Modifier and Type Method Description protected voidMetadataStep. enrichItem(Context context, List<gr.ekt.bte.core.Record> rset, Item item) -
Uses of AuthorizeException in org.dspace.versioning
Methods in org.dspace.versioning that throw AuthorizeException Modifier and Type Method Description 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 AuthorizeException Modifier and Type Method Description WorkspaceItemWorkflowService. abort(Context c, T wi, EPerson e)abort() aborts a workflow, completely deleting it (administrator do this) (it will basically do a reject from any state - the item ends up back in the user's PersonalWorkspaceTWorkflowItemService. create(Context context, Item item, Collection collection)GroupWorkflowService. createWorkflowRoleGroup(Context context, Collection collection, String roleName)This method will create the workflowRoleGroup for a collection and the given rolenamevoidWorkflowItemService. delete(Context context, T workflowItem)Delete 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)GroupWorkflowService. getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup)WorkspaceItemWorkflowService. sendWorkflowItemBackSubmission(Context c, T workflowItem, EPerson e, String provenance, String rejection_message)TWorkflowService. start(Context context, WorkspaceItem wsi)startWorkflow() begins a workflow - in a single transaction do away with the PersonalWorkspace entry and turn it into a WorkflowItem.TWorkflowService. startWithoutNotify(Context c, WorkspaceItem wsi)startWithoutNotify() starts the workflow normally, but disables notifications (useful for large imports,) for the first workflow step - subsequent notifications happen normally -
Uses of AuthorizeException in org.dspace.workflowbasic
Methods in org.dspace.workflowbasic that throw AuthorizeException Modifier and Type Method Description WorkspaceItemBasicWorkflowServiceImpl. abort(Context context, BasicWorkflowItem workflowItem, EPerson e)voidBasicWorkflowServiceImpl. advance(Context context, BasicWorkflowItem workflowItem, EPerson e)booleanBasicWorkflowServiceImpl. advance(Context context, BasicWorkflowItem workflowItem, EPerson e, boolean curate, boolean record)protected ItemBasicWorkflowServiceImpl. archive(Context context, BasicWorkflowItem workflowItem)Commit the contained item to the main archive.protected voidBasicWorkflowServiceImpl. assignToReviewer(Context context, BasicWorkflowItem workflowItem, int step, EPerson newowner)Helper method to take an item out of the pool, to assign it to a reviewer and to deal with reviewer policies.voidBasicWorkflowServiceImpl. claim(Context context, BasicWorkflowItem workflowItem, EPerson e)BasicWorkflowItemBasicWorkflowItemServiceImpl. create(Context context, Item item, Collection collection)GroupBasicWorkflowServiceImpl. createWorkflowRoleGroup(Context context, Collection collection, String roleName)voidBasicWorkflowItemServiceImpl. delete(Context context, BasicWorkflowItem workflowItem)voidBasicWorkflowItemServiceImpl. deleteByCollection(Context context, Collection collection)voidBasicWorkflowServiceImpl. deleteCollection(Context context, Collection collection)voidBasicWorkflowItemServiceImpl. deleteWrapper(Context context, BasicWorkflowItem workflowItem)protected booleanBasicWorkflowServiceImpl. doState(Context context, BasicWorkflowItem workflowItem, int newstate, EPerson newowner)GroupBasicWorkflowServiceImpl. getWorkflowRoleGroup(Context context, Collection collection, String roleName, Group roleGroup)protected voidBasicWorkflowServiceImpl. grantReviewerPolicies(Context context, BasicWorkflowItem wfi, EPerson reviewer)This methods grants the appropriate permissions to reviewers so that they can read and edit metadata and read files and edit files if allowed by configuration.protected booleanBasicWorkflowServiceImpl. pool(Context context, BasicWorkflowItem workflowItem, int step)Helper method that manages state, policies, owner, notifies, tasklistitems and so on whenever an WorkflowItem should be added to a workflow step pool.protected voidBasicWorkflowServiceImpl. recordApproval(Context context, BasicWorkflowItem workflowItem, EPerson e)protected voidBasicWorkflowServiceImpl. recordStart(Context context, Item myitem)protected WorkspaceItemBasicWorkflowServiceImpl. returnToWorkspace(Context c, BasicWorkflowItem wfi)Return the workflow item to the workspace of the submitter.protected voidBasicWorkflowServiceImpl. revokeReviewerPolicies(Context context, Item item)This methods revokes any permission granted by the basic workflow systems on the item specified as attribute.WorkspaceItemBasicWorkflowServiceImpl. sendWorkflowItemBackSubmission(Context context, BasicWorkflowItem workflowItem, EPerson ePerson, String provenancePrefix, String rejection_message)BasicWorkflowItemBasicWorkflowServiceImpl. start(Context context, WorkspaceItem wsi)BasicWorkflowItemBasicWorkflowServiceImpl. startWithoutNotify(Context c, WorkspaceItem wsi)voidBasicWorkflowServiceImpl. unclaim(Context context, BasicWorkflowItem workflowItem, EPerson e)voidBasicWorkflowItemServiceImpl. update(Context context, BasicWorkflowItem workflowItem) -
Uses of AuthorizeException in org.dspace.workflowbasic.service
Methods in org.dspace.workflowbasic.service that throw AuthorizeException Modifier and Type Method Description voidBasicWorkflowService. advance(Context context, BasicWorkflowItem workflowItem, EPerson e)advance() sends an item forward in the workflow (reviewers, approvers, and editors all do an 'approve' to move the item forward) if the item arrives at the submit state, then remove the WorkflowItem and call the archive() method to put it in the archive, and email notify the submitter of a successful submissionbooleanBasicWorkflowService. advance(Context context, BasicWorkflowItem workflowItem, EPerson e, boolean curate, boolean record)advance() sends an item forward in the workflow (reviewers, approvers, and editors all do an 'approve' to move the item forward) if the item arrives at the submit state, then remove the WorkflowItem and call the archive() method to put it in the archive, and email notify the submitter of a successful submissionvoidBasicWorkflowService. claim(Context context, BasicWorkflowItem workflowItem, EPerson e)claim() claims a workflow task for an EPersonvoidBasicWorkflowService. unclaim(Context context, BasicWorkflowItem workflowItem, EPerson e)unclaim() returns an owned task/item to the pool -
Uses of AuthorizeException in org.dspace.xmlworkflow
Methods in org.dspace.xmlworkflow that throw AuthorizeException Modifier and Type Method Description WorkspaceItemXmlWorkflowServiceImpl. abort(Context c, XmlWorkflowItem wi, EPerson e)protected voidXmlWorkflowServiceImpl. activateFirstStep(Context context, Workflow wf, Step firstStep, XmlWorkflowItem wfi)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)GroupXmlWorkflowServiceImpl. createWorkflowRoleGroup(Context context, Collection collection, String roleName)voidXmlWorkflowServiceImpl. deleteAllPooledTasks(Context context, XmlWorkflowItem wi)voidXmlWorkflowServiceImpl. deleteAllTasks(Context context, XmlWorkflowItem wi)Deletes all tasks from this workflowflowitemvoidXmlWorkflowServiceImpl. deleteClaimedTask(Context c, XmlWorkflowItem wi, ClaimedTask task)voidXmlWorkflowServiceImpl. deleteCollection(Context context, Collection collection)voidXmlWorkflowServiceImpl. deletePooledTask(Context context, XmlWorkflowItem wi, PoolTask task)WorkflowActionConfigXmlWorkflowServiceImpl. doState(Context c, EPerson user, javax.servlet.http.HttpServletRequest request, int workflowItemId, Workflow workflow, WorkflowActionConfig currentActionConfig)GroupXmlWorkflowServiceImpl. 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)WorkflowActionConfigXmlWorkflowServiceImpl. 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)protected WorkspaceItemXmlWorkflowServiceImpl. returnToWorkspace(Context c, XmlWorkflowItem wfi)Return the workflow item to the workspace of the submitter.protected voidXmlWorkflowServiceImpl. revokeReviewerPolicies(Context context, Item item)WorkspaceItemXmlWorkflowServiceImpl. sendWorkflowItemBackSubmission(Context context, XmlWorkflowItem wi, EPerson e, String provenance, String rejection_message)XmlWorkflowItemXmlWorkflowServiceImpl. start(Context context, WorkspaceItem wsi)XmlWorkflowItemXmlWorkflowServiceImpl. startWithoutNotify(Context context, WorkspaceItem wsi)startWithoutNotify() starts the workflow normally, but disables notifications (useful for large imports,) for the first workflow step - subsequent notifications happen normally -
Uses of AuthorizeException in org.dspace.xmlworkflow.service
Methods in org.dspace.xmlworkflow.service that throw AuthorizeException Modifier and Type Method Description voidWorkflowRequirementsService. addClaimedUser(Context context, XmlWorkflowItem wfi, Step step, EPerson user)Adds a claimed user in the metadata if enough users have claimed this task (claimed or finished) to meet the required number the pooled tasks will be deletedvoidWorkflowRequirementsService. addFinishedUser(Context context, XmlWorkflowItem wfi, EPerson user)Adds a finished user in the metadata this method will also remove the user from the inprogress metadatavoidWorkflowRequirementsService. clearInProgressUsers(Context context, XmlWorkflowItem wfi)voidXmlWorkflowService. createOwnedTask(Context context, XmlWorkflowItem wi, Step step, WorkflowActionConfig action, EPerson e)voidXmlWorkflowService. createPoolTasks(Context context, XmlWorkflowItem wi, RoleMembers assignees, Step step, WorkflowActionConfig action)voidXmlWorkflowService. deleteAllPooledTasks(Context c, XmlWorkflowItem wi)voidXmlWorkflowService. deleteAllTasks(Context context, XmlWorkflowItem wi)voidXmlWorkflowService. deleteClaimedTask(Context c, XmlWorkflowItem wi, ClaimedTask task)voidXmlWorkflowService. deletePooledTask(Context context, XmlWorkflowItem wi, PoolTask task)WorkflowActionConfigXmlWorkflowService. doState(Context c, EPerson user, javax.servlet.http.HttpServletRequest request, int workflowItemId, Workflow workflow, WorkflowActionConfig currentActionConfig)voidXmlWorkflowService. grantUserAllItemPolicies(Context context, Item item, EPerson epa, String actionType)WorkflowActionConfigXmlWorkflowService. processOutcome(Context c, EPerson user, Workflow workflow, Step currentStep, WorkflowActionConfig currentActionConfig, ActionResult currentOutcome, XmlWorkflowItem wfi, boolean enteredNewStep)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 AuthorizeException Modifier and Type Method Description abstract voidAction. activate(Context c, XmlWorkflowItem wf)abstract ActionResultAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)abstract booleanAction. isAuthorized(Context context, javax.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) -
Uses of AuthorizeException in org.dspace.xmlworkflow.state.actions.processingaction
Methods in org.dspace.xmlworkflow.state.actions.processingaction that throw AuthorizeException Modifier and Type Method Description ActionResultAcceptEditRejectAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultFinalEditAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultReviewAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultScoreEvaluationAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultScoreReviewAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultSelectReviewerAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultSingleUserReviewAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultAcceptEditRejectAction. processAccept(Context c, XmlWorkflowItem wfi)ActionResultReviewAction. processAccept(Context c, XmlWorkflowItem wfi)ActionResultFinalEditAction. processMainPage(Context c, XmlWorkflowItem wfi, javax.servlet.http.HttpServletRequest request)ActionResultSingleUserReviewAction. processMainPage(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultAcceptEditRejectAction. processRejectPage(Context c, XmlWorkflowItem wfi, javax.servlet.http.HttpServletRequest request)ActionResultReviewAction. processRejectPage(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultSingleUserReviewAction. processRejectPage(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request) -
Uses of AuthorizeException in org.dspace.xmlworkflow.state.actions.userassignment
Methods in org.dspace.xmlworkflow.state.actions.userassignment that throw AuthorizeException Modifier and Type Method Description voidClaimAction. 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 itemActionResultAssignOriginalSubmitterAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultAutoAssignAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)ActionResultClaimAction. execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request)booleanUserSelectionAction. isAuthorized(Context context, javax.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 AuthorizeException Modifier and Type Method Description ClaimedTaskClaimedTaskServiceImpl. create(Context context)InProgressUserInProgressUserServiceImpl. create(Context context)PoolTaskPoolTaskServiceImpl. create(Context context)WorkflowItemRoleWorkflowItemRoleServiceImpl. create(Context context)XmlWorkflowItemXmlWorkflowItemServiceImpl. create(Context context, Item item, Collection collection)voidClaimedTaskServiceImpl. delete(Context context, ClaimedTask claimedTask)voidInProgressUserServiceImpl. delete(Context context, InProgressUser inProgressUser)voidPoolTaskServiceImpl. delete(Context context, PoolTask poolTask)voidWorkflowItemRoleServiceImpl. delete(Context context, WorkflowItemRole workflowItemRole)voidXmlWorkflowItemServiceImpl. delete(Context context, XmlWorkflowItem workflowItem)voidXmlWorkflowItemServiceImpl. deleteByCollection(Context context, Collection collection)voidClaimedTaskServiceImpl. deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem)voidPoolTaskServiceImpl. deleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem)voidWorkflowItemRoleServiceImpl. deleteForWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem)voidXmlWorkflowItemServiceImpl. deleteWrapper(Context context, XmlWorkflowItem workflowItem)List<PoolTask>PoolTaskServiceImpl. findByEperson(Context context, EPerson ePerson)PoolTaskPoolTaskServiceImpl. 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)voidPoolTaskServiceImpl. update(Context context, List<PoolTask> poolTasks)voidPoolTaskServiceImpl. update(Context context, PoolTask poolTask)voidWorkflowItemRoleServiceImpl. 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 AuthorizeException Modifier and Type Method Description voidClaimedTaskService. deleteByWorkflowItem(Context context, XmlWorkflowItem workflowItem)voidPoolTaskService. deleteByWorkflowItem(Context context, XmlWorkflowItem xmlWorkflowItem)voidWorkflowItemRoleService. deleteForWorkflowItem(Context context, XmlWorkflowItem wfi)List<PoolTask>PoolTaskService. findByEperson(Context context, EPerson ePerson)PoolTaskPoolTaskService. findByWorkflowIdAndEPerson(Context context, XmlWorkflowItem workflowItem, EPerson ePerson)
-