Package org.dbwiki.data.resource

Examples of org.dbwiki.data.resource.DatabaseIdentifier


   */
  public RDBMSDatabase(DatabaseWiki wiki, DatabaseConnector connector) throws org.dbwiki.exception.WikiException {
    _connector = connector;
    _wiki = wiki;
   
    _identifier = new DatabaseIdentifier(wiki.name());

    try {
      Connection con = connector.getConnection();
      _versionIndex = new SQLVersionIndex(con, wiki.name(), wiki.users(), false);
      _schema = new SQLDatabaseSchema(con, _versionIndex, wiki.name());
View Full Code Here


            Connection con, SQLVersionIndex versionIndex)
    throws org.dbwiki.exception.WikiException {
    _connector = connector;
    _wiki = wiki;
   
    _identifier = new DatabaseIdentifier(wiki.name());
    try {
      //con = connector.getConnection();
      _versionIndex = versionIndex;
      _schema = new SQLDatabaseSchema(con, _versionIndex, wiki.name());
    } catch (java.sql.SQLException sqlException) {
View Full Code Here

   */
 
  public WikiPageRequest(DatabaseWiki wiki, RequestURL url) throws org.dbwiki.exception.WikiException {
    super(wiki, url);
   
    DatabaseIdentifier wikiIdentifier = new DatabaseIdentifier(wiki.identifier().databaseHomepage() + "/" + RequestURL.WikiPageRequestPrefix);
    if (url.size() == 0) {
      _wri = new WRI(wikiIdentifier, new PageIdentifier());
    } else if (url.size() == 1) {
      long timestamp = -1;
      RequestParameter timestampParameter =
View Full Code Here

TOP

Related Classes of org.dbwiki.data.resource.DatabaseIdentifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.