summaryrefslogtreecommitdiffstats
path: root/pki/base/common/test/com/netscape/cmscore/dbs/DBSubsystemDefaultStub.java
blob: 84e0c1b3e64065132105fdd403c7205febf0d93a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package com.netscape.cmscore.dbs;

import com.netscape.certsrv.base.EBaseException;
import com.netscape.certsrv.base.IConfigStore;
import com.netscape.certsrv.base.ISubsystem;
import com.netscape.certsrv.dbs.EDBException;
import com.netscape.certsrv.dbs.IDBRegistry;
import com.netscape.certsrv.dbs.IDBSSession;
import com.netscape.certsrv.dbs.IDBSubsystem;
import netscape.ldap.LDAPConnection;

import java.math.BigInteger;

/**
 * A default stub ojbect for tests to extend.
 */
public class DBSubsystemDefaultStub implements IDBSubsystem {


    public String getBaseDN() {
        return null;
    }

    public IDBRegistry getRegistry() {
        return null;
    }

    public IDBSSession createSession() throws EDBException {
        return null;
    }

    public boolean enableSerialNumberRecovery() {
        return false;
    }

    public void setNextSerialConfig(BigInteger serial) throws EBaseException {
    }

    public BigInteger getNextSerialConfig() {
        return null;
    }

    public void setMaxSerialConfig(String serial) throws EBaseException {
    }

    public String getMinSerialConfig() {
        return null;
    }

    public String getMaxSerialConfig() {
        return null;
    }

    public String getMinRequestConfig() {
        return null;
    }

    public String getMaxRequestConfig() {
        return null;
    }

    public void returnConn(LDAPConnection conn) {
    }

    public String getId() {
        return null;
    }

    public void setId(String id) throws EBaseException {
    }

    public void init(ISubsystem owner, IConfigStore config) throws EBaseException {
    }

    public void startup() throws EBaseException {
    }

    public void shutdown() {
    }

    public IConfigStore getConfigStore() {
        return null;
    }
}