Skip to content
Snippets Groups Projects

Draft: F acm permissions2

Closed Timm Fitschen requested to merge f-acm-permissions2 into dev
2 files
+ 7
31
Compare changes
  • Side-by-side
  • Inline

Files

@@ -22,21 +22,11 @@
*/
package org.caosdb.server.entity;
import org.caosdb.server.transaction.WriteTransaction;
import org.caosdb.server.utils.EntityStatus;
import org.jdom2.Element;
/**
* UpdateEntity class represents entities which are to be updated. The previous version is appeded
* during the {@link WriteTransaction} transactions initialization.
*
* @author Timm Fitschen <t.fitschen@indiscale.com>
*/
public class UpdateEntity extends WritableEntity {
/** The previous version of this entity. */
private EntityInterface original = null;
public UpdateEntity(final Element element) {
super(element);
}
@@ -45,12 +35,4 @@ public class UpdateEntity extends WritableEntity {
public boolean skipJob() {
return getEntityStatus() != EntityStatus.QUALIFIED;
}
public void setOriginal(EntityInterface original) {
this.original = original;
}
public EntityInterface getOriginal() {
return this.original;
}
}
Loading