Interface IPromptQueryConfig_AddWatermark
-
public interface IPromptQueryConfig_AddWatermarkMixin for aquery connection configuration modelthat allows the user to configure whether a watermark should be added to generated files (such as images). A watermark may serve various purposes, such as indicating the source of the generated content or asserting copyright.See also the
<xp:addWatermark/>Faces component from thehttp://www.xima.de/taglib/xfc/promptnamespace, which provides a user interface for editing the data defined by this mixin.- Since:
- 8.5.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_ADD_WATERMARKThe name of the add watermark attribute.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAddWatermark()Gets whether a watermark should be added to generated files.voidsetAddWatermark(boolean addWatermark)Sets whether a watermark should be added to generated files.
-
-
-
Field Detail
-
ATTR_ADD_WATERMARK
static final String ATTR_ADD_WATERMARK
The name of the add watermark attribute. If you implement a custom serialization / deserialization, use this name for the attribute to increase compatibility with other prompt service handlers.- See Also:
- Constant Field Values
-
-
Method Detail
-
isAddWatermark
boolean isAddWatermark()
Gets whether a watermark should be added to generated files. If true, the prompt service may add a watermark. If false, it should not add a watermark.- Returns:
- Whether a watermark should be added.
-
setAddWatermark
void setAddWatermark(boolean addWatermark)
Sets whether a watermark should be added to generated files. If true, the prompt service may add a watermark. If false, it should not add a watermark.- Parameters:
addWatermark- Whether to add a watermark.
-
-