Uses of Class
edu.ucsb.nceas.metacat.McdbException

Packages that use McdbException
edu.ucsb.nceas.metacat   
edu.ucsb.nceas.metacat.accesscontrol   
 

Uses of McdbException in edu.ucsb.nceas.metacat
 

Subclasses of McdbException in edu.ucsb.nceas.metacat
 class McdbDocNotFoundException
          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 McdbException
 void AssociateAccessPolicy.associateAccess()
          Associate the access policy of dataset to the docid which the data set id mapped
 void DocumentImpl.buildIndex()
          Build the index records for this document.
 boolean Eml210SAXHandler.compareInlineDataFiles(java.lang.String oldFileName, java.lang.String newFileName)
           
 boolean Eml200SAXHandler.compareInlineDataFiles(java.lang.String oldFileName, java.lang.String newFileName)
           
 java.util.zip.ZipOutputStream DBQuery.getZippedPackage(java.lang.String docIdString, javax.servlet.ServletOutputStream out, java.lang.String user, java.lang.String[] groups, java.lang.String passWord)
          put a data packadge into a zip output stream
 boolean PermissionController.hasPermissionForSubTreeNode(java.lang.String user, java.lang.String[] groups, java.lang.String myPermission, long nodeId)
          The method to determine of a node can be access by a user just by subtree access control
static boolean DocumentImpl.hasReadPermission(java.lang.String user, java.lang.String[] groups, java.lang.String docId)
          Check for "READ" permission base on docid, user and group
 java.util.Hashtable PermissionController.hasUnaccessableSubTree(java.lang.String user, java.lang.String[] groups, java.lang.String myPermission)
          This method will return a hasTable of subtree which user doesn't has the permssion to access
 void DocumentImpl.readFromFileSystem(java.io.Writer pw, java.lang.String user, java.lang.String[] groups, java.lang.String documentPath)
          Read the XML document from the file system and write to a Writer.
static java.io.Reader Eml210SAXHandler.readInlineDataFromFileSystem(java.lang.String fileName)
           
static java.io.Reader Eml200SAXHandler.readInlineDataFromFileSystem(java.lang.String fileName)
           
 java.lang.String DocumentImpl.readUsingSlowAlgorithm()
          Get a text representation of the XML document as a string This older algorithm uses a recursive tree of Objects to represent the nodes of the tree.
 void DocumentImpl.toXml(java.io.Writer pw, java.lang.String user, java.lang.String[] groups, boolean withInLineData)
          Print a text representation of the XML document to a Writer
 void DocumentImpl.toXmlFromDb(java.io.Writer pw, java.lang.String user, java.lang.String[] groups, boolean withInLineData)
          Print a text representation of the XML document to a Writer
 

Constructors in edu.ucsb.nceas.metacat that throw McdbException
DocumentImpl(java.lang.String docid)
          Constructor, creates document from database connection, used for reading the document
DocumentImpl(java.lang.String accNum, boolean readNodes)
          Constructor used to create a document and read the document information from the database.
PermissionController(java.lang.String myDocid)
          Constructor for PermissionController
RelationHandler(java.lang.String docid, java.lang.String doctype, DBConnection conn, edu.ucsb.nceas.morpho.datapackage.TripleCollection list)
          Constructor for this class.
 

Uses of McdbException in edu.ucsb.nceas.metacat.accesscontrol
 

Constructors in edu.ucsb.nceas.metacat.accesscontrol that throw McdbException
AccessControlList(DBConnection conn, java.lang.String aclid, int rev, java.lang.String user, java.lang.String[] groups, int serverCode)
          Construct an instance of the AccessControlList class.
 



Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.