public interface Allowed extends StoreElement
page template
.
Allowed nodes defines which templates could be used to create a section
or a
content section
.Modifier and Type | Method and Description |
---|---|
void |
addAllowedBody(TemplateBody templateBody)
Adds the given
TemplateBody to the list of allowed bodies
of this allowed node |
List<TemplateBody> |
getAllowedBodies()
Returns the immutable list of
template bodies for
which the belonging template is allowed. |
Template |
getTemplate()
Returns the belonging template of this allowed node.
|
void |
removeAllowedBody(TemplateBody templateBody)
Removes the given
TemplateBody from the list of allowed bodies
of this allowed node |
appendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getParent, getPermission, getPermission, getPermission, getProject, getReferenceName, 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
List<TemplateBody> getAllowedBodies()
template bodies
for
which the belonging template
is allowed.addAllowedBody(TemplateBody)
and removeAllowedBody(TemplateBody)
to modify this list.void addAllowedBody(TemplateBody templateBody)
TemplateBody
to the list of allowed bodies
of this allowed nodetemplateBody
- the template body to add to allowed bodiesvoid removeAllowedBody(TemplateBody templateBody)
TemplateBody
from the list of allowed bodies
of this allowed nodetemplateBody
- the template body to remove from allowed bodiesTemplate getTemplate()
section template
or table template
) or null
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500