Class RepositoryRecord
java.lang.Object
com.netscape.cmscore.dbs.RepositoryRecord
- All Implemented Interfaces:
IAttrSet,IDBObj,IRepositoryRecord,Serializable
A class represents a repository record.
- Version:
- $Revision$, $Date$
- Author:
- thomask
- See Also:
-
Field Summary
FieldsFields inherited from interface com.netscape.certsrv.dbs.repository.IRepositoryRecord
ATTR_DESCRIPTION, ATTR_PUB_STATUS, ATTR_SERIALNO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes an attribute.Retrieves attribute from this record.Retrieves a list of attribute names.Returns a list of serializable attribute names.Retrieves serial number.voidSets attribute.
-
Field Details
-
mNames
-
-
Constructor Details
-
RepositoryRecord
public RepositoryRecord()Constructs a repository record.
-
-
Method Details
-
set
Sets attribute.- Specified by:
setin interfaceIAttrSet- Parameters:
name- the name of the attributeobj- the attribute object.- Throws:
EBaseException- on attribute handling errors.
-
get
Retrieves attribute from this record.- Specified by:
getin interfaceIAttrSet- Parameters:
name- the name of the attribute to return.- Throws:
EBaseException- on attribute handling errors.
-
delete
Deletes an attribute.- Specified by:
deletein interfaceIAttrSet- Parameters:
name- the name of the attribute to delete.- Throws:
EBaseException- on attribute handling errors.
-
getElements
Retrieves a list of attribute names.- Specified by:
getElementsin interfaceIAttrSet- Returns:
- an enumeration of the attribute names.
-
getSerializableAttrNames
Description copied from interface:IDBObjReturns 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:
getSerializableAttrNamesin interfaceIDBObj- Returns:
- a list of serializable attribute names
-
getSerialNumber
Retrieves serial number.- Specified by:
getSerialNumberin interfaceIRepositoryRecord- Returns:
- serial number
-
getPublishingStatus
- Specified by:
getPublishingStatusin interfaceIRepositoryRecord
-
getDescription
- Specified by:
getDescriptionin interfaceIRepositoryRecord
-