CVS update: sierra/src/java/org/openprivacy/sierra/store/talon/interfaces

From: cvs@openprivacy.org
Date: Sat Mar 03 2001 - 14:28:31 PST

  • Next message: cvs@openprivacy.org: "CVS update: sierra/src/java/org/openprivacy/sierra/store/talon/implementations"

    Date: Saturday March 3, 19101 @ 14:28
    Author: burton
    CVSWEB Options: -------------------

    Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

    View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/store/talon/interfaces

    -----------------------------------

    Update of /usr/local/cvs/public/sierra/src/java/org/openprivacy/sierra/store/talon/interfaces
    In directory giga:/tmp/cvs-serv28882/src/java/org/openprivacy/sierra/store/talon/interfaces

    Modified Files:
            StoreEngine.java
    Log Message:
    corrected new interfaces with the necessary code

    *****************************************************************
    File: sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java

    CVSWEB Options: -------------------

    CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java?annotate=1.2

    CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java?rev=1.2&content-type=text/x-cvsweb-markup

    CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java.diff?r1=1.2&r2=1.1

    -----------------------------------

    Index: sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java
    diff -u sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java:1.1 sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java:1.2
    --- sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java:1.1 Sun Feb 25 15:14:04 2001
    +++ sierra/src/java/org/openprivacy/sierra/store/talon/interfaces/StoreEngine.java Sat Mar 3 14:28:31 2001
    @@ -21,6 +21,7 @@
     import java.net.*;
     import java.security.*;
     import java.util.*;
    +import org.openprivacy.sierra.query.talon.interfaces.*;
     import org.openprivacy.sierra.rce.talon.interfaces.*;
     import org.openprivacy.sierra.reputation.talon.interfaces.*;
     import org.openprivacy.sierra.util.*;
    @@ -32,7 +33,7 @@
      * The Store is responsible for saving Reputation objects to persistent storage.
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: StoreEngine.java,v 1.1 2001/02/25 23:14:04 burton Exp $
    + * @version $Id: StoreEngine.java,v 1.2 2001/03/03 22:28:31 burton Exp $
      */
     public interface StoreEngine extends Component {
     
    @@ -40,34 +41,45 @@
          * Get a reputation from this Store via its URI ( reputation://[SERVER]/key/signature )
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: StoreEngine.java,v 1.1 2001/02/25 23:14:04 burton Exp $
    + * @version $Id: StoreEngine.java,v 1.2 2001/03/03 22:28:31 burton Exp $
          */
    - public Reputation get( URI url );
    + public Reputation get( URI url ) throws SierraException;
     
         /**
          * Given a PublicKey and a signature for an object, return its
          * representation from disk.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: StoreEngine.java,v 1.1 2001/02/25 23:14:04 burton Exp $
    + * @version $Id: StoreEngine.java,v 1.2 2001/03/03 22:28:31 burton Exp $
          */
    - public Reputation get( SignatureValue sv );
    + public Reputation get( SignatureValue sv ) throws SierraException;
         
         /**
          *
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: StoreEngine.java,v 1.1 2001/02/25 23:14:04 burton Exp $
    + * @version $Id: StoreEngine.java,v 1.2 2001/03/03 22:28:31 burton Exp $
          */
    - public void put( Reputation reputation );
    + public void put( Reputation reputation ) throws SierraException;
     
         /**
          * When Sierra boots up it is important to seed it with appropriate
          * Reputations.
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: StoreEngine.java,v 1.1 2001/02/25 23:14:04 burton Exp $
    + * @version $Id: StoreEngine.java,v 1.2 2001/03/03 22:28:31 burton Exp $
          */
    - public void populate( RCE rce );
    + public void populate( RCE rce ) throws SierraException;
    +
    +
    + /**
    + * Get the prefered QueryManager for this StoreEngine. This allows
    + * StoreEngine implementations to pick the compoent that best represents
    + * their internal architecture.
    + *
    + * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    + * @version $Id: StoreEngine.java,v 1.2 2001/03/03 22:28:31 burton Exp $
    + */
    + public QueryManager getQueryManager() throws SierraException;
         
     }



    This archive was generated by hypermail 2b30 : Sat Mar 03 2001 - 14:28:38 PST