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

B19047-01


oracle.ifs.fdk
Interface CommonManager


public interface CommonManager

The "common" Facade interface.


Method Summary
 Item getItem(long id, AttributeRequest[] attributes)
          Returns an Item given an Item ID and an array of AttributeRequests.
 NamedValue[] getItemInvalidations(long[] addedIds, long[] removedIds, long[] setIds)
          Gets the set of Item invalidations for items the session has registered interest for.
 Item[] getItems(long[] ids, AttributeRequest[] attributes)
          Returns an array of Items given an array of Item IDs and an array of AttributeRequests.

 

Method Detail

getItem

public Item getItem(long id,
                    AttributeRequest[] attributes)
             throws FdkException
Returns an Item given an Item ID and an array of AttributeRequests.
Parameters:
id - the ID of the Item to return.
attributes - the attributes to retrieve for each Item.
Throws:
FdkException - if the operation fails.

getItemInvalidations

public NamedValue[] getItemInvalidations(long[] addedIds,
                                         long[] removedIds,
                                         long[] setIds)
                                  throws FdkException
Gets the set of Item invalidations for items the session has registered interest for.

Also specify an optional set of newly added IDs of interest, a set of IDs that the client no longer has interest, or the explicit set of IDs that the client has interest in. If a non-null explicit list is specified, the other two lists are ignored.

Parameters:
addedIds - the new IDs of interest
removedIds - the IDs that the client no longer has interest.
setIds - the total set IDs of interest
Returns:
the set of Item invalidations.
Throws:
FdkException - if the operation fails.

getItems

public Item[] getItems(long[] ids,
                       AttributeRequest[] attributes)
                throws FdkException
Returns an array of Items given an array of Item IDs and an array of AttributeRequests.
Parameters:
ids - the IDs of the Items to return.
attributes - the attributes to retrieve for each Item.
Throws:
FdkException - if the operation fails.

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

B19047-01


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