public interface ComponentPresentation
Modifier and Type | Method and Description |
---|---|
int |
getComponentId()
Gets this component presentation's component ID.
|
int |
getComponentTemplateId()
Gets this component presentation's template ID.
|
String |
getContent()
Gets the content of this component presentation.
|
String |
getContent(boolean track)
Gets the content of this component presentation.
|
String |
getFileLocation()
Gets this component presentation's file location or null if no file-system based.
|
com.tridion.meta.ComponentPresentationMeta |
getMeta()
Gets the component presentation meta object for this component presentation.
|
int |
getNamespaceId()
Gets this component presentation's namespace ID.
|
int |
getPublicationId()
Gets this component presentation's publication ID.
|
boolean |
isDynamic()
Returns if this ComponentPresentation contains dynamic code.
|
String getContent(boolean track)
Note: For JSPComponentPresentation objects, this method may not work correctly.
Instead, read the file directly using the correct encoding, using
getFileLocation
of the interface JSPComponentPresentation
.
track
- Current not used.getFileLocation()
String getContent()
Note: For JSPComponentPresentation objects, this method may not work correctly.
Instead, read the file directly using the correct encoding, using
getFileLocation
of the interface JSPComponentPresentation
.
getFileLocation()
com.tridion.meta.ComponentPresentationMeta getMeta()
int getNamespaceId()
int getPublicationId()
int getComponentId()
int getComponentTemplateId()
String getFileLocation()
boolean isDynamic()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries