com.netscape.certsrv.request
Interface IRequestRecord

All Superinterfaces:
IAttrSet, IDBObj, java.io.Serializable

public interface IRequestRecord
extends IDBObj

A request record is the stored version of a request. It has a set of attributes that are mapped into LDAP attributes for actual directory operations.

Version:
$Revision: 1211 $ $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Field Summary
static java.lang.String ATTR_CREATE_TIME
           
static java.lang.String ATTR_EXT_DATA
           
static java.lang.String ATTR_MODIFY_TIME
           
static java.lang.String ATTR_REQUEST_ID
           
static java.lang.String ATTR_REQUEST_OWNER
           
static java.lang.String ATTR_REQUEST_STATE
           
static java.lang.String ATTR_REQUEST_TYPE
           
static java.lang.String ATTR_SOURCE_ID
           
 
Method Summary
 void delete(java.lang.String name)
          Removes attribute from the request.
 java.lang.Object get(java.lang.String name)
          Gets the request attribute value by the name.
 java.util.Enumeration getAttrNames()
          Gets attribute names of the request.
 java.util.Enumeration getElements()
          Gets attribute list of the request.
 RequestId getRequestId()
          Gets the request id.
 void set(java.lang.String name, java.lang.Object o)
          Sets new attribute for the request.
 
Methods inherited from interface com.netscape.certsrv.dbs.IDBObj
getSerializableAttrNames
 

Field Detail

ATTR_REQUEST_ID

static final java.lang.String ATTR_REQUEST_ID
See Also:
Constant Field Values

ATTR_REQUEST_STATE

static final java.lang.String ATTR_REQUEST_STATE
See Also:
Constant Field Values

ATTR_CREATE_TIME

static final java.lang.String ATTR_CREATE_TIME
See Also:
Constant Field Values

ATTR_MODIFY_TIME

static final java.lang.String ATTR_MODIFY_TIME
See Also:
Constant Field Values

ATTR_SOURCE_ID

static final java.lang.String ATTR_SOURCE_ID
See Also:
Constant Field Values

ATTR_REQUEST_OWNER

static final java.lang.String ATTR_REQUEST_OWNER
See Also:
Constant Field Values

ATTR_REQUEST_TYPE

static final java.lang.String ATTR_REQUEST_TYPE
See Also:
Constant Field Values

ATTR_EXT_DATA

static final java.lang.String ATTR_EXT_DATA
See Also:
Constant Field Values
Method Detail

getRequestId

RequestId getRequestId()
Gets the request id.

Returns:
request id

getAttrNames

java.util.Enumeration getAttrNames()
Gets attribute names of the request.

Returns:
list of attribute names

get

java.lang.Object get(java.lang.String name)
Gets the request attribute value by the name.

Specified by:
get in interface IAttrSet
Parameters:
name - attribute name
Returns:
attribute value

set

void set(java.lang.String name,
         java.lang.Object o)
Sets new attribute for the request.

Specified by:
set in interface IAttrSet
Parameters:
name - attribute name
o - attribute value

delete

void delete(java.lang.String name)
            throws EBaseException
Removes attribute from the request.

Specified by:
delete in interface IAttrSet
Parameters:
name - attribute name
Throws:
EBaseException - on attribute handling errors.

getElements

java.util.Enumeration getElements()
Gets attribute list of the request.

Specified by:
getElements in interface IAttrSet
Returns:
attribute list