Package com.tridion.storage
Class ComponentPresentation
java.lang.Object
com.tridion.storage.BaseEntityImpl
com.tridion.storage.ComponentPresentation
- All Implemented Interfaces:
BaseEntity,ComponentPresentationEntity,Serializable
@Entity
public class ComponentPresentation
extends BaseEntityImpl
implements ComponentPresentationEntity
This represent a component presentation stored in the content delivery data store.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionComponentPresentation(int namespaceId, int publicationId, int componentId, int templateId, byte[] content) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbyte[]intgetPK()intintinthashCode()voidsetComponentId(int componentId) voidsetComponentPresentationMeta(ComponentPresentationMeta componentPresentationMeta) voidsetComponentPresentationMetaId(Long componentPresentationMetaId) voidsetContent(byte[] content) voidsetContentId(Integer contentId) voidsetEntityId(Long entityId) voidsetNamespaceId(int namespaceId) voidsetPublicationId(int publicationId) voidsetTemplateId(int templateId) toString()Methods inherited from class com.tridion.storage.BaseEntityImpl
getEntityName, setPKMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.tridion.storage.BaseEntity
getEntityName, setPK
-
Constructor Details
-
ComponentPresentation
public ComponentPresentation() -
ComponentPresentation
public ComponentPresentation(int namespaceId, int publicationId, int componentId, int templateId, byte[] content)
-
-
Method Details
-
getEntityId
-
getPK
- Specified by:
getPKin interfaceBaseEntity- Specified by:
getPKin classBaseEntityImpl
-
setEntityId
-
getNamespaceId
public int getNamespaceId()- Specified by:
getNamespaceIdin interfaceComponentPresentationEntity
-
setNamespaceId
public void setNamespaceId(int namespaceId) - Specified by:
setNamespaceIdin interfaceComponentPresentationEntity
-
getPublicationId
public int getPublicationId()- Specified by:
getPublicationIdin interfaceComponentPresentationEntity
-
setPublicationId
public void setPublicationId(int publicationId) - Specified by:
setPublicationIdin interfaceComponentPresentationEntity
-
getComponentId
public int getComponentId()- Specified by:
getComponentIdin interfaceComponentPresentationEntity
-
setComponentId
public void setComponentId(int componentId) - Specified by:
setComponentIdin interfaceComponentPresentationEntity
-
getTemplateId
public int getTemplateId()- Specified by:
getTemplateIdin interfaceComponentPresentationEntity
-
setTemplateId
public void setTemplateId(int templateId) - Specified by:
setTemplateIdin interfaceComponentPresentationEntity
-
getContent
public byte[] getContent()- Specified by:
getContentin interfaceComponentPresentationEntity
-
setContent
public void setContent(byte[] content) - Specified by:
setContentin interfaceComponentPresentationEntity
-
getContentId
- Specified by:
getContentIdin interfaceComponentPresentationEntity
-
setContentId
- Specified by:
setContentIdin interfaceComponentPresentationEntity
-
getComponentPresentationMetaId
-
setComponentPresentationMetaId
-
getComponentPresentationMeta
-
setComponentPresentationMeta
-
toString
-
equals
-
hashCode
public int hashCode()
-