public abstract class ConfigCrudHelper<T extends ConfigObjectWithId> extends Object
Constructor and Description |
---|
ConfigCrudHelper(org.dom4j.Document document,
ConfigSequence configSeqence,
String elementName) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
deleteObject(org.dom4j.Element element,
T deleteObject) |
protected abstract T |
elementToObject(org.dom4j.Element element) |
List<T> |
load() |
protected abstract void |
newObject(org.dom4j.Element element,
T newObject,
Long newId) |
boolean |
save(List<T> newList) |
protected abstract void |
updateObject(org.dom4j.Element element,
T updateObject,
T oldObject) |
public ConfigCrudHelper(org.dom4j.Document document, ConfigSequence configSeqence, String elementName)
Copyright © 2002-2022 Atlassian. All Rights Reserved.