Package org.dbwiki.web.request.parameter

Examples of org.dbwiki.web.request.parameter.RequestParameterVersionSingle


      if (_request.node().identifier().equals(version.provenance().identifier())) {
        targetName = "this";
      } else {
        DatabaseNode targetNode = _request.node().find(version.provenance().identifier());
        if (targetNode != null) {
          RequestParameterVersionSingle versionParameter = new RequestParameterVersionSingle(version.number());
          DatabaseNode node = targetNode;
          while (!node.identifier().equals(_request.node().identifier())) {
            if (node.isElement()) {
              DatabaseElementNode element = (DatabaseElementNode)node;
              String elementName = _layouter.get(element.schema()).getShortLabel(element, versionParameter);
View Full Code Here


      if (version.versionSingle()) {
        sourceURL = sourceURL + "?" + version.toURLString();
      } else {
        sourceURL = sourceURL
            + "?"
            + new RequestParameterVersionSingle(this.database()
                .versionIndex().getLastVersion().number())
                .toURLString();
      }
      exchange.setResponseHeader("Set-Cookie", HttpRequest.CookiePropertyCopyBuffer + "=" + URLEncoder.encode(sourceURL, "UTF-8") + "; path=/; ");
   
View Full Code Here

TOP

Related Classes of org.dbwiki.web.request.parameter.RequestParameterVersionSingle

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.