Class EntityMediaAsset
- java.lang.Object
-
- com.priint.pubserver.entity.Entity
-
- com.priint.pubserver.entity.EntityMediaAsset
-
- All Implemented Interfaces:
java.io.Serializable
public class EntityMediaAsset extends Entity
Entity for MediaAssetsA typical example for a media asset is an image with one or more MediaObjects for different image formats, for example TIFF for high resolution, JPG for low resolution and PNG for thumbnail.
Text are modeled explicitly as sub elements of this entity.
MediaObjects are not modeled explicitly but implicit sub-content of all media assets entities.
Dummy attributes are related to data fields the related entitydata media object type.
- Since:
- 4.0.0
- See Also:
MediaAsset,Text,MediaObject, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityMediaAsset.AllowedTagsDeprecated.Use arrayallowedTagsinstead.-
Nested classes/interfaces inherited from class com.priint.pubserver.entity.Entity
Entity.CacheType, Entity.DataClass, Entity.RetrievalType
-
-
Field Summary
Fields Modifier and Type Field Description static PluginConfigTag[]allowedTagsType of Tags to be used for this entities.-
Fields inherited from class com.priint.pubserver.entity.Entity
ENTITYCLASS_BUCKET, ENTITYCLASS_CONTENTMETADATA, ENTITYCLASS_CORD, ENTITYCLASS_KEYVALUE, ENTITYCLASS_MEDIAASSET, ENTITYCLASS_PLANNING, ENTITYCLASS_PRICE, ENTITYCLASS_TABLEDATA, ENTITYCLASS_TEXT, ENTITYTYPE_ASSEMBLING, ENTITYTYPE_CONNECTOR, ENTITYTYPE_STATIC
-
-
Constructor Summary
Constructors Constructor Description EntityMediaAsset()Default constructorEntityMediaAsset(java.lang.String label)Creates a new media asset entity with a label.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDummyFileName()Defaults to an empty string.java.lang.StringgetDummyLabel()Gets the dummy label for this media asset entity.java.lang.StringgetDummyPath()Defaults to an empty string.java.lang.StringgetTextEntity()Get the text entity associated with this media asset.voidsetDummyFileName(java.lang.String dummyFileName)Throws a NullArgumentException if argument isnull.voidsetDummyLabel(java.lang.String dummyLabel)Sets the dummy label for this media asset entity.voidsetDummyPath(java.lang.String dummyPath)Throws a NullArgumentException if argument isnull.voidsetTextEntity(Entity textEntity)Set the text entity associated with this media asset.voidsetTextEntity(java.lang.String textEntity)Set the text entity associated with this media asset.-
Methods inherited from class com.priint.pubserver.entity.Entity
getConCachingStrategy, getConConnector, getConConnectorEntity, getConConnectorEntityDescription, getConCronjobdate, getConInstance, getConLifetime, getConMatchingMethod, getContentMetaDataEntities, getContextDefinitions, getDescription, getEntityClass, getEntityDataClass, getEntityDependencyNames, getEntityModel, getEntityType, getHelpTexts, getIcon, getIconName, getIdentifier, getLabel, getPluginConfigName, getPluginConfigPath, getPluginConfigPath, getRevisionNumber, getTag, getTags, getTemplateRule, isConCachingAllowed, isConUseMatchingMethod, isPublicEntity, setConCachingAllowed, setConCachingStrategy, setConConnector, setConConnectorEntity, setConConnectorEntityDescription, setConCronjobdate, setConInstance, setConLifetime, setConMatchingMethod, setContentMetaDataEntities, setContextDefinitions, setConUseMatchingMethod, setDescription, setEntityClass, setEntityDataClass, setEntityModel, setEntityType, setHelpTexts, setIcon, setIconName, setIdentifier, setLabel, setPublicEntity, setRevisionNumber, setTag, setTemplateRule, toPluginConfig, toString
-
-
-
-
Field Detail
-
allowedTags
public static final PluginConfigTag[] allowedTags
Type of Tags to be used for this entities. For all tags see:PluginConfigTag
-
-
Method Detail
-
getDummyLabel
public java.lang.String getDummyLabel()
Gets the dummy label for this media asset entity.Defaults to an empty string.
- Returns:
- dummyLabel as String
-
setDummyLabel
public void setDummyLabel(java.lang.String dummyLabel)
Sets the dummy label for this media asset entity.Throws a NullArgumentException if argument is
null.- Parameters:
dummyLabel-
-
getDummyFileName
public java.lang.String getDummyFileName()
Defaults to an empty string.
- Returns:
- dummyFileName as String
-
setDummyFileName
public void setDummyFileName(java.lang.String dummyFileName)
Throws a NullArgumentException if argument is
null.- Parameters:
dummyFileName-
-
getDummyPath
public java.lang.String getDummyPath()
Defaults to an empty string.
- Returns:
- dummy path as string
-
setDummyPath
public void setDummyPath(java.lang.String dummyPath)
Throws a NullArgumentException if argument is
null.- Parameters:
dummyPath-
-
getTextEntity
public java.lang.String getTextEntity()
Get the text entity associated with this media asset.Defaults to an empty string.
- Returns:
- text entity identifier as string
-
setTextEntity
public void setTextEntity(java.lang.String textEntity)
Set the text entity associated with this media asset.Throws a NullArgumentException if argument is
null.- Parameters:
textEntity-
-
-