2010-07-14 19:40:25 +00:00
|
|
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
|
|
|
|
|
|
|
<%@ page import="com.hp.hpl.jena.rdf.model.ModelMaker"%>
|
|
|
|
<%@ page import="com.hp.hpl.jena.rdf.model.Model"%>
|
|
|
|
<%@ page import="java.util.Iterator"%>
|
|
|
|
<%@ page import="java.net.URLEncoder"%>
|
|
|
|
<%@ page import="java.util.List"%>
|
|
|
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
2011-04-27 20:20:25 +00:00
|
|
|
|
|
|
|
<%@taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
|
2011-12-21 23:02:31 +00:00
|
|
|
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
|
|
|
|
<% request.setAttribute("requestedActions", SimplePermission.USE_ADVANCED_DATA_TOOLS_PAGES.ACTION); %>
|
2011-04-27 20:20:25 +00:00
|
|
|
<vitro:confirmAuthorization />
|
2010-07-14 19:40:25 +00:00
|
|
|
|
|
|
|
<script type="text/javascript" src="js/jquery.js"></script>
|
|
|
|
|
2010-12-22 17:33:20 +00:00
|
|
|
<h2><a class="ingestMenu" href="ingest">Ingest Menu</a> > Change Namespace of Resources</h2>
|
2010-07-15 18:12:15 +00:00
|
|
|
|
|
|
|
<p>This tool will change all resources in the supplied "old namespace"
|
2011-08-10 16:29:01 +00:00
|
|
|
to be in the "new namespace." Additionally, if the local names do not
|
|
|
|
already follow the established "n" + random integer naming convention,
|
|
|
|
they will be updated to this format.</p>
|
2010-07-15 18:12:15 +00:00
|
|
|
|
|
|
|
<p>This tool operates on the main web application model only, not on any
|
|
|
|
of the additional Jena models.</p>
|
|
|
|
|
2011-11-04 21:01:34 +00:00
|
|
|
<c:if test="${!empty errorMsg}">
|
|
|
|
<p class="notice">${errorMsg}</p>
|
|
|
|
</c:if>
|
|
|
|
|
2010-07-14 19:40:25 +00:00
|
|
|
<form id="takeuri" action="ingest" method="get">
|
|
|
|
<input type="hidden" name="action" value="renameResource"/>
|
2011-11-04 21:01:34 +00:00
|
|
|
<p>Old namespace: <input id="uri1" type="text" size="52" name="oldNamespace" value="${oldNamespace}" /></p>
|
|
|
|
<p>New namespace: <input id="uri2" type="text" size="52" name="newNamespace" value="${newNamespace}" /></p>
|
2010-12-10 22:08:36 +00:00
|
|
|
<p><input id="submit" type="submit" name="submit" value="Change namespace" /></p>
|
2010-07-14 19:40:25 +00:00
|
|
|
</form>
|