Search in sources :

Example 1 with AboutDocument

use of org.openntf.domino.design.AboutDocument in project org.openntf.domino by OpenNTF.

the class DesignClassTest method testCreation.

// @Test
public void testCreation() {
    DbDirectory dbdir = Factory.getSession(SessionType.CURRENT).getDbDirectory("");
    Database db = dbdir.createDatabase("D:/Daten/notesdaten_9/localdb/pw" + System.currentTimeMillis() + ".nsf", true);
    AboutDocument abd = new org.openntf.domino.design.impl.AboutDocument(db);
    abd.save();
}
Also used : DbDirectory(org.openntf.domino.DbDirectory) AboutDocument(org.openntf.domino.design.AboutDocument) Database(org.openntf.domino.Database)

Aggregations

Database (org.openntf.domino.Database)1 DbDirectory (org.openntf.domino.DbDirectory)1 AboutDocument (org.openntf.domino.design.AboutDocument)1