Class ContractLinkResolver
java.lang.Object
org.bgerp.plugin.bgb.getolt.contract.ContractLinkResolver
Registry of contract link sources. Reads process links by providers in the order from
getolt:contract.link.priority and returns the first link found.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceReads process links by a LIKE pattern of the link type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault order: as long as the process has a bgbilling link, behavior stays the same -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_PRIORITY
Default order: as long as the process has a bgbilling link, behavior stays the same- See Also:
-
-
Constructor Details
-
ContractLinkResolver
-
-
Method Details
-
provider
- Parameters:
id- provider id- Returns:
- the provider or
nullif none
-
parsePriority
-
resolve
- Parameters:
lookup- reads process links- Returns:
- the contract from the first provider with a non-empty result
- Throws:
SQLException
-