public interface TemplateSet
Modifier and Type | Field and Description |
---|---|
static String |
DOS_LINEFEED |
static String |
MAC_LINEFEED |
static String |
UNIX_LINEFEED |
Modifier and Type | Method and Description |
---|---|
ConversionTable |
getConversionTable() |
String |
getDescription(Language language)
Get the editorial description of this TemplateSet for the given language or
null
if not defined for the language |
String |
getDisplayName(Language language)
Gets display name of the TemplateSet for the given language.
|
String |
getExtension()
Gets the extension of the TemplateSet
|
long |
getId() |
String |
getLinefeed()
Not evaluated by FirstSpirit.
|
String |
getName()
Deprecated.
since 4.2.12 use
getUid() |
PresentationChannel |
getPresentationChannel()
Gets the
PresentationChannel of this TemplateSet |
String |
getPresentationChannelName()
Gets the name of the presentation channel of the template set
|
String |
getTemplateSetConversionTable()
Gets the conversion table of the template set
|
String |
getUid()
Returns the unique identifier of this TemplateSet.
|
boolean |
isActive()
Is this TemplateSet active
|
boolean |
isTemplateInspectionEnabled()
Returns whether or not the template inspection is enabled for this template set.
|
boolean |
isUseWebeditForPreview()
Deprecated.
since 5.0.302 - no replacement
|
void |
setActive(boolean active)
Activate or deactivate the TemplateSet
|
void |
setConversionTable(ConversionTable table) |
void |
setConversionTable(String tableName)
Sets the conversion table of the template set
|
void |
setDescription(Language language,
String description)
Sets the editorial description of this TemplateSet for the given language
|
void |
setDisplayName(Language language,
String displayName)
Sets the display name of the TemplateSet for the given language
|
void |
setExtension(String extension)
Sets the extension of the TemplateSet
|
void |
setLinefeed(String linefeed)
Not evaluated by FirstSpirit.
|
void |
setName(String name)
Deprecated.
since 4.2.12 use
setUid(String) |
void |
setPresentationChannel(String channelName)
Sets the PresentationChannel of the TemplateSet
|
void |
setPresentationChannelId(long channel) |
void |
setTemplateInspectionEnabled(boolean enabled)
Enables or disables the template inspection for this template set.
|
void |
setUid(String name)
Sets the unique identifier of this TemplateSet.
|
void |
setUseWebeditForPreview(boolean useWebedit)
Deprecated.
since 5.0.302 - no replacement
|
static final String DOS_LINEFEED
static final String UNIX_LINEFEED
static final String MAC_LINEFEED
@Deprecated String getName()
getUid()
getUid()
String getUid()
setUid(String)
@Deprecated void setName(String name)
setUid(String)
setUid(name)
void setUid(String name)
getUid()
@Nullable String getDisplayName(Language language)
language
- null
if not definedvoid setDisplayName(Language language, String displayName)
displayName
- the new displaynamelanguage
- the language to set the display name for@Nullable String getDescription(Language language)
null
if not defined for the languagelanguage
- the language to get the description fornull
otherwisevoid setDescription(Language language, String description)
description
- the new descriptionlanguage
- the language to set the description forString getExtension()
void setExtension(String extension)
extension
- the new extensionString getPresentationChannelName()
void setPresentationChannel(String channelName)
channelName
- the PresentationChannel identified by its namePresentationChannel getPresentationChannel()
PresentationChannel
of this TemplateSetPresentationChannel
of this TemplateSetvoid setPresentationChannelId(long channel)
boolean isActive()
void setActive(boolean active)
active
- activate/deactivatevoid setConversionTable(String tableName)
tableName
- the name of the conversion tablevoid setConversionTable(ConversionTable table)
ConversionTable getConversionTable()
String getTemplateSetConversionTable()
long getId()
String getLinefeed()
ContentProcessor
implementations.void setLinefeed(String linefeed)
ContentProcessor
implementations.@Deprecated void setUseWebeditForPreview(boolean useWebedit)
@Deprecated boolean isUseWebeditForPreview()
boolean isTemplateInspectionEnabled()
void setTemplateInspectionEnabled(boolean enabled)
enabled
- template inspection enabled stateCopyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408