summaryrefslogtreecommitdiffstats
path: root/pki/base/common/test/com/netscape/cmscore/request/DBDynAttrMapperDefaultStub.java
blob: 3beda6a9019faa592930ecdd2d55f8a137ce3dcd (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
package com.netscape.cmscore.request;

import com.netscape.certsrv.base.EBaseException;
import com.netscape.certsrv.dbs.IDBDynAttrMapper;
import com.netscape.certsrv.dbs.IDBObj;
import netscape.ldap.LDAPAttributeSet;

import java.util.Enumeration;

/**
 * Default testing stub for the IRequest interface.
 */
public class DBDynAttrMapperDefaultStub implements IDBDynAttrMapper {
    public boolean supportsLDAPAttributeName(String attrName) {
        return false;
    }

    public Enumeration getSupportedLDAPAttributeNames() {
        return null;
    }

    public void mapObjectToLDAPAttributeSet(IDBObj parent, String name, Object obj, LDAPAttributeSet attrs) throws EBaseException {
    }

    public void mapLDAPAttributeSetToObject(LDAPAttributeSet attrs, String name, IDBObj parent) throws EBaseException {
    }

    public String mapSearchFilter(String name, String op, String value) throws EBaseException {
        return null;
    }
}