public interface FileEntry
Modifier and Type | Method and Description |
---|---|
IDProvider |
getElement(BaseContext context,
boolean release)
Provides the element this file is based upon with respect to the given context.
|
String |
getElementUid()
Provides the UID of the element, this file is based upon.
|
IDProvider.UidType |
getElementUidType()
Provides the UID-Type of the element, this file is based upon.
|
String |
getExtension()
Provides the extension of the file.
|
String |
getName()
Provides the name of the file.
|
String |
getPath()
Provides the complete path sequence (including the file's name) relative to the
root of the generation.
|
@NotNull String getName()
@NotNull String getExtension()
@NotNull String getPath()
@Nullable String getElementUid()
@Nullable IDProvider.UidType getElementUidType()
@Nullable IDProvider getElement(BaseContext context, boolean release)
true
, the element will be fetched in its released
version (read only), otherwise in its current version (modifiable).
Note that for content projection based files, the element will be the defining
PageRef
and not the dataset.
context
- The context providing access information.release
- Indicates to fetch the released version of elements.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210