com.netgrif.application.engine.petrinet.domain.dataset.logic.ChangedFieldByFileFieldContainer.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.petrinet.domain.dataset.logic
class ChangedFieldByFileFieldContainer extends ChangedFieldContainer {
private Map> changedFields
private boolean isSave
ChangedFieldByFileFieldContainer() {
this.changedFields = new HashMap<>()
this.isSave = false
}
ChangedFieldByFileFieldContainer(boolean isSave) {
this.changedFields = new HashMap<>()
this.isSave = isSave
}
ChangedFieldByFileFieldContainer(ChangedFieldContainer container, boolean isSave) {
this.changedFields = container.getChangedFields()
this.isSave = isSave
}
void putAll(Map changed) {
changed.each { key, field -> changedFields.put(field.id, field.attributes) }
}
Map> getChangedFields() {
return changedFields
}
boolean getIsSave() {
return isSave
}
void setIsSave(boolean isSave) {
this.isSave = isSave
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy