00001
00025 package org.openmobileis.examples.mycrm.data.fodb;
00026
00027 import org.openmobileis.common.util.exception.BadDataFormatException;
00028 import org.openmobileis.database.fastobjectdb.FastObjectDB;
00029 import org.openmobileis.database.fastobjectdb.db.exception.FODBException;
00030 import org.openmobileis.modules.common.data.DefaultTerminalUser;
00031 import org.openmobileis.modules.common.database.fodb.FODBTerminalUserFactory;
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 public final class MyCrmFODBTerminalUserFactory extends FODBTerminalUserFactory {
00042
00046 public MyCrmFODBTerminalUserFactory() {
00047 super();
00048 }
00049
00050
00051
00052
00053 protected int getMaxTerminalUserIdLength() {
00054 return 5;
00055 }
00056
00057
00058
00059
00060 protected Class getDataType() {
00061 return DefaultTerminalUser.class;
00062 }
00063
00064
00065
00066
00067 protected void initDB(FastObjectDB db) throws FODBException, BadDataFormatException {
00068 }
00069
00070 }