public interface ValueReferencesJournal
Modifier and Type | Method and Description |
---|---|
void |
addBrokenReferenceToDataset(Schema schema,
String entityTypeName,
UUID gid)
Deprecated.
since 5.2.200403 - use
addReferenceToDataset(Schema, String, UUID) instead |
void |
addBrokenReferenceToElement(String uid,
IDProvider.UidType uidType,
String remote)
Deprecated.
since 5.2.200403 - use
addReferenceToElement(String, IDProvider.UidType, String) instead |
void |
addReferenceToDataset(Schema schema,
String entityTypeName,
KeyValue keyValue)
Adds a reference to a FirstSpirit
Dataset to this journal. |
default void |
addReferenceToDataset(Schema schema,
String entityTypeName,
UUID gid)
Adds a reference to a FirstSpirit
Dataset to this journal. |
void |
addReferenceToElement(IDProvider element)
Adds a reference to a FirstSpirit element to this journal.
|
default void |
addReferenceToElement(String uid,
IDProvider.UidType uidType,
String remote)
Adds a reference to a FirstSpirit element to this journal.
|
void |
addReferenceToExternal(String category,
String reference)
Adds a reference to an external element to this journal.
|
void addReferenceToElement(@NotNull IDProvider element)
element
- The element being referenced.void addReferenceToExternal(@NotNull String category, @NotNull String reference)
ProjectReferencesAgent
.category
- A category identifier.reference
- The reference descriptor.@Deprecated void addBrokenReferenceToElement(@NotNull String uid, @NotNull IDProvider.UidType uidType, @Nullable String remote)
addReferenceToElement(String, IDProvider.UidType, String)
insteaduid type
.
If the element originates from a remote project, its configuration name must be provided.uid
- The element's uid.uidType
- The element's uid type.remote
- The configuration name of the remote project, if applicable.default void addReferenceToElement(@NotNull String uid, @NotNull IDProvider.UidType uidType, @Nullable String remote)
uid type
.
If the element originates from a remote project, its configuration name must be provided.uid
- The element's uid.uidType
- The element's uid type.remote
- The configuration name of the remote project, if applicable.@Deprecated void addBrokenReferenceToDataset(@NotNull Schema schema, @NotNull String entityTypeName, @NotNull UUID gid)
addReferenceToDataset(Schema, String, UUID)
insteadDataset
to this journal, where the referenced dataset could not be found
(e.g., may be deleted from the project). Such a broken reference here is identified by the schema it originated from,
the name of its entity type (table name) and the global identifier.schema
- The schema the referenced dataset originates fromentityTypeName
- The name of the entity type (table) in the schema.gid
- The global identifier of the referenced dataset.default void addReferenceToDataset(@NotNull Schema schema, @NotNull String entityTypeName, @NotNull UUID gid)
Dataset
to this journal. Such a reference here is identified by the schema
it originated from, the name of its entity type (table name) and the global identifier.schema
- The schema the referenced dataset originates fromentityTypeName
- The name of the entity type (table) in the schema.gid
- The global identifier of the referenced dataset.void addReferenceToDataset(@NotNull Schema schema, @NotNull String entityTypeName, @NotNull KeyValue keyValue)
Dataset
to this journal. Such a reference here is identified by the schema
it originated from, the name of its entity type (table name) and the key value.schema
- The schema the referenced dataset originates fromentityTypeName
- The name of the entity type (table) in the schema.keyValue
- The key value of the referenced dataset.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210