1 13 14 package org.ejbca.core.model.hardtoken.profiles; 15 16 import java.awt.print.Printable ; 17 import java.awt.print.PrinterException ; 18 import java.io.IOException ; 19 20 import org.ejbca.core.model.ra.UserDataVO; 21 22 23 24 25 26 27 34 35 public interface IAdressLabelSettings { 36 37 38 41 public static int ADRESSLABELTYPE_NONE = 0; 42 43 47 public static int ADRESSLABELTYPE_GENERAL = 1; 48 49 50 53 public abstract int getAdressLabelType(); 54 55 58 public abstract void setAdressLabelType(int type); 59 60 63 public abstract String getAdressLabelTemplateFilename(); 64 65 68 public abstract void setAdressLabelTemplateFilename(String filename); 69 70 73 public abstract String getAdressLabelData(); 74 75 76 79 public abstract void setAdressLabelData(String templatedata); 80 81 84 public abstract int getNumberOfAdressLabelCopies(); 85 86 89 public abstract void setNumberOfAdressLabelCopies(int copies); 90 91 92 96 public abstract Printable printVisualValidity(UserDataVO userdata, 97 String [] pincodes, String [] pukcodes, 98 String hardtokensn, String copyoftokensn) 99 throws IOException , PrinterException ; 100 } 101 102 | Popular Tags |