public enum DatabaseProvider extends Enum<DatabaseProvider>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
lotus.domino.Database |
getDatabase(String databaseName,
boolean asSigner)
Returns the requested database.
|
lotus.domino.Database |
getDatabaseWithSession(String databaseName,
lotus.domino.Session sesCurrent) |
void |
handleRecylce(lotus.domino.Database ndbRecylce)
Call to recylce the database (and prevent to recycle the currentDatabase
|
static DatabaseProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseProvider INSTANCE
public static DatabaseProvider[] values()
for (DatabaseProvider c : DatabaseProvider.values()) System.out.println(c);
public static DatabaseProvider valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic lotus.domino.Database getDatabase(String databaseName, boolean asSigner)
databaseName
- asSigner
- public lotus.domino.Database getDatabaseWithSession(String databaseName, lotus.domino.Session sesCurrent)
public void handleRecylce(lotus.domino.Database ndbRecylce)
ndbRecylce
- Database which should be recycledCopyright © 2021. All Rights Reserved.