Skip navigation links

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

B25584-03


oracle.ifs.fdk
Interface VirusManager


public interface VirusManager

The antivirus management interface.


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

 

Method Detail

scan

public void scan(long[] items)
          throws FdkException
Scans items (Folders are ignored).
Parameters:
items - the IDs of the items to scan.
Throws:
FdkException - if the operation fails or if a virus is found.

repair

public void repair(long[] items)
            throws FdkException
Repairs items (Folders are ignored).
Parameters:
items - the IDs of the items to repair.
Throws:
FdkException - if the repair fails unexpectedly, not if a repair is unsuccessful.

getVirusReport

public Item[] getVirusReport(long item,
                             AttributeRequest[] attrs,
                             NamedValue[] options)
                      throws FdkException
Retrieves virus reports associated with an item that has been sent for repair.
Parameters:
item - ID of item to get potential virus reports on.
attrs - requested attributes for each item, or null.
options - The sort options. Valid options are:
  • notation: {Attribute name, Attribute type}
  • {Options.PRIMARY_SORT_ATTRIBUTE, String}
  • {Options.PRIMARY_SORT_DIRECTION, Boolean}
  • {Options.SECONDARY_SORT_ATTRIBUTE, String}
  • {Options.SECONDARY_SORT_DIRECTION, Boolean}
If an attribute name is specified with no direction, ascending is the default. Attributes must return values that implement Comparable.
Throws:
FdkException - if retrieval of virus report information fails.

Skip navigation links

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

B25584-03


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