Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


oracle.ifs.fdk
Class VirusManager


public interface class 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

void scan(long[] items)
          throws FdkException
Description copied from interface: VirusManager
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

void repair(long[] items)
            throws FdkException
Description copied from interface: VirusManager
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

Item[] getVirusReport(long item,
                      AttributeRequest[] attrs,
                      NamedValue[] options)
                      throws FdkException
Description copied from interface: VirusManager
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 Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


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