}
return false;
}
private void updateTimestamp(Connection con, TimestampedObject obj, TimeSequence timestamp) throws org.dbwiki.exception.WikiException {
TimeInterval interval = timestamp.lastInterval();
ResourceIdentifier identifier = obj.identifier();
if (obj.hasTimestamp() && !interval.isOpen()) {
new DatabaseWriter(con, this).updateTimestamp(identifier, interval);
} else {
new DatabaseWriter(con, this).insertTimestamp(identifier, interval);
}
obj.setTimestamp(timestamp);