1 /*
2 * Copyright 2012 The Kuali Foundation.
3 *
4 * Licensed under the Educational Community License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl1.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.kuali.ole.select.document.service.impl;
17
18 import org.kuali.ole.select.document.service.OleProfileRoutingService;
19
20 public class OleProfileRoutingServiceImpl implements OleProfileRoutingService {
21
22 /* private static final String ADHOC_NO_NODE_DOC = "AdHocNoNodeTest";
23
24 public void sendFYI()throws Exception{
25 WorkflowDocument doc = new WorkflowDocument(getPrincipalIdForName("ole-khuntley"), "ING_DOC");
26 String label = "MY PRINCIPAL LABEL";
27 doc.adHocRouteDocumentToPrincipal("F", null, "", getPrincipalIdForName("ole-khuntley"), "", true, label);
28 }
29
30 protected String getPrincipalIdForName(String principalName) {
31 return KEWServiceLocator.getIdentityHelperService()
32 .getIdForPrincipalName(principalName);
33 }*/
34 }