Package com.netscape.cmscore.request
Class RequestRecord
- java.lang.Object
-
- com.netscape.cmscore.request.RequestRecord
-
- All Implemented Interfaces:
IAttrSet
,com.netscape.certsrv.dbs.IDBObj
,com.netscape.certsrv.request.IRequestRecord
,java.io.Serializable
public class RequestRecord extends java.lang.Object implements com.netscape.certsrv.request.IRequestRecord, com.netscape.certsrv.dbs.IDBObj
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestRecord()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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<java.lang.String>
getAttrNames()
Gets attribute names of the request.java.util.Enumeration<java.lang.String>
getElements()
Gets attribute list of the request.com.netscape.certsrv.request.RequestId
getRequestId()
Gets the request id.java.util.Enumeration<java.lang.String>
getSerializableAttrNames()
Returns a list of serializable attribute names.protected static java.util.Hashtable<java.lang.String,java.lang.Object>
loadExtDataFromRequest(com.netscape.certsrv.request.IRequest r)
void
set(java.lang.String name, java.lang.Object o)
Sets new attribute for the request.protected void
storeExtDataIntoRequest(com.netscape.certsrv.request.IRequest r)
-
-
-
Method Detail
-
getRequestId
public com.netscape.certsrv.request.RequestId getRequestId()
Description copied from interface:com.netscape.certsrv.request.IRequestRecord
Gets the request id.- Specified by:
getRequestId
in interfacecom.netscape.certsrv.request.IRequestRecord
- Returns:
- request id
-
getAttrNames
public java.util.Enumeration<java.lang.String> getAttrNames()
Description copied from interface:com.netscape.certsrv.request.IRequestRecord
Gets attribute names of the request.- Specified by:
getAttrNames
in interfacecom.netscape.certsrv.request.IRequestRecord
- Returns:
- list of attribute names
-
get
public java.lang.Object get(java.lang.String name)
Description copied from interface:com.netscape.certsrv.request.IRequestRecord
Gets the request attribute value by the name.
-
set
public void set(java.lang.String name, java.lang.Object o)
Description copied from interface:com.netscape.certsrv.request.IRequestRecord
Sets new attribute for the request.
-
delete
public void delete(java.lang.String name) throws EBaseException
Description copied from interface:com.netscape.certsrv.request.IRequestRecord
Removes attribute from the request.- Specified by:
delete
in interfaceIAttrSet
- Specified by:
delete
in interfacecom.netscape.certsrv.request.IRequestRecord
- Parameters:
name
- attribute name- Throws:
EBaseException
- on attribute handling errors.
-
getElements
public java.util.Enumeration<java.lang.String> getElements()
Description copied from interface:com.netscape.certsrv.request.IRequestRecord
Gets attribute list of the request.- Specified by:
getElements
in interfaceIAttrSet
- Specified by:
getElements
in interfacecom.netscape.certsrv.request.IRequestRecord
- Returns:
- attribute list
-
getSerializableAttrNames
public java.util.Enumeration<java.lang.String> getSerializableAttrNames()
Description copied from interface:com.netscape.certsrv.dbs.IDBObj
Returns a list of serializable attribute names. This method should return the attribute name even if there is no attribute value for the attribute.- Specified by:
getSerializableAttrNames
in interfacecom.netscape.certsrv.dbs.IDBObj
- Returns:
- a list of serializable attribute names
-
loadExtDataFromRequest
protected static java.util.Hashtable<java.lang.String,java.lang.Object> loadExtDataFromRequest(com.netscape.certsrv.request.IRequest r) throws EBaseException
- Throws:
EBaseException
-
storeExtDataIntoRequest
protected void storeExtDataIntoRequest(com.netscape.certsrv.request.IRequest r) throws EBaseException
- Throws:
EBaseException
-
-