1 13 package org.ejbca.ui.web.admin.services.servicetypes; 14 15 import java.io.IOException ; 16 import java.io.Serializable ; 17 import java.util.ArrayList ; 18 import java.util.Properties ; 19 20 28 public abstract class ServiceType implements Serializable { 29 30 private String jSFSubViewPage; 31 private String name; 32 private boolean translatable; 33 34 35 41 public ServiceType(String subViewPage, String name, boolean translatable) { 42 super(); 43 jSFSubViewPage = subViewPage; 44 this.name = name; 45 this.translatable = translatable; 46 } 47 48 51 public String getJSFSubViewPage() { 52 return jSFSubViewPage; 53 } 54 55 58 public String getName() { 59 return name; 60 } 61 62 65 public boolean isTranslatable() { 66 return translatable; 67 } 68 69 73 public abstract Properties getProperties(ArrayList errorMessages) throws IOException ; 74 75 79 public abstract void setProperties(Properties properties) throws IOException ; 80 81 84 public abstract String getClassPath(); 85 86 89 public abstract boolean isCustom(); 90 } 91 | Popular Tags |