public interface Reference
broken
if the reference name couldn't be
found.isBroken()
,
isRemote()
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_LINK
Type string identifying a reference to a
de.espirit.or.impl.Entity |
static List<Reference> |
EMPTY_REFERENCE_LIST
An unmodifyable empty reference list.
|
static String |
EXTERNAL_LINK
Type string identifying a reference to a
LinkTemplate |
static String |
INTERNAL_LINK
Type string identifying a reference to a
LinkTemplate |
static String |
LINK_TEMPLATE_REFERENCE
Type string identifying a reference to a
LinkTemplate |
static String |
PAGE_TEMPLATE_REFERENCE
Type string identifying a reference to a
PageTemplate |
static String |
QUERY_REFERENCE
Type string identifying a reference to a
Query |
static String |
RELATED_PROJECT_LINK
Type string identifying a reference to a
LinkTemplate |
static String |
RENDER_TEMPLATE_REFERENCE
Type string identifying a reference to a
FormatTemplate |
static String |
SECTION_TEMPLATE_REFERENCE
Type string identifying a reference to a
SectionTemplate |
static String |
TABLE_TEMPLATE_REFERENCE
Type string identifying a reference to a
TableTemplate |
Modifier and Type | Method and Description |
---|---|
Language |
getLanguage()
Returns the language of the reference.
|
Object |
getReferencedObject()
Returns the referenced object.
|
Store.Type |
getReferencedStoreType()
Returns the store type.
|
ReferenceEntry |
getReferenceEntry()
Deprecated.
since 4.2.24 - no replacement
|
ReferenceEntry |
getReferenceEntry(UserService userService,
boolean release)
Returns reference entry.
|
String |
getReferenceString()
Returns the reference string.
|
String |
getRemoteName()
Returns the symbolic name of the
remote project configuration . |
String |
getTypeName()
Returns the type of the reference.
|
boolean |
isBroken()
Internal references may be broken, e.g.
|
boolean |
isRemote()
Returns id this reference is a remote reference.
|
void |
setReferencedObject(Object value)
Sets the (local) referenced object.
|
static final List<Reference> EMPTY_REFERENCE_LIST
static final String SECTION_TEMPLATE_REFERENCE
SectionTemplate
static final String PAGE_TEMPLATE_REFERENCE
PageTemplate
static final String LINK_TEMPLATE_REFERENCE
LinkTemplate
static final String RENDER_TEMPLATE_REFERENCE
FormatTemplate
static final String TABLE_TEMPLATE_REFERENCE
TableTemplate
static final String INTERNAL_LINK
LinkTemplate
static final String EXTERNAL_LINK
LinkTemplate
static final String CONTENT_LINK
de.espirit.or.impl.Entity
static final String RELATED_PROJECT_LINK
LinkTemplate
static final String QUERY_REFERENCE
Query
String getTypeName()
Language getLanguage()
Object getReferencedObject()
StoreElement
for internal references, or
null
for broken references
.String getRemoteName()
remote project configuration
.null
for a
non-remote reference.RemoteProjectConfiguration
void setReferencedObject(Object value)
value
- new referenced object.boolean isBroken()
getReferenceString()
to get
more information for the desired target. isBroken()
returns
false
.true
if this is an internal reference and the
target does not existboolean isRemote()
true
if this reference is a remote reference.String getReferenceString()
Store.Type getReferencedStoreType()
null
for external references.@Deprecated ReferenceEntry getReferenceEntry()
null
.ReferenceEntry getReferenceEntry(UserService userService, boolean release)
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210