public interface StructurePropertyService
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllKeys(long structureId) |
default long |
getLong(long structureId,
String key,
long defaultValue) |
String |
getString(long structureId,
String key,
String defaultValue) |
void |
removeAllProperties(long structureId) |
default void |
setValue(long structureId,
String key,
long value) |
void |
setValue(long structureId,
String key,
String value)
Stores value for the given structure and key
Notes:
1.
|
@Nullable String getString(long structureId, @NotNull String key, @Nullable String defaultValue)
default long getLong(long structureId, @NotNull String key, long defaultValue)
void setValue(long structureId, @NotNull String key, @Nullable String value)
structureId
- id of the structure, structure may not existkey
- should be <= 170 chars in lengthvalue
- length is not limited, but specific DB rules for storing long text values may applydefault void setValue(long structureId, @NotNull String key, long value)
void removeAllProperties(long structureId)
Copyright © 2023 ALM Works. All Rights Reserved.