public interface MasterTemplate extends Template
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
Modifier and Type | Field and Description |
---|---|
static IDProvider.UidType |
UID_TYPE
Uid type as returned by
IDProvider.getUidType() . |
CONTENT_TEMPLATE, LINK_TEMPLATE, PAGE_TEMPLATE, SECTION_TEMPLATE
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
BLOCKED, MODIFIED, UNMODIFIED
Modifier and Type | Method and Description |
---|---|
TemplateExtension[] |
getExtensions()
Deprecated.
since 5.0.101 Use
getTemplateExtension(de.espirit.firstspirit.access.project.TemplateSet) . |
PageRef |
getPreviewPageRef()
|
TemplateExtension |
getTemplateExtension(TemplateSet set)
Returns the template extension object for the given
template set . |
long |
getTemplateId()
Get the project local ID of the Template
|
boolean |
hasMultiPageParamsProviderEditor()
Deprecated.
Since 5.0.104, no replacement.
|
boolean |
hasPreviewPageRef()
Indicates that a preview page ref is set for this template.
|
void |
setPreviewPageRef(PageRef pageRef)
|
getComment, getType, isHidden, setComment, setHidden
getReferenceName
getDefaults, getFormDefaults, getGomProvider, getGomSource, setDefaults, setFormDefaults, setGomProvider, setGomSource
getTemplateDocument
getChannelSource, setChannelSource
contrastWith, getDisplayName, getId, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isReleased, isReleaseSupported, moveChild, moveChild, release, release, revert, setDisplayName, setMeta, setMetaFormData, setUid
appendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getPreviousSibling, getProject, getReferences, getStore, getTreePermission, getWorkflowPermission, getWorkflowPermissions, getWriteLock, hasIncomingReferences, hasPermissions, importStoreElement, importStoreElements, inheritWorkflowPermission, isDeleted, isExportSupported, isFolder, isImportSupported, isLocked, isLockedOnServer, isLockSupported, isPermissionSupported, isWorkflowAllowed, isWorkflowSupported, refresh, removeAllWorkflowPermissions, removeChild, removePermission, removePermission, removePermission, removeWorkflowPermission, replaceChild, save, save, save, setInheritWorkflowPermission, setLock, setLock, setPermission, setPermission, setPermission, setWorkflowPermission, setWorkflowPermissions, setWriteLock, toXml, toXml, toXml
getColor, getTask, hasTask, removeTask, setColor, setTask
compareTo
asRevisionProvider, getHistory, getHistory
getRulesetDefinition, setRulesetDefinition
getSnippet, setSnippet
addToPackage, getChangeState, getPackage, getPackageName, isAddable, isChangeable, isPackageItem, isSubscribedItem, removeFromPackage, setChangeState
getSubRootInStore
getPreviewImage, setPreviewImage
static final IDProvider.UidType UID_TYPE
IDProvider.getUidType()
.long getTemplateId()
boolean hasPreviewPageRef()
true
, if a preview page is defined.@Nullable PageRef getPreviewPageRef()
pageref
used to calculate previews of nodes without
sitestore
context
(e.g. pages
or content nodes
)null
setPreviewPageRef(de.espirit.firstspirit.access.store.sitestore.PageRef)
,
hasPreviewPageRef()
void setPreviewPageRef(@Nullable PageRef pageRef)
pageref
used to calculate previews of nodes without
sitestore
context
(e.g. pages
or content nodes
)pageRef
- the pageref which should be used for previews or null
to remove the defined pageref@NotNull TemplateExtension getTemplateExtension(TemplateSet set)
template set
.template set
.@Deprecated TemplateExtension[] getExtensions()
getTemplateExtension(de.espirit.firstspirit.access.project.TemplateSet)
.getTemplateExtension(de.espirit.firstspirit.access.project.TemplateSet)
.@Deprecated boolean hasMultiPageParamsProviderEditor()
false
. Methods remains for backward compatibilty and will be removed in a future version.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210