Interface Allowed
- All Superinterfaces:
Comparable<StoreElement>
,StoreElement
,Workflowable
This interface represents the allowed element which is a child of a
page template
.
Allowed nodes defines which templates could be used to create a section
or a
content section
.- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllowedBody
(TemplateBody templateBody) Adds the givenTemplateBody
to the list of allowed bodies of this allowed nodeReturns the immutable list oftemplate bodies
for which the belongingtemplate
is allowed.
UseaddAllowedBody(TemplateBody)
andremoveAllowedBody(TemplateBody)
to modify this list.Returns the belonging template of this allowed node.void
removeAllowedBody
(TemplateBody templateBody) Removes the givenTemplateBody
from the list of allowed bodies of this allowed nodeMethods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.espirit.firstspirit.access.store.StoreElement
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, getPreviousSibling, getProject, getReferenceName, getReferences, 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
Methods inherited from interface de.espirit.firstspirit.access.Workflowable
getColor, getTask, hasTask, removeTask, setColor, setTask
-
Method Details
-
getAllowedBodies
List<TemplateBody> getAllowedBodies()Returns the immutable list oftemplate bodies
for which the belongingtemplate
is allowed.
UseaddAllowedBody(TemplateBody)
andremoveAllowedBody(TemplateBody)
to modify this list.- Returns:
- list of allowed bodies
- Since:
- 4.0.15
-
addAllowedBody
Adds the givenTemplateBody
to the list of allowed bodies of this allowed node- Parameters:
templateBody
- the template body to add to allowed bodies- Since:
- 4.0.15
-
removeAllowedBody
Removes the givenTemplateBody
from the list of allowed bodies of this allowed node- Parameters:
templateBody
- the template body to remove from allowed bodies- Since:
- 4.0.15
-
getTemplate
Template getTemplate()Returns the belonging template of this allowed node.- Returns:
- the belonging template (
section template
ortable template
) ornull
- Since:
- 3.0
-