public class ImageServiceImpl extends Object implements ImageService
Constructor and Description |
---|
ImageServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getContractManagerImage(String key,
Integer contractManagerId,
String location)
Get the contract manager signature image.
|
protected String |
getFile(String prefix,
String fileKey,
String key,
String extension,
String location)
Copy a file from a web location to the local system.
|
String |
getLogo(String key,
String campusCode,
String location)
Get the campus logo image.
|
String |
getPurchasingDirectorImage(String key,
String campusCode,
String location)
Get the purchasing director signature image.
|
void |
setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configurationService) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
public ImageServiceImpl()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configurationService)
public String getPurchasingDirectorImage(String key, String campusCode, String location)
ImageService
getPurchasingDirectorImage
in interface ImageService
key
- - Key for use in filename to make it uniquecampusCode
- - Campus code for imagelocation
- - location of where image residesorg.kuali.ole.module.purap.dataaccess.ImageDao#getPurchasingDirectorImage(java.lang.String, java.lang.String, java.lang.String)
public String getContractManagerImage(String key, Integer contractManagerId, String location)
ImageService
getContractManagerImage
in interface ImageService
key
- - Key for use in filename to make it uniquelocation
- - location of where image residesorg.kuali.ole.module.purap.dataaccess.ImageDao#getContractManagerImage(java.lang.String, java.lang.Integer, java.lang.String)
public String getLogo(String key, String campusCode, String location)
ImageService
getLogo
in interface ImageService
key
- - Key for use in filename to make it uniquecampusCode
- - Campus code for imagelocation
- - location of where image residesorg.kuali.ole.module.purap.dataaccess.ImageDao#getLogo(java.lang.String, java.lang.String, java.lang.String)
protected String getFile(String prefix, String fileKey, String key, String extension, String location)
prefix
- - Prefix for the file namefileKey
- - File key for filekey
- - Unique key for the filelocation
- - location of fileCopyright © 2004–2014 The Kuali Foundation. All rights reserved.