public class ComponentPresentation extends Item
{ "__metadata": { "uri": "http://127.0.0.1:8080/cd_webservice/odata.svc/ComponentPresentations(PublicationId=1,ComponentId=123,TemplateId=1234)", "type": "Tridion.ContentDelivery.ComponentPresentation" }, "ComponentId": 123, "OutputFormat": "HTML Fragment", "PresentationContent": "Some content
", "PublicationId": 1, "TemplateId": 123, "Component": { "__deferred": { "uri": "http://127.0.0.1:8080/cd_webservice/odata.svc/ComponentPresentations(PublicationId=1,ComponentId=123,TemplateId=1234)/Component" } }, "Template": { "__deferred": { "uri": "http://127.0.0.1:8080/cd_webservice/odata.svc/ComponentPresentations(PublicationId=1,ComponentId=123,TemplateId=1234)/Template" } }, "Pages": { "__deferred": { "uri": "http://127.0.0.1:8080/cd_webservice/odata.svc/ComponentPresentations(PublicationId=1,ComponentId=123,TemplateId=1234)/Pages" } } }
Modifier and Type | Field and Description |
---|---|
static play.libs.F.Function2<org.talares.api.Talares,org.talares.api.datatypes.items.ComponentPresentation,ComponentPresentation> |
FROM_SCALA |
Constructor and Description |
---|
ComponentPresentation(org.talares.api.Talares api,
org.talares.api.datatypes.items.ComponentPresentation scalaComponentPresentation) |
Modifier and Type | Method and Description |
---|---|
Component |
getComponent_()
BLOCKING
|
Component |
getComponent_(long timeout)
BLOCKING
|
play.libs.F.Promise<Component> |
getComponent() |
int |
getComponentId() |
java.lang.String |
getOutputFormat() |
java.util.List<Page> |
getPages_()
BLOCKING
|
java.util.List<Page> |
getPages_(long timeout)
BLOCKING
|
play.libs.F.Promise<java.util.List<Page>> |
getPages() |
java.lang.String |
getPresentationContent() |
Template |
getTemplate_()
BLOCKING
|
Template |
getTemplate_(long timeout)
BLOCKING
|
play.libs.F.Promise<Template> |
getTemplate() |
int |
getTemplateId() |
asJava, getApi, getMetadata, getPublicationId
public static final play.libs.F.Function2<org.talares.api.Talares,org.talares.api.datatypes.items.ComponentPresentation,ComponentPresentation> FROM_SCALA
public ComponentPresentation(org.talares.api.Talares api, org.talares.api.datatypes.items.ComponentPresentation scalaComponentPresentation)
public final int getComponentId()
public final int getTemplateId()
public final java.lang.String getOutputFormat()
public final java.lang.String getPresentationContent()
public final play.libs.F.Promise<Component> getComponent()
public final Component getComponent_(long timeout) throws org.talares.api.exceptions.TalaresException
timeout
- the timeout in which the result should be presentorg.talares.api.exceptions.TalaresException
public final Component getComponent_() throws org.talares.api.exceptions.TalaresException
org.talares.api.exceptions.TalaresException
public final play.libs.F.Promise<Template> getTemplate()
public final Template getTemplate_(long timeout) throws org.talares.api.exceptions.TalaresException
timeout
- the timeout in which the result should be presentorg.talares.api.exceptions.TalaresException
public final Template getTemplate_() throws org.talares.api.exceptions.TalaresException
org.talares.api.exceptions.TalaresException
public final play.libs.F.Promise<java.util.List<Page>> getPages()
public final java.util.List<Page> getPages_(long timeout) throws org.talares.api.exceptions.TalaresException
timeout
- the timeout in which the result should be presentorg.talares.api.exceptions.TalaresException
public final java.util.List<Page> getPages_() throws org.talares.api.exceptions.TalaresException
org.talares.api.exceptions.TalaresException