1 /* 2 * Copyright 2007 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.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/ecl2.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.module.purap.service; 17 18 /** 19 * Image Service Interface. 20 */ 21 public interface ImageService { 22 23 /** 24 * Get the purchasing director signature image. This will get the image from webdav and copy it to a temp directory. 25 * 26 * @param key - Key for use in filename to make it unique 27 * @param campusCode - Campus code for image 28 * @param location - location of where image resides 29 * @return - Full path on the local box for image file name 30 */ 31 public String getPurchasingDirectorImage(String key, String campusCode, String location); 32 33 /** 34 * Get the contract manager signature image. This will get the image from webdav and copy it to a temp directory. 35 * 36 * @param key - Key for use in filename to make it unique 37 * @param campusCode - Contract manager ID for image 38 * @param location - location of where image resides 39 * @return - Full path on the local box for image file name 40 */ 41 public String getContractManagerImage(String key, Integer contractManagerId, String location); 42 43 /** 44 * Get the campus logo image. This will get the image from webdav and copy it to a temp directory. 45 * 46 * @param key - Key for use in filename to make it unique 47 * @param campusCode - Campus code for image 48 * @param location - location of where image resides 49 * @return - Full path on the local box for image file name 50 */ 51 public String getLogo(String key, String campusCode, String location); 52 53 }