Package com.netscape.cmscore.request
Class RequestRecord
java.lang.Object
com.netscape.cmscore.request.RequestRecord
- All Implemented Interfaces:
IAttrSet
,IDBObj
,Serializable
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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Removes attribute from the request.Gets the request attribute value by the name.Gets attribute names of the request.Gets attribute list of the request.Gets the request ID.Returns a list of serializable attribute names.void
Sets new attribute for the request.protected void
-
Field Details
-
logger
public static org.slf4j.Logger logger -
ATTR_REQUEST_ID
- See Also:
-
ATTR_REQUEST_STATE
- See Also:
-
ATTR_CREATE_TIME
- See Also:
-
ATTR_MODIFY_TIME
- See Also:
-
ATTR_SOURCE_ID
- See Also:
-
ATTR_REQUEST_OWNER
- See Also:
-
ATTR_REQUEST_TYPE
- See Also:
-
ATTR_EXT_DATA
- See Also:
-
ATTR_REALM
- See Also:
-
mOC
-
mAttrs
-
-
Constructor Details
-
RequestRecord
public RequestRecord()
-
-
Method Details
-
getRequestId
Gets the request ID.- Returns:
- request ID
-
getAttrNames
Gets attribute names of the request.- Returns:
- list of attribute names
-
get
Gets the request attribute value by the name. -
set
Sets new attribute for the request. -
delete
Removes attribute from the request.- Specified by:
delete
in interfaceIAttrSet
- Parameters:
name
- attribute name- Throws:
EBaseException
- on attribute handling errors.
-
getElements
Gets attribute list of the request.- Specified by:
getElements
in interfaceIAttrSet
- Returns:
- attribute list
-
getSerializableAttrNames
Description copied from interface: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 interfaceIDBObj
- Returns:
- a list of serializable attribute names
-
loadExtDataFromRequest
- Throws:
EBaseException
-
storeExtDataIntoRequest
- Throws:
EBaseException
-
toRequest
- Throws:
EBaseException
-