@UESComponent public interface UESURIConvertor extends UESURIConvertor
Modifier and Type | Method and Description |
---|---|
UESURI |
convertToCoreURI(UESURI uri)
Converts platform UESURI to core UESURI.
|
UESURI |
getCanonicalURI(UESURI uri)
Returns canonical UESURI.
|
UESURI |
getCodeBasedURI(UESURI uri)
Returns UESURI containing only codes.
|
UESURI |
getEvaluatedURI(UESURI uri)
Returns evaluated UESURI.
|
UESURI |
getNormalizedURI(UESURI uri)
Returns normalized UESURI.
|
UESURI |
getNormalizedURI(UESURI uri,
Returns normalized UESURI.
|
boolean |
isCanonical(UESURI uri)
Tests, whether is the UESURI in canonical form.
|
boolean |
isCodeBased(UESURI uri)
Tests whether the UESURI contains only codes, see details about code-based UESURI in
UESURIConvertor.getCodeBasedURI(UESURI) . |
boolean |
isEvaluated(UESURI uri)
Tests whether is the UESURI evaluated (expressions are resolved).
|
boolean |
isNormalized(UESURI uri)
Tests, whether is the UESURI in normalized form.
|
getCanonicalURI, getEvaluatedURI, getNormalizedURI, isCanonical, isEvaluated, isNormalized
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.
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.UESTerritoryService
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.
uri
- UESURI to normalize.forceRefresh
- This parameter enforces usage of persistent storage. If this parameter is set to the value true
,
UESURI will contain actual codes for every UESURI part. This is useful e.g. if the UESURI will be displayed to user.false
value, UESURI will be created using cache (application performance will be
better) and some UESURI part can contain obsoleted code. This is suitable for the most other cases (e.g. when the UESURI will
be used for navigation between artifacts - in such case only OID are used).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.UESTerritoryService
uri
- Tested UESURI.uri
- UESURI for canonicalization.null
reference if the UESURI cannot be canonicalized (e.g. the UESURI is ambiguous; there
is no persistent object referenced by the UESURI,...).InvalidUESURIFormatRTException
- If UESURI cannot be canonicalized due to invalid format.uri
- Tested UESURI.uri
- UESURI for evaluation.uri
- UESURI for evaluation.uri
- UESURI.UESURIConvertor.getCodeBasedURI(UESURI)
.uri
- UESURI.true
if UESURI contains only codes.uri
- UESURI for conversion