public interface MasterTemplate extends Template
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidTypeHistoryProvider.RevisionProvider| Modifier and Type | Field and Description |
|---|---|
static IDProvider.UidType |
UID_TYPE |
CONTENT_TEMPLATE, LINK_TEMPLATE, PAGE_TEMPLATE, SECTION_TEMPLATECHANGED, NEVER_RELEASED, RELEASEDALL_REVISIONS, EVER_SINCE, UNTIL_NOWBLOCKED, 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) |
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, setHiddengetReferenceNamegetDefaults, getFormDefaults, getGomProvider, getGomSource, setDefaults, setFormDefaults, setGomProvider, setGomSourcegetTemplateDocumentgetChannelSource, setChannelSourcecontrastWith, 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, setUidappendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, 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, updategetColor, getTask, hasTask, removeTask, setColor, setTaskcompareToasRevisionProvider, getHistory, getHistorygetRulesetDefinition, setRulesetDefinitionaddToPackage, getChangeState, getPackage, getPackageName, isAddable, isChangeable, isPackageItem, isSubscribedItem, removeFromPackage, setChangeStategetSubRootInStoregetPreviewImage, setPreviewImagestatic final IDProvider.UidType UID_TYPE
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)nullsetPreviewPageRef(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 pagerefTemplateExtension getTemplateExtension(TemplateSet 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 © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408