summaryrefslogtreecommitdiffstats
path: root/pki/base/common/test/com/netscape/cmscore/dbs/DBSubsystemDefaultStub.java
blob: 15b26599654fca06f834d2f2a1b47c6862e255aa (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
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;
    }

	@Override
	public void setMaxSerialConfig(int repo, String serial)
			throws EBaseException {
		// TODO Auto-generated method stub

	}

	@Override
	public void setMinSerialConfig(int repo, String serial)
			throws EBaseException {
		// TODO Auto-generated method stub

	}

	@Override
	public void setNextMaxSerialConfig(int repo, String serial)
			throws EBaseException {
		// TODO Auto-generated method stub

	}

	@Override
	public void setNextMinSerialConfig(int repo, String serial)
			throws EBaseException {
		// TODO Auto-generated method stub

	}

	@Override
	public String getMinSerialConfig(int repo) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getMaxSerialConfig(int repo) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getNextMaxSerialConfig(int repo) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getNextMinSerialConfig(int repo) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getLowWaterMarkConfig(int repo) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getIncrementConfig(int repo) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getNextRange(int repo) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean hasRangeConflict(int repo) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean getEnableSerialMgmt() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void setEnableSerialMgmt(boolean value) throws EBaseException {
		// TODO Auto-generated method stub

	}
}