public interface Template extends Referenceable, GomSourceProvider, TemplateContentProvider, RulesetContainer, PackagePoolItem, TemplateStoreElement, PreviewImageProvider, StoreElement
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
Modifier and Type | Field and Description |
---|---|
static int |
CONTENT_TEMPLATE
Type of the template: Content store template.
|
static int |
LINK_TEMPLATE
Type of the template: Link template.
|
static int |
PAGE_TEMPLATE
Type of the template: Page template.
|
static int |
SECTION_TEMPLATE
Type of the template: Section template.
|
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
BLOCKED, MODIFIED, UNMODIFIED
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get the comment of the Template
|
int |
getType()
Get the type of the Template.
|
boolean |
isHidden()
State if the template is hidden in the selection-list.
|
void |
setComment(String comment)
Set the comment of the Template
|
void |
setHidden(boolean hidden)
Set if the template should be hidden.
|
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, 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, 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, update
getColor, getTask, hasTask, removeTask, setColor, setTask
compareTo
asRevisionProvider, getHistory, getHistory
getRulesetDefinition, setRulesetDefinition
addToPackage, getChangeState, getPackage, getPackageName, isAddable, isChangeable, isPackageItem, isSubscribedItem, removeFromPackage, setChangeState
getSubRootInStore
getPreviewImage, setPreviewImage
static final int PAGE_TEMPLATE
static final int SECTION_TEMPLATE
static final int CONTENT_TEMPLATE
static final int LINK_TEMPLATE
int getType()
@Nullable String getComment()
void setComment(String comment)
comment
- new comment of the Template or null
to remove the existing commentboolean isHidden()
void setHidden(boolean hidden)
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500