Oracle® Content Services Web Services Java API Reference
10g Release 1 (10.1.1)

B19047-01


oracle.ifs.fdk
Interface VirusManager


public interface VirusManager

The antivirus management Facade interface.


Method Summary
 Item[] getVirusReport(long item, AttributeRequest[] attrs, NamedValue[] options)
          Retrieves virus reports associated with content that has been sent for repair.
 void repair(long[] items)
          Repairs items.
 void scan(long[] items)
          Scans items.

 

Method Detail

getVirusReport

public Item[] getVirusReport(long item,
                             AttributeRequest[] attrs,
                             NamedValue[] options)
                      throws FdkException
Retrieves virus reports associated with content that has been sent for repair.
Parameters:
item - ID of document to get potential virus reports on.
Throws:
FdkException - if retrieval of virus report information fails in any fashion.

repair

public void repair(long[] items)
            throws FdkException
Repairs items.

Folders will be ignored.

Parameters:
items - the item IDs to be repaired.
Throws:
FdkException - if the repair fails unexpectedly, not if a repair is unsuccessful.

scan

public void scan(long[] items)
          throws FdkException
Scans items.

Folders will be ignored.

Parameters:
items - the item IDs to be scanned.
Throws:
FdkException - if the operation fails or if a virus is found.

Oracle® Content Services Web Services Java API Reference
10g Release 1 (10.1.1)

B19047-01


Copyright © 2002, 2005, Oracle. All rights reserved.