Uses of Class
edu.ucsb.nceas.metacat.McdbException
Packages that use McdbException
-
Uses of McdbException in edu.ucsb.nceas.metacat
Subclasses of McdbException in edu.ucsb.nceas.metacatModifier and TypeClassDescriptionclass
Exception thrown when an error occurs because a document with a given ID could not be found in the metacat database.Methods in edu.ucsb.nceas.metacat that throw McdbExceptionModifier and TypeMethodDescriptionvoid
AssociateAccessPolicy.associateAccess()
Associate the access policy of dataset to the docid which the data set id mappedPermissionController.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.DocumentImpl.readFromFileSystem
(OutputStream out, String user, String[] groups, String documentPath) Read the XML document from the file system and write to a Writer.MetacatHandler.save
(org.dataone.service.types.v2.SystemMetadata sysmeta, boolean changeModificationDate, MetacatHandler.Action action, String docType, InputStream object, org.dataone.service.types.v2.SystemMetadata preSys, String user) Save the object into diskDocumentImpl.toXml
(OutputStream out, String user, String[] groups, boolean withInLineData) Print a text representation of the XML document to a Writerprotected void
MetacatHandler.validateSciMeta
(org.dataone.service.types.v1.Identifier pid, org.dataone.service.types.v1.ObjectFormatIdentifier formatId) Validate a scientific metadata object.protected void
MetacatHandler.validateXmlSciMeta
(org.dataone.service.types.v1.Identifier pid, String formatId) Validate an XML object.Constructors in edu.ucsb.nceas.metacat that throw McdbExceptionModifierConstructorDescriptionDocumentImpl
(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
Methods in edu.ucsb.nceas.metacat.dataone that throw McdbExceptionModifier 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.