Package com.netscape.certsrv.request
Interface IRequestRecord
-
- All Known Implementing Classes:
RequestRecord
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$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_CREATE_TIMEstatic java.lang.StringATTR_EXT_DATAstatic java.lang.StringATTR_MODIFY_TIMEstatic java.lang.StringATTR_REALMstatic java.lang.StringATTR_REQUEST_IDstatic java.lang.StringATTR_REQUEST_OWNERstatic java.lang.StringATTR_REQUEST_STATEstatic java.lang.StringATTR_REQUEST_TYPEstatic java.lang.StringATTR_SOURCE_ID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(java.lang.String name)Removes attribute from the request.java.lang.Objectget(java.lang.String name)Gets the request attribute value by the name.java.util.Enumeration<java.lang.String>getAttrNames()Gets attribute names of the request.java.util.Enumeration<java.lang.String>getElements()Gets attribute list of the request.RequestIdgetRequestId()Gets the request id.voidset(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
-
ATTR_REALM
static final java.lang.String ATTR_REALM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequestId
RequestId getRequestId()
Gets the request id.- Returns:
- request id
-
getAttrNames
java.util.Enumeration<java.lang.String> 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.
-
set
void set(java.lang.String name, java.lang.Object o)Sets new attribute for the request.
-
delete
void delete(java.lang.String name) throws EBaseExceptionRemoves attribute from the request.- Specified by:
deletein interfaceIAttrSet- Parameters:
name- attribute name- Throws:
EBaseException- on attribute handling errors.
-
getElements
java.util.Enumeration<java.lang.String> getElements()
Gets attribute list of the request.- Specified by:
getElementsin interfaceIAttrSet- Returns:
- attribute list
-
-