Package com.tridion.meta
Interface ComponentPresentationMeta
public interface ComponentPresentationMeta
Represents meta data for a component presentation.
-
Method Summary
Modifier and TypeMethodDescriptionintReturn the item id of the component of this component presentation.Content type of the component presentation.Returns the encoding of the ComponentPresentation.intReturn the namespace id for this component presentation.intReturn the publication id for this component presentation.intReturn the item id of the template of this component presentation.intReturns the priority of the template, a higher value indicates a higher preference for this component presentation when it is dynamically linked to.
-
Method Details
-
getContentType
String getContentType()Content type of the component presentation. This matches the selected "Output format" of the component template used for this component presentation. It is not related to internet content types.- Returns:
- content type of this component presentation
-
getTemplatePriority
int getTemplatePriority()Returns the priority of the template, a higher value indicates a higher preference for this component presentation when it is dynamically linked to. When the priority equals 0 it indicates that this template should not be linked to.- Returns:
- template priority
-
getTemplateId
int getTemplateId()Return the item id of the template of this component presentation.- Returns:
- the item id of the template of this component presentation
-
getComponentId
int getComponentId()Return the item id of the component of this component presentation.- Returns:
- the item id of the component of this component presentation
-
getPublicationId
int getPublicationId()Return the publication id for this component presentation.- Returns:
- the publication id for this component presentation
-
getNamespaceId
int getNamespaceId()Return the namespace id for this component presentation.- Returns:
- the namespace id for this component presentation
-
getEncoding
String getEncoding()Returns the encoding of the ComponentPresentation.- Returns:
- The encoding of the componentpresentation
-