@UESComponent public interface UESURIConvertor
Modifier and Type | Method and Description |
---|---|
UESURI |
getCanonicalURI(UESURI aUri)
Returns canonical UESURI.
|
UESURI |
getEvaluatedURI(UESURI aUri)
Returns evaluated UESURI.
|
UESURI |
getNormalizedURI(UESURI uri)
Returns normalized UESURI.
|
boolean |
isCanonical(UESURI aURI)
Tests, whether is the UESURI in canonical form.
|
boolean |
isEvaluated(UESURI aUri)
Tests whether is the UESURI evaluated (expressions are resolved).
|
boolean |
isNormalized(UESURI uri)
Tests, whether is the UESURI in normalized form.
|
Returns canonical UESURI. Canonical form of UESURI is described in artifact UNI-BT:UES.DOC/URI_V2/HLC.
Because UES Platform doesn't know anything about UESURI parts except territory part, these parts must already contain Id otherwise exception will be thrown.
aUri
- UESURI for canonicalization.UnsupportedOperationRTException
- In case the UESURI contains only code in some
UESURI part except territory UESURI part.aURI
- Tested UESURI.aUri
- UESURI for evaluation.aUri
- UESURI for evaluation.Returns normalized UESURI. Normalized form of UESURI is described in artifact UNI-BT:UES.DOC/URI_V2/HLC.
Normalization of an UESURI requires that active territory is the same as territory specified within the normalized UESURI and there is an active transaction.
uri
- UESURI for normalization.null
reference if the UESURI cannot be normalized (e.g. the UESURI is ambiguous; there is
no persistent object referenced by the UESURI,...).InvalidUESURIFormatRTException
- If UESURI cannot be normalized due to invalid format.InvalidFormatRTException
UESTerritoryService
uri
- Tested UESURI.