1 package mircoders.storage;
5 * Description: Ihre Beschreibung
6 * Copyright: Copyright (c) 1999
17 import freemarker.template.*;
25 public class DatabaseMediafolder extends Database implements StorageObject{
27 private static DatabaseMediafolder instance;
29 // the following *has* to be sychronized cause this static method
30 // could get preemted and we could end up with 2 instances of DatabaseFoo..
31 // see the "Singletons with needles and thread" article at JavaWorld -mh
32 public synchronized static DatabaseMediafolder getInstance()
33 throws StorageObjectException {
34 if (instance == null) {
35 instance = new DatabaseMediafolder();
36 instance.myselfDatabase = instance;
41 private DatabaseMediafolder() throws StorageObjectException
44 this.hasTimestamp = false;
45 //this.cache = new DatabaseCache(20);
46 this.theTable="media_folder";
49 public SimpleList getPopupData() throws StorageObjectException {
50 return getPopupData("name",true);