Uses of Class
edu.ucsb.nceas.metacat.McdbException
-
Uses of McdbException in edu.ucsb.nceas.metacat
Modifier and TypeClassDescriptionclass
Exception thrown when an error occurs because a document with a given ID could not be found in the metacat database.Modifier and TypeMethodDescriptionvoid
AssociateAccessPolicy.associateAccess()
Associate the access policy of dataset to the docid which the data set id mappedstatic void
DocumentImpl.deleteFromFileSystem
(String accNumber, boolean isXml) Deletes a doc or data file from the filesystem using the accession number.PermissionController.getUnReadableInlineDataIdList
(String docid, String user, String[] groups) A static method to get Hashtable which cointains a inlinedata object list that user can't read it.static InputStream
Read a document from metacat and return the InputStream.DocumentImpl.readFromFileSystem
(OutputStream out, String user, String[] groups, String documentPath) Read the XML document from the file system and write to a Writer.DocumentImpl.toXml
(OutputStream out, String user, String[] groups, boolean withInLineData) Print a text representation of the XML document to a WriterModifierConstructorDescriptionDocumentImpl
(String docid) Constructor, creates document from database connection, used for reading the documentDocumentImpl
(String accNum, boolean readNodes) Constructor used to create a document and read the document information from the database.PermissionController
(String myDocid) Constructor for PermissionController -
Uses of McdbException in edu.ucsb.nceas.metacat.dataone
Modifier and TypeMethodDescriptionstatic org.dataone.service.types.v2.SystemMetadata
SystemMetadataFactory.createSystemMetadata
(String localId) Creates a system metadata object for insertion into metacatSystemMetadataFactory.getDocumentInfoMap
(String docid) Get the document information in the format of a map.