1 package mircoders.storage;
6 * Copyright: Copyright (c) 2001
17 import freemarker.template.*;
24 public class DatabaseArticleType extends Database implements StorageObject{
26 private static DatabaseArticleType instance;
27 private static SimpleList articletypePopupData;
29 public static DatabaseArticleType getInstance() throws StorageObjectException
31 if (instance == null) {
32 instance = new DatabaseArticleType();
33 instance.myselfDatabase = instance;
38 private DatabaseArticleType() throws StorageObjectException
41 this.hasTimestamp = false;
42 this.theTable="article_type";
43 try { this.theEntityClass = Class.forName("mir.entity.EntityArticleType"); }
44 catch (Exception e) { throw new StorageObjectException(e.toString()); }
47 public SimpleList getPopupData() { return getPopupData("name",false); }