Search in sources :

Example 1 with RecordHistory

use of org.activityinfo.model.form.RecordHistory in project activityinfo by bedatadriven.

the class MySqlHistoryTest method locationChange.

@Test
public void locationChange() throws SQLException {
    MySqlRecordHistoryBuilder builder = new MySqlRecordHistoryBuilder(catalog);
    RecordHistory array = builder.build(new RecordRef(CuidAdapter.activityFormClass(33), CuidAdapter.cuid(CuidAdapter.SITE_DOMAIN, 968196924)));
    System.out.println(Json.stringify(Json.toJson(array), 2));
}
Also used : RecordRef(org.activityinfo.model.type.RecordRef) RecordHistory(org.activityinfo.model.form.RecordHistory) Test(org.junit.Test)

Aggregations

RecordHistory (org.activityinfo.model.form.RecordHistory)1 RecordRef (org.activityinfo.model.type.RecordRef)1 Test (org.junit.Test)1