001 /* 002 * Copyright 2011 The Kuali Foundation. 003 * 004 * Licensed under the Educational Community License, Version 2.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/ecl2.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 */ 016 package org.kuali.kfs.module.purap.dataaccess; 017 018 /** 019 * Image DAO Interface. 020 */ 021 public interface ImageDao { 022 023 /** 024 * Get the purchasing director signature image. This will get the image from webdav and copy it to a temp directory. 025 * 026 * @param key - Key for use in filename to make it unique 027 * @param campusCode - Campus code for image 028 * @param location - location of where image resides 029 * @return - Full path on the local box for image file name 030 */ 031 public String getPurchasingDirectorImage(String key, String campusCode, String location); 032 033 /** 034 * Get the contract manager signature image. This will get the image from webdav and copy it to a temp directory. 035 * 036 * @param key - Key for use in filename to make it unique 037 * @param campusCode - Contract manager ID for image 038 * @param location - location of where image resides 039 * @return - Full path on the local box for image file name 040 */ 041 public String getContractManagerImage(String key, Integer contractManagerId, String location); 042 043 /** 044 * Get the campus logo image. This will get the image from webdav and copy it to a temp directory. 045 * 046 * @param key - Key for use in filename to make it unique 047 * @param campusCode - Campus code for image 048 * @param location - location of where image resides 049 * @return - Full path on the local box for image file name 050 */ 051 public String getLogo(String key, String campusCode, String location); 052 053 }