Skip to content
Snippets Groups Projects

Draft: F acm permissions2

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

Files

@@ -28,7 +28,6 @@ import org.caosdb.server.database.backend.interfaces.GetIDByNameImpl;
import org.caosdb.server.database.exceptions.EntityDoesNotExistException;
import org.caosdb.server.database.exceptions.EntityWasNotUniqueException;
import org.caosdb.server.database.exceptions.TransactionException;
import org.caosdb.server.query.Query.Role;
public class GetIDByName extends BackendTransaction {
@@ -38,11 +37,11 @@ public class GetIDByName extends BackendTransaction {
private final String role;
public GetIDByName(final String name) {
this(name, (String) null, true);
this(name, null, true);
}
public GetIDByName(final String name, final boolean unique) {
this(name, (String) null, unique);
this(name, null, unique);
}
public GetIDByName(final String name, final String role) {
@@ -55,10 +54,6 @@ public class GetIDByName extends BackendTransaction {
this.unique = unique;
}
public GetIDByName(String name, Role role, boolean unique) {
this(name, role.toString(), unique);
}
@Override
public void execute() throws TransactionException {
final GetIDByNameImpl t = getImplementation(GetIDByNameImpl.class);
Loading