Uses of Class
org.mycore.datamodel.metadata.MCRObjectID
Package
Description
All classes related to the change history of
MCRObject
and MCRDerivate
.Contains classes dealing with sharing of metadata.
Implements a generic basket of entries and a web frontend to display/add/remove/reorder/comment entries.
Implementations of the
MCRSolrIndexHandler
interfaceContains Classes/Interfaces to configure/extend the behavior of the MyCoRe-Sword2-Implementation.
iview configuration
-
Uses of MCRObjectID in org.mycore.access
Modifier and TypeMethodDescriptionstatic void
MCRAccessManager.addRule
(MCRObjectID id, String permission, Element rule, String description) adds an access rule for an MCRObjectID to an access system.static boolean
MCRAccessManager.checkDerivateContentPermission
(MCRObjectID derId, String permission) checks if the current user has the permission to perform an action on the derivate content.static boolean
MCRAccessManager.checkDerivateMetadataPermission
(MCRObjectID derId, String permission) checks if the current user has the permission to perform an action on the derivate metadata.static boolean
MCRAccessManager.checkPermission
(MCRObjectID id, String permission) determines whether the current user has the permission to perform a certain action.static Collection<String>
MCRAccessManager.getPermissionsForID
(MCRObjectID id) lists all permissions defined for theid
.static void
MCRAccessManager.removeAllRules
(MCRObjectID id) removes all rules for the MCRObjectID.static void
MCRAccessManager.removeRule
(MCRObjectID id, String permission) removes thepermission
rule for the MCRObjectID.static void
MCRAccessManager.updateRule
(MCRObjectID id, String permission, Element rule, String description) updates an access rule for an MCRObjectID. -
Uses of MCRObjectID in org.mycore.access.facts
-
Uses of MCRObjectID in org.mycore.access.facts.fact
-
Uses of MCRObjectID in org.mycore.backend.jpa
ModifierConstructorDescriptionUse this constructor for quick queries. -
Uses of MCRObjectID in org.mycore.backend.jpa.objectinfo
Modifier and TypeMethodDescriptionMCRObjectInfoEntityQueryResolver.getIds
(MCRObjectQuery objectQuery) Modifier and TypeMethodDescriptionstatic MCRObjectInfoEntity
MCRObjectInfoEntityManager.getByID
(MCRObjectID id) loads aMCRObjectInfoEntity
from the databasevoid
MCRObjectInfoEntity.setId
(MCRObjectID id) -
Uses of MCRObjectID in org.mycore.datamodel.classifications2
-
Uses of MCRObjectID in org.mycore.datamodel.common
Modifier and TypeMethodDescriptionvoid
MCRLinkTableManager.addReferenceLink
(MCRObjectID from, MCRObjectID to, String type, String attr) The method add a reference link pair.int
MCRLinkTableManager.countReferenceLinkTo
(MCRObjectID to) The method count the reference links for a given target MCRobjectID.void
MCRDefaultXMLMetadataManager.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified) void
MCRXMLMetadataManager.create
(MCRObjectID mcrid, byte[] xml, Date lastModified) Stores metadata of a new MCRObject in the persistent store.void
MCRXMLMetadataManager.create
(MCRObjectID mcrid, Document xml, Date lastModified) Stores metadata of a new MCRObject in the persistent store.void
MCRXMLMetadataManager.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified) Delegation, see linked method for relevant documentation.void
MCRXMLMetadataManagerAdapter.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified) Stores metadata of a new MCRObject in the persistent store.void
MCRXMLMetadataManager.createOrUpdate
(MCRObjectID mcrid, Document xml, Date lastModified) Creates or updates metadata of a MCRObject in the persistent store.void
MCRDefaultXMLMetadataManager.delete
(MCRObjectID mcrid) void
MCRLinkTableManager.delete
(MCRObjectID id) Removes all references of this object.void
MCRXMLMetadataManager.delete
(MCRObjectID mcrid) Delegation, see linked method for relevant documentation.void
MCRXMLMetadataManagerAdapter.delete
(MCRObjectID mcrid) Delete metadata in store.void
MCRLinkTableManager.deleteReferenceLink
(MCRObjectID from) The method delete a reference link.boolean
MCRDefaultXMLMetadataManager.exists
(MCRObjectID mcrid) boolean
MCRXMLMetadataManager.exists
(MCRObjectID mcrid) Delegation, see linked method for relevant documentation.boolean
MCRXMLMetadataManagerAdapter.exists
(MCRObjectID mcrid) Checks if an object with the given MCRObjectID exists in the store.static String
MCRCreatorCache.getCreator
(MCRObjectID objectId) Returns the creator by givenMCRObjectID
.MCRLinkTableManager.getDestinationOf
(MCRObjectID from, String type) Returns a List of all link destinations offrom
and a specialtype
long
MCRDefaultXMLMetadataManager.getLastModified
(MCRObjectID id) long
MCRXMLMetadataManager.getLastModified
(MCRObjectID id) Delegation, see linked method for relevant documentation.long
MCRXMLMetadataManagerAdapter.getLastModified
(MCRObjectID id) Returns the time when the xml data of a MCRObject was last modified.MCRDefaultXMLMetadataManager.getLastModifiedHandle
(MCRObjectID id, long expire, TimeUnit unit) MCRXMLMetadataManager.getLastModifiedHandle
(MCRObjectID id, long expire, TimeUnit unit) Delegation, see linked method for relevant documentation.MCRXMLMetadataManagerAdapter.getLastModifiedHandle
(MCRObjectID id, long expire, TimeUnit unit) MCRLinkTableManager.getSourceOf
(MCRObjectID to) Returns a List of all link sources ofto
MCRLinkTableManager.getSourceOf
(MCRObjectID to, String type) Returns a List of all link sources ofto
and a specialtype
static void
MCRCreatorCache.invalidate
(MCRObjectID objectId) Discard the cached creator for givenMCRObjectID
.boolean
MCRMarkManager.isMarked
(MCRObjectID mcrId) Checks if the object is marked.boolean
MCRMarkManager.isMarkedForDeletion
(MCRObjectID mcrId) Checks if the object is marked for deletion.boolean
MCRMarkManager.isMarkedForImport
(MCRObjectID mcrId) Checks if the object is marked for import.MCRDefaultXMLMetadataManager.listRevisions
(MCRObjectID id) List<? extends MCRAbstractMetadataVersion<?>>
MCRXMLMetadataManager.listRevisions
(MCRObjectID id) Delegation, see linked method for relevant documentation.List<? extends MCRAbstractMetadataVersion<?>>
MCRXMLMetadataManagerAdapter.listRevisions
(MCRObjectID id) Lists all versions of this metadata object available in the subversion repository.MCRMarkManager.mark
(MCRObjectID mcrId, MCRMarkManager.Operation operation) Marks a single object with the given operation.void
MCRMarkManager.remove
(MCRObjectID mcrId) Removes the current mark for the given mycore identifier.byte[]
MCRXMLMetadataManager.retrieveBLOB
(MCRObjectID mcrid) Retrieves stored metadata xml as byte[] BLOB.MCRDefaultXMLMetadataManager.retrieveContent
(MCRObjectID mcrid) MCRDefaultXMLMetadataManager.retrieveContent
(MCRObjectID mcrid, String revision) MCRXMLMetadataManager.retrieveContent
(MCRObjectID mcrid) Delegation, see linked method for relevant documentation.MCRXMLMetadataManager.retrieveContent
(MCRObjectID mcrid, String revision) Delegation, see linked method for relevant documentation.MCRXMLMetadataManagerAdapter.retrieveContent
(MCRObjectID mcrid) Retrieves the (latest) content of a metadata object.MCRXMLMetadataManagerAdapter.retrieveContent
(MCRObjectID mcrid, String revision) Retrieves the content of a specific revision of a metadata object.MCRXMLMetadataManager.retrieveXML
(MCRObjectID mcrid) Retrieves stored metadata xml as JDOM documentvoid
MCRDefaultXMLMetadataManager.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified) void
MCRLinkTableManager.update
(MCRObjectID id) Updates all references of this object.void
MCRXMLMetadataManager.update
(MCRObjectID mcrid, byte[] xml, Date lastModified) Updates metadata of existing MCRObject in the persistent store.void
MCRXMLMetadataManager.update
(MCRObjectID mcrid, Document xml, Date lastModified) Updates metadata of existing MCRObject in the persistent store.void
MCRXMLMetadataManager.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified) Delegation, see linked method for relevant documentation.void
MCRXMLMetadataManagerAdapter.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified) Updates metadata of existing MCRObject in the persistent store.protected static void
MCRServiceFlagEventHandler.updateDerivateState
(MCRObjectID derID, MCRCategoryID state) -
Uses of MCRObjectID in org.mycore.datamodel.metadata
Modifier and TypeMethodDescriptionfinal MCRObjectID
MCRBase.getId()
This methode return the object id.static MCRObjectID
MCRObjectID.getInstance
(String id) This method instantiate this class with a given identifier in MyCoRe schema.static MCRObjectID
Returns the last ID used or reserved for the given object base type.static MCRObjectID
MCRObjectID.getNextFreeId
(String baseId) Returns a MCRObjectID from a given base ID string.static MCRObjectID
MCRObjectID.getNextFreeId
(String baseId, int maxInWorkflow) Returns a MCRObjectID from a given base ID string.static MCRObjectID
MCRObjectID.getNextFreeId
(String projectId, String type) Returns a MCRObjectID from a given the components of a base ID string.static MCRObjectID
MCRMetadataManager.getObjectId
(MCRObjectID derivateID, long expire, TimeUnit unit) Returns the MCRObjectID of the object containing derivate with the given ID.MCRDerivate.getOwnerID()
MCRObject.getParent()
final MCRObjectID
MCRObjectStructure.getParentID()
The method return the parent reference as a MCRObjectID.final MCRObjectID
MCRMetaLinkID.getXLinkFromID()
This method get the xlink:from element as MCRObjectID.final MCRObjectID
MCRMetaLinkID.getXLinkHrefID()
This method get the xlink:href element as MCRObjectID.final MCRObjectID
MCRMetaLinkID.getXLinkToID()
This method get the xlink:to element as MCRObjectID.Modifier and TypeMethodDescriptionstatic List<MCRObjectID>
MCRMetadataManager.getDerivateIds
(MCRObjectID objectId, long expire, TimeUnit unit) Returns a list of MCRObjectID of the derivates contained in the object with the given ID.static List<MCRObjectID>
MCRObjectUtils.getDerivates
(MCRObjectID mcrObjectID) Returns all derivates connected with this object.Modifier and TypeMethodDescriptionstatic boolean
MCRMetadataManager.addOrUpdateDerivateToObject
(MCRObjectID id, MCRMetaEnrichedLinkID link) Adds or updates a derivate MCRMetaLinkID to the structure part and updates the object with the ID in the data store.int
MCRObjectID.compareTo
(MCRObjectID o) final boolean
MCRObjectStructure.containsChild
(MCRObjectID childId) Checks if the child is in the children vector.final boolean
MCRObjectStructure.containsDerivate
(MCRObjectID derivateId) Checks if the derivate is in the derivate vector.static void
MCRMetadataManager.deleteMCRDerivate
(MCRObjectID id) Delete the derivate.static void
MCRMetadataManager.deleteMCRObject
(MCRObjectID id) Deletes the object.boolean
MCRObjectID.equals
(MCRObjectID in) This method check this data again the input and retuns the result as boolean.static boolean
MCRMetadataManager.exists
(MCRObjectID id) Tells if the object or derivate withid
exists.static List<MCRObjectID>
MCRMetadataManager.getDerivateIds
(MCRObjectID objectId, long expire, TimeUnit unit) Returns a list of MCRObjectID of the derivates contained in the object with the given ID.final MCRMetaEnrichedLinkID
MCRObjectStructure.getDerivateLink
(MCRObjectID derivateId) Returns the derivate link by id or null.static List<MCRObjectID>
MCRObjectUtils.getDerivates
(MCRObjectID mcrObjectID) Returns all derivates connected with this object.static MCRObjectID
MCRMetadataManager.getObjectId
(MCRObjectID derivateID, long expire, TimeUnit unit) Returns the MCRObjectID of the object containing derivate with the given ID.final boolean
MCRObjectStructure.removeChild
(MCRObjectID href) removes a child link to another object.final boolean
MCRObjectStructure.removeDerivate
(MCRObjectID href) removes a derivate link.static boolean
MCRMetadataManager.removeDerivateFromObject
(MCRObjectID objectID, MCRObjectID derivateID) static boolean
MCRObjectUtils.removeLink
(MCRObject source, MCRObjectID linkToRemove) Removes the linkToRemove in the metadata and the structure part of the source object.MCRObjectUtils.removeLinks
(MCRObjectID sourceId) Removes all links of the source object.static <T extends MCRBase>
TMCRObjectUtils.restore
(MCRObjectID mcrId, String revision) Restores a MyCoRe Object to the selected revision.static MCRBase
MCRMetadataManager.retrieve
(MCRObjectID id) static MCRDerivate
MCRMetadataManager.retrieveMCRDerivate
(MCRObjectID id) Retrieves instance ofMCRDerivate
with the givenMCRObjectID
static MCRObject
MCRMetadataManager.retrieveMCRObject
(MCRObjectID id) Retrieves an instance ofMCRObject
with the givenMCRObjectID
final void
MCRMetaLinkID.setBiLink
(MCRObjectID from, MCRObjectID to, String title) This method set a bidirectional link with xlink:from, xlink:to and xlink:title.void
MCRBase.setId
(MCRObjectID id) This method set the object ID.void
MCRDerivate.setId
(MCRObjectID id) final void
MCRObjectStructure.setParent
(MCRObjectID parentID) final void
MCRMetaLinkID.setReference
(MCRObjectID href, String label, String title) This method set a reference with xlink:href, xlink:label and xlink:title.ModifierConstructorDescriptionMCRMetaLinkID
(String subtag, MCRObjectID id, String label, String title) initializes with all values needed to link to an MCRObject.MCRMetaLinkID
(String subtag, MCRObjectID id, String label, String title, String role) initializes with all values needed to link to an MCRObject.MCRObjectDerivate
(MCRObjectID derivateID) This is the constructor of the MCRObjectDerivate class.MCRObjectDerivate
(MCRObjectID derivateID, Element derivate) -
Uses of MCRObjectID in org.mycore.datamodel.metadata.history
Modifier and TypeMethodDescriptionstatic Map<MCRObjectID,
Instant> MCRMetadataHistoryManager.getDeletedItems
(Instant from, Optional<Instant> until) static Optional<MCRObjectID>
MCRMetadataHistoryManager.getHighestStoredID
(String project, String type) Modifier and TypeMethodDescriptionMCRMetadataHistoryManager.getLastDeletedDate
(MCRObjectID identifier) static List<MCRMetaHistoryItem>
MCRMetadataHistoryManager.listNextDerivateIDs
(MCRObjectID afterID, int maxResults) static List<MCRMetaHistoryItem>
MCRMetadataHistoryManager.listNextObjectIDs
(MCRObjectID afterID, int maxResults) void
MCRMetaHistoryItem.setId
(MCRObjectID id) -
Uses of MCRObjectID in org.mycore.datamodel.metadata.validator
ModifierConstructorDescriptionMCREditorOutValidator
(Document jdomIn, MCRObjectID id) instantiate the validator with the editor inputjdom_in
. -
Uses of MCRObjectID in org.mycore.datamodel.objectinfo
Modifier and TypeMethodDescriptionMCRObjectQueryResolver.getIds
(MCRObjectQuery objectQuery) Gets all object info which match the restrictions of the queryModifier and TypeMethodDescriptionMCRObjectQuery.afterId
(MCRObjectID lastId) modifies this query to only return object ids after lastId should not be used together with theMCRObjectQuery.sort(SortBy, SortOrder)
method -
Uses of MCRObjectID in org.mycore.frontend.basket
Modifier and TypeMethodDescriptionstatic void
MCRBasketPersistence.createDerivateWithBasket
(MCRBasket basket, MCRObjectID ownerID) Creates a new derivate including a file basket.xml which stores the persistent data of the given basket. -
Uses of MCRObjectID in org.mycore.frontend.fileupload
Modifier and TypeMethodDescriptionprotected void
MCRUploadHandlerIFS.setDefaultPermissions
(MCRObjectID derivateID) -
Uses of MCRObjectID in org.mycore.frontend.filter
Modifier and TypeMethodDescriptionstatic String
MCRSecureTokenV2FilterConfig.getFileNodeServletSecured
(MCRObjectID derivate, String path) static String
MCRSecureTokenV2FilterConfig.getFileNodeServletSecured
(MCRObjectID derivate, String path, String baseURL) -
Uses of MCRObjectID in org.mycore.frontend.jersey
Modifier and TypeMethodDescriptionstatic void
MCRJerseyUtil.checkDerivateReadPermission
(MCRObjectID id) Checks if the current user has the read permission on the given derivate content.static void
MCRJerseyUtil.checkPermission
(MCRObjectID id, String permission) Checks if the current user has the given permission. -
Uses of MCRObjectID in org.mycore.frontend.support
Modifier and TypeMethodDescriptionstatic MCRSession
MCRObjectIDLockTable.getLocker
(MCRObjectID objectId) static boolean
MCRObjectIDLockTable.isLockedByCurrentSession
(MCRObjectID objectId) static void
MCRObjectIDLockTable.lock
(MCRObjectID objectId) static void
MCRObjectIDLockTable.unlock
(MCRObjectID objectId) -
Uses of MCRObjectID in org.mycore.impex
Modifier and TypeMethodDescriptionprotected void
MCRTransferPackage.resolveChildrenAndLinks
(MCRObject object, LinkedHashMap<MCRObjectID, MCRObject> objectMap, Set<MCRCategoryID> categories) Fills the given objectMap with all children and links of the object. -
Uses of MCRObjectID in org.mycore.mcr.acl.accesskey
Modifier and TypeMethodDescriptionstatic List<MCRAccessKey>
MCRAccessKeyTransformer.accessKeysFromElement
(MCRObjectID objectId, Element element) Transforms service element toMCRAccessKey
liststatic void
MCRAccessKeyManager.addAccessKeys
(MCRObjectID objectId, List<MCRAccessKey> accessKeys) AddsMCRAccessKey
list for givenMCRObjectID
.static void
MCRAccessKeyUtils.addAccessKeySecret
(MCRSession session, MCRObjectID objectId, String value) static void
MCRAccessKeyUtils.addAccessKeySecret
(MCRUser user, MCRObjectID objectId, String value) Adds the value of aMCRAccessKey
as user attribute to aMCRUser
for aMCRObjectID
including derivates.static void
MCRAccessKeyUtils.addAccessKeySecretForObject
(MCRSession session, MCRObjectID objectId, String value) static void
MCRAccessKeyUtils.addAccessKeySecretForObject
(MCRUser user, MCRObjectID objectId, String value) static void
MCRAccessKeyUtils.addAccessKeySecretToCurrentSession
(MCRObjectID objectId, String value) static void
MCRAccessKeyUtils.addAccessKeySecretToCurrentUser
(MCRObjectID objectId, String value) static void
MCRAccessKeyManager.clearAccessKeys
(MCRObjectID objectId) Deletes the allMCRAccessKey
for givenMCRObjectID
.static void
MCRAccessKeyManager.createAccessKey
(MCRObjectID objectId, MCRAccessKey accessKey) Creates aMCRAccessKey
for givenMCRObjectID
.static String
MCRAccessKeyUtils.getAccessKeySecret
(MCRSession session, MCRObjectID objectId) Fetches access key value from session attribute for aMCRObjectID
.static String
MCRAccessKeyUtils.getAccessKeySecret
(MCRUserInformation userInformation, MCRObjectID objectId) Fetches access key value from user attribute for aMCRObjectID
.static String
MCRAccessKeyUtils.getAccessKeySecretFromCurrentSession
(MCRObjectID objectId) Fetches access key value from session attribute for aMCRObjectID
.static String
MCRAccessKeyUtils.getAccessKeySecretFromCurrentUser
(MCRObjectID objectId) Fetches access key value from user attribute for aMCRObjectID
.static MCRAccessKey
MCRAccessKeyManager.getAccessKeyWithSecret
(MCRObjectID objectId, String secret) Return theMCRAccessKey
for givenMCRObjectID
and secret.static MCRAccessKey
MCRAccessKeyUtils.getLinkedAccessKey
(MCRSession session, MCRObjectID objectId) Retrieves linked access key if exists from sessionstatic MCRAccessKey
MCRAccessKeyUtils.getLinkedAccessKey
(MCRUserInformation userInformation, MCRObjectID objectId) Retrieves linked access key if exists from userstatic MCRAccessKey
MCRAccessKeyUtils.getLinkedAccessKeyFromCurrentSession
(MCRObjectID objectId) Retrieves linked access key if exists from current sessionstatic MCRAccessKey
MCRAccessKeyUtils.getLinkedAccessKeyFromCurrentUser
(MCRObjectID objectId) Retrieves linked access key if exists from current userstatic String
MCRAccessKeyManager.hashSecret
(String secret, MCRObjectID objectId) Encrypts secret and usesMCRObjectID
as salt.static List<MCRAccessKey>
MCRAccessKeyManager.listAccessKeys
(MCRObjectID objectId) Returns all access keys for givenMCRObjectID
.static List<MCRAccessKey>
MCRAccessKeyManager.listAccessKeysWithType
(MCRObjectID objectId, String type) Return the access keys for givenMCRObjectID
and type.static void
MCRAccessKeyManager.removeAccessKey
(MCRObjectID objectId, String secret) RemovesMCRAccessKey
for givenMCRObjectID
and secret.static void
MCRAccessKeyUtils.removeAccessKeySecret
(MCRSession session, MCRObjectID objectId) Deletes the access key value attribute from givenMCRSession
forMCRObjectID
.static void
MCRAccessKeyUtils.removeAccessKeySecret
(MCRUser user, MCRObjectID objectId) Deletes the access key value user attribute from givenMCRUser
forMCRObjectID
.static void
MCRAccessKeyUtils.removeAccessKeySecretFromCurrentSession
(MCRObjectID objectId) Deletes access key value attribute from currentMCRSession
for aMCRObjectID
.static void
MCRAccessKeyUtils.removeAccessKeySecretFromCurrentUser
(MCRObjectID objectId) Deletes access key value user attribute from currentMCRUser
for aMCRObjectID
.static void
MCRAccessKeyManager.updateAccessKey
(MCRObjectID objectId, String secret, MCRAccessKey updatedAccessKey) UpdatesMCRAccessKey
-
Uses of MCRObjectID in org.mycore.mcr.acl.accesskey.model
-
Uses of MCRObjectID in org.mycore.mcr.acl.accesskey.restapi.v2
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
MCRRestDerivateAccessKeys.createAccessKeyForDerivate
(MCRObjectID derivateId, String accessKeyJson) jakarta.ws.rs.core.Response
MCRRestObjectAccessKeys.createAccessKeyForObject
(MCRObjectID objectId, String accessKeyJson) protected static jakarta.ws.rs.core.Response
MCRRestAccessKeyHelper.doCreateAccessKey
(MCRObjectID objectId, String accessKeyJson, jakarta.ws.rs.core.UriInfo uriInfo) protected static jakarta.ws.rs.core.Response
MCRRestAccessKeyHelper.doGetAccessKey
(MCRObjectID objectId, String secret, String secretEncoding) protected static jakarta.ws.rs.core.Response
MCRRestAccessKeyHelper.doListAccessKeys
(MCRObjectID objectId, int offset, int limit) protected static jakarta.ws.rs.core.Response
MCRRestAccessKeyHelper.doRemoveAccessKey
(MCRObjectID objectId, String secret, String secretEncoding) protected static jakarta.ws.rs.core.Response
MCRRestAccessKeyHelper.doUpdateAccessKey
(MCRObjectID objectId, String secret, String accessKeyJson, String secretEncoding) jakarta.ws.rs.core.Response
MCRRestDerivateAccessKeys.getAccessKeyFromDerivate
(MCRObjectID derivateId, String secret, String secretEncoding) jakarta.ws.rs.core.Response
MCRRestObjectAccessKeys.getAccessKeyFromObject
(MCRObjectID objectId, String secret, String secretEncoding) jakarta.ws.rs.core.Response
MCRRestDerivateAccessKeys.listAccessKeysForDerivate
(MCRObjectID derivateId, int offset, int limit) jakarta.ws.rs.core.Response
MCRRestObjectAccessKeys.listAccessKeysForObject
(MCRObjectID objectId, int offset, int limit) jakarta.ws.rs.core.Response
MCRRestDerivateAccessKeys.removeAccessKeyFromDerivate
(MCRObjectID derivateId, String secret, String secretEncoding) jakarta.ws.rs.core.Response
MCRRestObjectAccessKeys.removeAccessKeyFromObject
(MCRObjectID objectId, String secret, String secretEncoding) jakarta.ws.rs.core.Response
MCRRestDerivateAccessKeys.updateAccessKeyFromDerivate
(MCRObjectID derivateId, String encodedSecret, String accessKeyJson, String secretEncoding) jakarta.ws.rs.core.Response
MCRRestObjectAccessKeys.updateAccessKeyFromObject
(MCRObjectID objectId, String secret, String accessKeyJson, String secretEncoding) -
Uses of MCRObjectID in org.mycore.mcr.acl.accesskey.strategy
Modifier and TypeMethodDescriptionboolean
MCRAccessKeyStrategy.checkDerivatePermission
(MCRObjectID objectId, String permission) Fetches access key and checks derivate permissionboolean
MCRAccessKeyStrategy.checkObjectPermission
(MCRObjectID objectId, String permission) Fetches access key and checks object permission -
Uses of MCRObjectID in org.mycore.mets.model
Modifier and TypeMethodDescriptionMCRDefaultLogicalStructMapTypeProvider.getType
(MCRObjectID objectId) MCRILogicalStructMapTypeProvider.getType
(MCRObjectID objectId) -
Uses of MCRObjectID in org.mycore.mets.tools
Modifier and TypeMethodDescriptionstatic boolean
MCRMetsSave.isComplete
(org.mycore.mets.model.Mets mets, MCRObjectID derivateId) static boolean
MCRMetsSave.saveMets
(Document document, MCRObjectID derivateId) Saves the content of the given document to file and then adds the file to the derivate with the given id.static boolean
MCRMetsSave.saveMets
(Document document, MCRObjectID derivateId, boolean overwrite, boolean validate) Saves the content of the given document to file, if no mets present and then adds the file to the derivate with the given id.static void
MCRMetsSave.updateMetsOnUrnGenerate
(MCRObjectID derivateID, Map<String, String> fileUrnMap) Inserts the given URNs into the Mets document. -
Uses of MCRObjectID in org.mycore.mods
Modifier and TypeMethodDescriptionstatic String
MCRMODSEmbargoUtils.getCachedEmbargo
(MCRObjectID objectId) static String
MCRMODSEmbargoUtils.getEmbargo
(MCRObjectID objectId) Returns the embargo ornull
if none is set or is allowed to read.MCRMODSEmbargoUtils.getEmbargoDate
(MCRObjectID object) static boolean
MCRMODSEmbargoUtils.isCurrentUserCreator
(MCRObjectID objectId) static boolean
MCRMODSWrapper.isSupported
(MCRObjectID id) Returns true of the givenMCRObjectID
has a mods type.protected static void
MCRMODSCommands.setDefaultPermissions
(MCRObjectID derivateID) -
Uses of MCRObjectID in org.mycore.ocfl
Modifier and TypeMethodDescriptionvoid
MCROCFLXMLMetadataManager.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified) void
MCROCFLXMLMetadataManager.create
(MCRObjectID mcrid, MCRContent xml, Date lastModified, String user) void
MCROCFLXMLMetadataManager.delete
(MCRObjectID mcrid) void
MCROCFLXMLMetadataManager.delete
(MCRObjectID mcrid, Date date, String user) boolean
MCROCFLXMLMetadataManager.exists
(MCRObjectID mcrid) long
MCROCFLXMLMetadataManager.getLastModified
(MCRObjectID id) MCROCFLXMLMetadataManager.getLastModifiedHandle
(MCRObjectID id, long expire, TimeUnit unit) MCROCFLXMLMetadataManager.listRevisions
(MCRObjectID id) MCROCFLXMLMetadataManager.retrieveContent
(MCRObjectID mcrid) MCROCFLXMLMetadataManager.retrieveContent
(MCRObjectID mcrid, String revision) void
MCROCFLXMLMetadataManager.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified) void
MCROCFLXMLMetadataManager.update
(MCRObjectID mcrid, MCRContent xml, Date lastModified, String user) -
Uses of MCRObjectID in org.mycore.orcid.user
Modifier and TypeMethodDescriptionMCRORCIDUser.getPublicationStatus
(MCRObjectID oid) boolean
MCRORCIDUser.isMyPublication
(MCRObjectID oid) -
Uses of MCRObjectID in org.mycore.orcid.works
Modifier and TypeMethodDescriptionMCRWorksSection.addWorkFrom
(MCRObjectID objectID) Adds a new "work" to the remote ORCID profile.boolean
MCRWorksSection.containsOwnWork
(MCRObjectID oid) boolean
MCRWorksSection.containsWork
(MCRObjectID oid) Returns true, if there is a work in the ORCID profile that's origin is the given MyCoRe objectMCRWorksSection.findOwnWork
(MCRObjectID oid) MCRWorksSection.findWork
(MCRObjectID oid) Returns the work originating from the given local object, if any.protected void
MCRWorkEventHandler.publishToORCID
(MCRObjectID oid, MCRORCIDUser user) void
MCRWork.update
(MCRObjectID objectID) If this work's source is this MyCoRe application, updates the work in the remote ORCID profile from the local MyCoRe object -
Uses of MCRObjectID in org.mycore.pi
Modifier and TypeMethodDescriptionMCRPIManager.getCreatedIdentifiers
(MCRObjectID id, String type, String registrationServiceID) protected MCRPI
MCRPIService.getTableEntry
(MCRObjectID id, String additional) static boolean
MCRPIService.hasFlag
(MCRObjectID id, String additional, MCRPIRegistrationInfo mcrpi) boolean
MCRPIManager.hasRegistrationStarted
(MCRObjectID mcrId, String additional, String type, String registrationServiceID) boolean
MCRPIService.hasRegistrationStarted
(MCRObjectID id, String additional) boolean
MCRPIManager.isCreated
(MCRObjectID id, String additional, String type, String registrationServiceID) boolean
MCRPIService.isCreated
(MCRObjectID id, String additional) boolean
MCRPIManager.isRegistered
(MCRObjectID mcrId, String additional, String type, String registrationServiceID) boolean
MCRPIService.isRegistered
(MCRObjectID id, String additional) void
MCRPIService.updateFlag
(MCRObjectID id, String additional, MCRPI mcrpi) protected void
MCRPIJobService.updateRegistrationDate
(MCRObjectID mycoreID, String additional, Date date) Can be used to update the registration date in the database.protected void
MCRPIJobService.updateStartRegistrationDate
(MCRObjectID mycoreID, String additional, Date date) Can be used to update the startRegistration date in the database.protected void
MCRPIService.validateAlreadyCreated
(MCRObjectID id, String additional) protected void
MCRPIJobService.validateJobUserRights
(MCRObjectID id) If you useMCRPIJobService.updateRegistrationDate(MCRObjectID, String, Date)
orMCRPIJobService.updateStartRegistrationDate(MCRObjectID, String, Date)
then you should validate if the user has the rights for this. -
Uses of MCRObjectID in org.mycore.pi.urn
Modifier and TypeMethodDescriptionprotected abstract String
MCRDNBURNGenerator.buildNISS
(MCRObjectID mcrID, String additional) protected String
MCRFLURNGenerator.buildNISS
(MCRObjectID mcrID, String additional) protected String
MCRUUIDURNGenerator.buildNISS
(MCRObjectID mcrID, String additional) protected MCRDNBURN
MCRDNBURNGenerator.generate
(@NotNull String namespace, MCRObjectID mcrID, String additional) Allows the generation of a URN with a specific Namespace -
Uses of MCRObjectID in org.mycore.pi.urn.rest
Modifier and TypeMethodDescriptionvoid
MCRURNGranularRESTService.updateFlag
(MCRObjectID id, String additional, MCRPI mcrpi) -
Uses of MCRObjectID in org.mycore.restapi.v1.utils
ModifierConstructorDescriptionMCRJSONFileVisitor
(com.google.gson.stream.JsonWriter jw, MCRObjectID objId, MCRObjectID derId, jakarta.ws.rs.core.UriInfo info, jakarta.ws.rs.core.Application app) -
Uses of MCRObjectID in org.mycore.restapi.v2
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
MCRRestDerivates.deleteDerivate
(MCRObjectID derid) jakarta.ws.rs.core.Response
MCRRestObjects.deleteObject
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestDerivates.getDerivate
(MCRObjectID derid) jakarta.ws.rs.core.Response
MCRRestObjects.getObject
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestObjects.getObjectMetadata
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestObjects.getObjectVersion
(MCRObjectID id, String revision) jakarta.ws.rs.core.Response
MCRRestObjects.getObjectVersions
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestObjects.getState
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestObjects.listObjects
(MCRObjectID afterID, Integer offset, Integer limit, String type, String project, Integer numberGreater, Integer numberLess, Date createdAfter, Date createdBefore, Date modifiedAfter, Date modifiedBefore, Date deletedAfter, Date deletedBefore, String createdBy, String modifiedBy, String deletedBy, MCRObjectQuery.SortBy sortBy, MCRObjectQuery.SortOrder sortOrder, List<String> categories) jakarta.ws.rs.core.Response
MCRRestDerivates.patchDerivate
(MCRRestDerivates.DerivateMetadata der, MCRObjectID derid) jakarta.ws.rs.core.Response
MCRRestObjects.setState
(MCRObjectID id, String state) jakarta.ws.rs.core.Response
MCRRestDerivates.testDeleteDerivate
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestObjects.testDeleteObject
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestDerivates.testUpdateDerivate
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestObjects.testUpdateObject
(MCRObjectID id) jakarta.ws.rs.core.Response
MCRRestDerivates.updateDerivate
(MCRObjectID derid, InputStream xmlSource) jakarta.ws.rs.core.Response
MCRRestObjects.updateObject
(MCRObjectID id, InputStream xmlSource) jakarta.ws.rs.core.Response
MCRRestObjects.updateObjectMetadata
(MCRObjectID id, InputStream xmlSource) -
Uses of MCRObjectID in org.mycore.services.staticcontent
Modifier and TypeMethodDescriptionMCRObjectStaticContentGenerator.get
(MCRObjectID id) protected Path
MCRObjectStaticContentGenerator.getSlotDirPath
(MCRObjectID id) -
Uses of MCRObjectID in org.mycore.solr.index
Modifier and TypeMethodDescriptionprotected Optional<MCRObjectID>
MCRSolrIndexEventHandler.getDerivateId
(Path path) Returns the derivate identifier for the given path.Modifier and TypeMethodDescriptionprotected void
MCRSolrIndexEventHandler.solrDelete
(MCRObjectID id) -
Uses of MCRObjectID in org.mycore.solr.index.document
Modifier and TypeMethodDescriptionorg.apache.solr.common.SolrInputDocument
MCRSolrInputDocumentFactory.getDocument
(MCRObjectID id) abstract org.apache.solr.common.SolrInputDocument
MCRSolrInputDocumentFactory.getDocument
(MCRObjectID id, MCRContent content) org.apache.solr.common.SolrInputDocument
MCRSolrTransformerInputDocumentFactory.getDocument
(MCRObjectID id, MCRContent content) Modifier and TypeMethodDescriptionabstract Iterator<org.apache.solr.common.SolrInputDocument>
MCRSolrInputDocumentFactory.getDocuments
(Map<MCRObjectID, MCRContent> contentMap) Iterator<org.apache.solr.common.SolrInputDocument>
MCRSolrTransformerInputDocumentFactory.getDocuments
(Map<MCRObjectID, MCRContent> contentMap) -
Uses of MCRObjectID in org.mycore.solr.index.handlers
Modifier and TypeMethodDescriptionabstract MCRSolrIndexHandler
MCRSolrIndexHandlerFactory.getIndexHandler
(MCRContent content, MCRObjectID id) MCRSolrIndexHandlerFactory.getIndexHandler
(MCRObjectID... ids) MCRSolrLazyInputDocumentHandlerFactory.getIndexHandler
(MCRContent content, MCRObjectID id) Modifier and TypeMethodDescriptionabstract MCRSolrIndexHandler
MCRSolrIndexHandlerFactory.getIndexHandler
(Map<MCRObjectID, MCRContent> contentMap) MCRSolrLazyInputDocumentHandlerFactory.getIndexHandler
(Map<MCRObjectID, MCRContent> contentMap) -
Uses of MCRObjectID in org.mycore.solr.index.handlers.content
ModifierConstructorDescriptionMCRSolrMCRContentIndexHandler
(MCRObjectID id, MCRContent content) MCRSolrMCRContentIndexHandler
(MCRObjectID id, MCRContent content, org.apache.solr.client.solrj.SolrClient solrClient) ModifierConstructorDescriptionMCRSolrMCRContentMapIndexHandler
(Map<MCRObjectID, MCRContent> contentMap) MCRSolrMCRContentMapIndexHandler
(Map<MCRObjectID, MCRContent> contentMap, org.apache.solr.client.solrj.SolrClient solrClient) -
Uses of MCRObjectID in org.mycore.solr.index.handlers.stream
Modifier and TypeMethodDescriptionprotected void
MCRSolrFilesIndexHandler.indexDerivate
(MCRObjectID derivateID) protected void
MCRSolrFilesIndexHandler.indexObject
(MCRObjectID objectID) -
Uses of MCRObjectID in org.mycore.sword.application
Modifier and TypeMethodDescriptionMCRSwordIngester.ingestMetadata
(org.swordapp.server.Deposit entry) Will be called when the client tries to deposit an object with metadata.MCRSwordIngester.ingestMetadataResources
(org.swordapp.server.Deposit entry) Will be called when the client tries to deposit an object with metadata and resources.Modifier and TypeMethodDescriptionabstract List<MCRObjectID>
MCRSwordObjectIDSupplier.get
(int from, int count) MCRSwordSolrObjectIDSupplier.get
(int from, int count) Modifier and TypeMethodDescriptionorg.apache.abdera.model.Entry
MCRSwordMetadataProvider.provideListMetadata
(MCRObjectID id) -
Uses of MCRObjectID in org.mycore.tools
Modifier and TypeMethodDescriptionstatic Document
MCRObjectFactory.getSampleObject
(MCRObjectID id) Creates aDocument
suitable forMCRObject(Document)
. -
Uses of MCRObjectID in org.mycore.viewer.configuration
Modifier and TypeMethodDescriptionboolean
MCRIviewACLProvider.checkAccess
(jakarta.servlet.http.HttpSession session, MCRObjectID derivateID) boolean
MCRIviewDefaultACLProvider.checkAccess
(jakarta.servlet.http.HttpSession session, MCRObjectID derivateID)