DeletionOptions

Inheritance: java.lang.Object

public class DeletionOptions

Defines parameters for item deletion

Constructors

Constructor Description
DeletionOptions() Initializes a new instance of the DeletionOptions class.
DeletionOptions(int type) Initializes a new instance of the DeletionOptions class.

Methods

Method Description
getDefault() Gets instance of the DeletionOptions object with settings uses by default
getDeletePermanently() Gets instance of the DeletionOptions object with settings for permanent deletion
getMoveToDeletedItems() Gets instance of the DeletionOptions object with settings for moving to deleted items
getType() Type of deletion
setType(int value) Type of deletion

DeletionOptions()

public DeletionOptions()

Initializes a new instance of the DeletionOptions class.

DeletionOptions(int type)

public DeletionOptions(int type)

Initializes a new instance of the DeletionOptions class.

Parameters:

Parameter Type Description
type int Type of deletion

getDefault()

public static DeletionOptions getDefault()

Gets instance of the DeletionOptions object with settings uses by default

Returns: DeletionOptions

getDeletePermanently()

public static DeletionOptions getDeletePermanently()

Gets instance of the DeletionOptions object with settings for permanent deletion

Returns: DeletionOptions

getMoveToDeletedItems()

public static DeletionOptions getMoveToDeletedItems()

Gets instance of the DeletionOptions object with settings for moving to deleted items

Returns: DeletionOptions

getType()

public final int getType()

Type of deletion

Returns: int

setType(int value)

public final void setType(int value)

Type of deletion

Parameters:

Parameter Type Description
value int