1 package de.webman.acl.db; 2 3 import de.webman.acl.db.queries.*; 4 5 14 public class EventDBInterface 15 extends ObjectDBInterface 16 { 17 18 20 23 public static final String TABLE_NAME = "WM_EVENT"; 24 25 28 public static final String PRIMARY_KEY_NAME = "WM_EVENT_ID"; 29 30 33 public static final Class WM_EVENT_SELECT_ALL = EventSelectAll.class; 34 35 38 public static final Class WM_EVENT_SELECT_BY_NAME = EventSelectByName.class; 39 40 43 public static final Class WM_EVENT_SELECT_BY_POLICY = EventSelectByPolicy.class; 44 45 48 public static final Class WM_EVENT_SELECT_BY_POLICY_ATTRIBUTES = EventSelectByPolicyAttributes.class; 49 50 53 private static final EventDBInterface INSTANCE = new EventDBInterface(); 54 55 56 58 61 private EventDBInterface () 62 { 63 super(EventInsert.class, 64 EventUpdate.class, 65 EventSelect.class, 66 EventDelete.class, 67 new Class [1], 68 new Class [1], 69 null); 70 } 71 72 73 75 80 public static final EventDBInterface getInstance () 81 { 82 return INSTANCE; 83 } 84 85 86 88 93 public final String getTableName () 94 { 95 return TABLE_NAME; 96 } 97 98 103 public final String getPrimaryKeyName () 104 { 105 return PRIMARY_KEY_NAME; 106 } 107 108 113 public final String getDependentKeyName () 114 { 115 return null; 116 } 117 118 123 public final Class getSelectAllQuery () 124 { 125 return WM_EVENT_SELECT_ALL; 126 } 127 128 133 public final Class getSelectDependentQuery () 134 { 135 return null; 136 } 137 138 143 public final Class getInsertDependentQuery () 144 { 145 return null; 146 } 147 148 } 149 | Popular Tags |