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

B19047-01


oracle.ifs.fdk
Interface TrashManager


public interface TrashManager

The trash management Facade interface.


Method Summary
 void emptyTrash(long trashId)
          Empties the given TrashFolder.
 void setTrashConfiguration(long trashId, NamedValue[] config)
          Sets the TrashFolder configuration.

 

Method Detail

emptyTrash

public void emptyTrash(long trashId)
                throws FdkException
Empties the given TrashFolder.
Parameters:
trashId - the ID of the TrashFolder to empty.
Throws:
FdkException - if the operation fails.

setTrashConfiguration

public void setTrashConfiguration(long trashId,
                                  NamedValue[] config)
                           throws FdkException
Sets the TrashFolder configuration.
Parameters:
trashId - the TrashFolder for which to set the configuration
config - the TrashFolder configuration options to set; must include one or more of the following Attributes:
  • notation: {Attribute name, Attribute type}
  • {Attributes.TRASH_ENABLED, Boolean}
  • {Attributes.TRASH_AUTO_EMPTY_ENABLED, Boolean}
  • {Attributes.TRASH_MIN_HOLDING_PERIOD, Long}
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.