public class DeletionOptions extends Object
Defines parameters for item deletion
Constructor and Description |
---|
DeletionOptions()
Initializes a new instance of the
DeletionOptions class. |
DeletionOptions(int type)
Initializes a new instance of the
DeletionOptions class. |
Modifier and Type | Method and Description |
---|---|
static DeletionOptions |
getDefault()
Gets instance of the
DeletionOptions object with settings uses by default |
static DeletionOptions |
getDeletePermanently()
Gets instance of the
DeletionOptions object with settings for permanent deletion |
static DeletionOptions |
getMoveToDeletedItems()
Gets instance of the
DeletionOptions object with settings for moving to deleted items |
int |
getType()
Type of deletion
|
void |
setType(int value)
Type of deletion
|
public DeletionOptions()
Initializes a new instance of the DeletionOptions
class.
public DeletionOptions(int type)
Initializes a new instance of the DeletionOptions
class.
type
- Type of deletionpublic static DeletionOptions getDefault()
Gets instance of the DeletionOptions
object with settings uses by default
public static DeletionOptions getDeletePermanently()
Gets instance of the DeletionOptions
object with settings for permanent deletion
public static DeletionOptions getMoveToDeletedItems()
Gets instance of the DeletionOptions
object with settings for moving to deleted items
public final int getType()
Type of deletion
public final void setType(int value)
Type of deletion