bug5014: added replication support for ExpeditionDeviceConfiguration; security ID solely based on UUID now

This commit is contained in:
Axel Uhl
2020-06-16 18:39:27 +02:00
parent e99cf6397c
commit b0bd5d2f12
13 changed files with 130 additions and 57 deletions
@@ -81,18 +81,6 @@ public class ExpeditionDeviceConfiguration extends NamedImpl implements SecuredD
+ ", getName()=" + getName() + "]";
}
/**
* Get TypeRelativeObjectIdentifer. Needs a parameter for the servername passed as a String parameter.
*
*/
public TypeRelativeObjectIdentifier getTypeRelativeObjectIdentifier(String serverName) {
return getTypeRelativeObjectIdentifier(serverName, getName());
}
public static TypeRelativeObjectIdentifier getTypeRelativeObjectIdentifier(String serverName, String name) {
return new TypeRelativeObjectIdentifier(serverName, name);
}
public HasPermissions getType() {
return SecuredDomainType.EXPEDITION_DEVICE_CONFIGURATION;
}
@@ -108,7 +96,7 @@ public class ExpeditionDeviceConfiguration extends NamedImpl implements SecuredD
}
public TypeRelativeObjectIdentifier getTypeRelativeObjectIdentifier() {
return getTypeRelativeObjectIdentifier(getDeviceUuid().toString());
return new TypeRelativeObjectIdentifier(getDeviceUuid().toString());
}
@Override