Package com.tridion.storage.entities
Interface BinaryContentEntity
- All Superinterfaces:
BaseEntity,Serializable
- All Known Implementing Classes:
BinaryContent
This represent binary content stored in the content delivery data store.
-
Method Summary
Modifier and TypeMethodDescriptionintGets the binary Id.byte[]Get the binary content as byte array.intGets the namespace Id.intGets the publication Id.Gets the binary variant Id as String.voidsetBinaryId(int binaryId) Sets the binary Id.voidsetContent(byte[] content) Set binary content.voidsetNamespaceId(int namespaceId) Sets the namespaceId.voidsetPublicationId(int publicationId) Sets the publication Id.voidsetVariantId(String variantId) Sets the variant ID.Methods inherited from interface com.tridion.storage.BaseEntity
getEntityName, getPK, setPK
-
Method Details
-
getNamespaceId
int getNamespaceId()Gets the namespace Id.- Returns:
- the namespace as int.
-
setNamespaceId
void setNamespaceId(int namespaceId) Sets the namespaceId.- Parameters:
namespaceId- the namespaceId.
-
getPublicationId
int getPublicationId()Gets the publication Id.- Returns:
- the publication Id.
-
setPublicationId
void setPublicationId(int publicationId) Sets the publication Id.- Parameters:
publicationId- the publication Id.
-
getBinaryId
int getBinaryId()Gets the binary Id.- Returns:
- the binary Id.
-
setBinaryId
void setBinaryId(int binaryId) Sets the binary Id.- Parameters:
binaryId- the binary Id.
-
getVariantId
String getVariantId()Gets the binary variant Id as String.- Returns:
- the variant Id.
-
setVariantId
Sets the variant ID.- Parameters:
variantId- the variant Id.
-
getContent
byte[] getContent()Get the binary content as byte array.- Returns:
- the binary content.
-
setContent
void setContent(byte[] content) Set binary content.- Parameters:
content- the binary content.
-