<%@ page language="java" %> <%@ page import="java.util.TimeZone" %> <%@ page import="edu.ucsb.nceas.metacat.accesscontrol.AccessControlInterface" %> <%@ page import="edu.ucsb.nceas.metacat.PermissionController" %> <%@ page import="edu.ucsb.nceas.utilities.LSIDUtil" %> <% /* * '$RCSfile$' * Copyright: 2009 Regents of the University of California and the * National Center for Ecological Analysis and Synthesis * * '$Author: daigle $' * '$Date: 2008-07-06 21:25:34 -0700 (Sun, 06 Jul 2008) $' * '$Revision: 4080 $' * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ String karLsid = request.getParameter("karid"); String karId = LSIDUtil.getDocId(karLsid, true); PermissionController permissionController = new PermissionController(karId); boolean hasSchedulePermissions = permissionController.hasPermission(request.getSession().getId(), AccessControlInterface.READSTRING); %> <%@ include file="settings.jsp"%> Sanparks TPC Report Search ','<%=request.getParameter("workflowname")%>','<%=request.getParameter("karid")%>','<%=request.getSession().getId()%>','<%=authenticationServiceURL%>','<%=authorizationServiceURL%>','workflow-run-content')">
<% if (! hasSchedulePermissions) { %>
You have view permissions only for this workflow
<% } %>
Workflow Summary
Name:
<% if (request.getParameter("workflowname") != null) { %>
<%=request.getParameter("workflowname")%>
<% } %>
LSID:
<% if (request.getParameter("karid") != null) { %>
<%=request.getParameter("workflowid")%>
<% if (hasSchedulePermissions) { %> (<%=STYLE_SKINS_URL%>request.getParameter("karid")request.getParameter("workflowname")Change Access Permissions]]>) <% } } %>
Schedule Workflow
<% if (request.getParameter("workflowid") != null) { %> <% } if (request.getParameter("karid") != null) { %> <% } if (request.getParameter("workflowname") != null) { %> <% } %> <% if(CONTEXT_URL !=null){ %> <% } %> <% if( authorizationPath !=null){ %> <% } %> <% if( queryPath !=null){ %> <% } %> <% if( workflowRunEngineName!=null){ %> <% } %> <% if( workflowRunEngineURL !=null){ %> <% } %> <% if( request.getSession().getId() !=null){ %> <% } %> <% if( authenticationServiceURL !=null){ %> <% } %>
Start Time:
<%= TimeZone.getDefault().getDisplayName(true, TimeZone.SHORT) %>   (mm/dd/yyyy hh:mm:ss)
End Time:
<%= TimeZone.getDefault().getDisplayName(true, TimeZone.SHORT) %>   (mm/dd/yyyy hh:mm:ss)
Interval:
Result Destination:


disabled="disabled" <% } %> >
Workflow Run Schedule