Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.fdk
Class TrashManager

All Superinterfaces:
  java.rmi.Remote

All Known Implementing Classes:
  CoreTrashManager, TrashManagerImpl

    public interface class TrashManager

extends java.rmi.Remote

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

    void emptyTrash(long trashId)
                    throws FdkException

  Description copied from interface: `TrashManager`
  Empties the given TrashFolder.

  Parameters:
    `trashId` - the ID of the TrashFolder to empty.
  Throws:
    `FdkException` - if the operation fails.

### setTrashConfiguration

    void setTrashConfiguration(long trashId,
                               NamedValue[] config)
                               throws FdkException

  Description copied from interface: `TrashManager`
  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_HOLDING_PERIOD, Long}
  Throws:
    `FdkException` - if the operation fails.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD