001/* 002 * Copyright 2012 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 1.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl1.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.ole.select.document.service.impl; 017 018import org.kuali.ole.select.document.service.OleProfileRoutingService; 019 020public class OleProfileRoutingServiceImpl implements OleProfileRoutingService { 021 022/* private static final String ADHOC_NO_NODE_DOC = "AdHocNoNodeTest"; 023 024 public void sendFYI()throws Exception{ 025 WorkflowDocument doc = new WorkflowDocument(getPrincipalIdForName("ole-khuntley"), "ING_DOC"); 026 String label = "MY PRINCIPAL LABEL"; 027 doc.adHocRouteDocumentToPrincipal("F", null, "", getPrincipalIdForName("ole-khuntley"), "", true, label); 028 } 029 030 protected String getPrincipalIdForName(String principalName) { 031 return KEWServiceLocator.getIdentityHelperService() 032 .getIdForPrincipalName(principalName); 033 }*/ 034}