Package de.xima.fc.prompt.mgmt.service
Interface IPromptReferenceLocator
-
public interface IPromptReferenceLocatorService interface for finding references to prompt objects, such as connections and queries. Implementations must be discoverable via CDI, with theApplicationScoped. If other dependent modules create references to prompt objects, they should provide an implementation of this interface to allow the prompt module to locate these references. The reference locator is used in the following scenarios:- When the prompt module deletes a prompt object, it first scans for existing references and refuses to delete the object if any references are found.
- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IPromptReference>locateConnectionReferences(PromptObjectIdentifier connection)Finds all references to the given prompt connection.List<IPromptReference>locateQueryReferences(PromptObjectIdentifier query)Finds all references to the given prompt query.
-
-
-
Method Detail
-
locateConnectionReferences
List<IPromptReference> locateConnectionReferences(PromptObjectIdentifier connection)
Finds all references to the given prompt connection.- Parameters:
connection- The ID of the prompt connection to find references for.- Returns:
- A list of references to the given prompt connection.
-
locateQueryReferences
List<IPromptReference> locateQueryReferences(PromptObjectIdentifier query)
Finds all references to the given prompt query.- Parameters:
query- The UUID prompt query to find references for.- Returns:
- A list of references to the given prompt query.
-
-