mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 12:45:35 +00:00
bug5014: added replication support for ExpeditionDeviceConfiguration; security ID solely based on UUID now
This commit is contained in:
+1
-13
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user