Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

VirusScanResult.

This class encapsulates the results returned regarding any infection found in the scanned entity. This includes the service provider specified virus identifier, virus name, and location within the entity of the sub-component that is infected. Other information regarding the date of scan, number of repair attempts, Beehive identifiers for the scanned entity are also included.

Members

Name Type Required Description

auxilliaryVirusScanResultData

string

Return any other auxilliary data that's available for the virus found.

repairAttempts

int

Return the number of attempts made to repair this entity.

repaired

boolean

Return status indicating if the infected entity was successfully repaired.

scanDate

dateTime

Return the date when the entity was last scanned.

scannedComponentName

string

Return the name of the scanned file or the name of the nested component within the scanned file that contains the infection. Each component name is seperated by a forward slash mark (/).

scannedEntityCollabId

beeId

Return the CollabdId of the scanned entity.

scannedEntityEid

string

Returns the Eid of the scanned entity.

scannedEntityHandle

beeId<Identifiable>

Returns the IdentifiableHandle of the scanned entity.

scannedEntityType

string

Returns the BomTypeId of the scanned entity.

virusId

string

Return the identifier, supplied by the virus scan software provider, to identify the virus found.

virusName

string

Return the name, supplied by the virus scan software provider, to identify the virus found.

Hierarchy

Examples

Below are examples in JSON and XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:virusScanResult xsi:type="obh:virusScanResult" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:auxilliaryVirusScanResultData>your_string_0</obh:auxilliaryVirusScanResultData>
        <obh:repairAttempts>your_int_0</obh:repairAttempts>
        <obh:repaired>your_boolean_0</obh:repaired>
        <obh:scanDate>your_dateTime_0</obh:scanDate>
        <obh:scannedComponentName>your_string_0</obh:scannedComponentName>
        <obh:scannedEntityCollabId>your_beeId_0</obh:scannedEntityCollabId>
        <obh:scannedEntityEid>your_string_0</obh:scannedEntityEid>
        <obh:scannedEntityHandle>your_beeId_0</obh:scannedEntityHandle>
        <obh:scannedEntityType>your_string_0</obh:scannedEntityType>
        <obh:virusId>your_string_0</obh:virusId>
        <obh:virusName>your_string_0</obh:virusName>
</obh:virusScanResult>

JSON Example

(show inherited members)

{
    "beeType":"virusScanResult",
        "auxilliaryVirusScanResultData":"your_{http://www.oracle.com/beehive}auxilliaryVirusScanResultData_as_string0",
        "repairAttempts":your_{http://www.oracle.com/beehive}repairAttempts_as_int0,
        "repaired":your_{http://www.oracle.com/beehive}repaired_as_boolean0,
        "scanDate":"your_{http://www.oracle.com/beehive}scanDate_as_dateTime0",
        "scannedComponentName":"your_{http://www.oracle.com/beehive}scannedComponentName_as_string0",
        "scannedEntityCollabId":{ your_{http://www.oracle.com/beehive}scannedEntityCollabId_as_beeId0 },
        "scannedEntityEid":"your_{http://www.oracle.com/beehive}scannedEntityEid_as_string0",
        "scannedEntityHandle":{ your_{http://www.oracle.com/beehive}scannedEntityHandle_as_beeId0 },
        "scannedEntityType":"your_{http://www.oracle.com/beehive}scannedEntityType_as_string0",
        "virusId":"your_{http://www.oracle.com/beehive}virusId_as_string0",
        "virusName":"your_{http://www.oracle.com/beehive}virusName_as_string0"
}

XML Schema


<xs:complexType name="virusScanResult">
    <xs:sequence>
        <xs:element minOccurs="0" name="auxilliaryVirusScanResultData" type="xs:string"/>
        <xs:element name="repairAttempts" type="xs:int"/>
        <xs:element name="repaired" type="xs:boolean"/>
        <xs:element minOccurs="0" name="scanDate" type="xs:dateTime"/>
        <xs:element minOccurs="0" name="scannedComponentName" type="xs:string"/>
        <xs:element minOccurs="0" name="scannedEntityCollabId" type="tns:beeId"/>
        <xs:element minOccurs="0" name="scannedEntityEid" type="xs:string"/>
        <xs:element minOccurs="0" name="scannedEntityHandle" type="tns:beeId"/>
        <xs:element minOccurs="0" name="scannedEntityType" type="xs:string"/>
        <xs:element minOccurs="0" name="virusId" type="xs:string"/>
        <xs:element minOccurs="0" name="virusName" type="xs:string"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to virusScanResult

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions