public class AssociateAccessPolicy
extends java.lang.Object
Constructor and Description |
---|
AssociateAccessPolicy(DBConnection conn)
construct an instance of the DBQuery class
|
Modifier and Type | Method and Description |
---|---|
void |
associateAccess()
Associate the access policy of dataset to the docid which the data set id
mapped
|
java.util.Vector |
geItsDataSetIdWithouAccessEntry()
Get the docid which it's mapped dataset doesn't has access entry
|
java.util.Vector |
getNotFoundDataSetId()
Get the docid which didn't found a dataset id to map it
|
static void |
main(java.lang.String[] args)
the main routine used to associate access policy
|
public AssociateAccessPolicy(DBConnection conn) throws java.io.IOException, java.sql.SQLException, java.lang.Exception
Generally, one would call the findDocuments() routine after creating an instance to specify the search query
conn
- the JDBC connection that we use for the queryparserName
- the fully qualified name of a Java class implementing
the org.xml.sax.XMLReader interfacejava.io.IOException
java.sql.SQLException
java.lang.Exception
public static void main(java.lang.String[] args)
public java.util.Vector getNotFoundDataSetId()
public java.util.Vector geItsDataSetIdWithouAccessEntry()
public void associateAccess() throws java.sql.SQLException, McdbException, java.lang.Exception
java.sql.SQLException
McdbException
java.lang.Exception
Copyright © 2023 Regents of the University of California. All Rights Reserved.