Class EntityMediaAsset
- All Implemented Interfaces:
Serializable
A 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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.priint.pubserver.entity.Entity
Entity.CacheType, Entity.DataClass, Entity.RetrievalType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PluginConfigTag[]Type 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
ConstructorsConstructorDescriptionDefault constructorEntityMediaAsset(String label) Creates a new media asset entity with a label. -
Method Summary
Modifier and TypeMethodDescriptionDefaults to an empty string.Gets the dummy label for this media asset entity.Defaults to an empty string.Get the text entity associated with this media asset.voidsetDummyFileName(String dummyFileName) Throws a NullArgumentException if argument isnull.voidsetDummyLabel(String dummyLabel) Sets the dummy label for this media asset entity.voidsetDummyPath(String dummyPath) Throws a NullArgumentException if argument isnull.voidsetTextEntity(Entity textEntity) Set the text entity associated with this media asset.voidsetTextEntity(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 Details
-
allowedTags
Type of Tags to be used for this entities. For all tags see:PluginConfigTag
-
-
Constructor Details
-
EntityMediaAsset
public EntityMediaAsset()Default constructor -
EntityMediaAsset
Creates a new media asset entity with a label.- Parameters:
label-
-
-
Method Details
-
getDummyLabel
Gets the dummy label for this media asset entity.Defaults to an empty string.
- Returns:
- dummyLabel as String
-
setDummyLabel
Sets the dummy label for this media asset entity.Throws a NullArgumentException if argument is
null.- Parameters:
dummyLabel-
-
getDummyFileName
Defaults to an empty string.
- Returns:
- dummyFileName as String
-
setDummyFileName
Throws a NullArgumentException if argument is
null.- Parameters:
dummyFileName-
-
getDummyPath
Defaults to an empty string.
- Returns:
- dummy path as string
-
setDummyPath
Throws a NullArgumentException if argument is
null.- Parameters:
dummyPath-
-
getTextEntity
Get the text entity associated with this media asset.Defaults to an empty string.
- Returns:
- text entity identifier as string
-
setTextEntity
Set the text entity associated with this media asset.Throws a NullArgumentException if argument is
null.- Parameters:
textEntity-
-
setTextEntity
Set the text entity associated with this media asset.Throws a NullArgumentException if argument is
null.- Parameters:
textEntity-- See Also:
-
allowedTagsinstead.