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 IVisualLayoutSettings { 36 37 38 41 public static int VISUALLAYOUTTYPE_NONE = 0; 42 46 public static int VISUALLAYOUTTYPE_GENERALLABEL = 1; 47 public static int VISUALLAYOUTTYPE_GENERALCARDPRINTER = 2; 48 49 52 public abstract int getVisualLayoutType(); 53 54 57 public abstract void setVisualLayoutType(int type); 58 59 62 public abstract String getVisualLayoutTemplateFilename(); 63 64 67 public abstract void setVisualLayoutTemplateFilename(String filename); 68 69 72 public abstract String getVisualLayoutData(); 73 74 75 78 public abstract void setVisualLayoutData(String templatedata); 79 80 81 85 public abstract Printable printVisualValidity(UserDataVO userdata, 86 String [] pincodes, String [] pukcodes, 87 String hardtokensn, String copyoftokensn) 88 throws IOException , PrinterException ; 89 } 90 91 | Popular Tags |