de.espirit.firstspirit.access.store.pagestore
Interface Content2Section
- All Superinterfaces:
- Comparable<StoreElement>, DataProvider, HistoryProvider, IDProvider, MultiPageParamsProvider, PackagePoolItem, Section<TableTemplate>, StoreElement, TemplateProvider<TableTemplate>, Workflowable
public interface Content2Section
- extends Section<TableTemplate>, MultiPageParamsProvider
This is a section which renders new content.
- Since:
- 3.0
- See Also:
TableTemplate
,
Content2Params
Fields inherited from interface de.espirit.firstspirit.access.store.pagestore.Section |
OPEN_ENDED |
Methods inherited from interface de.espirit.firstspirit.access.store.IDProvider |
clone, contrastWith, getDisplayName, getId, getID, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isReleaseSupported, moveChild, moveChild, release, release, revert, setMeta, setMetaFormData, setUid |
Methods inherited from interface de.espirit.firstspirit.access.store.StoreElement |
appendChild, appendChildBefore, delete, exportStoreElement, getAllChilds, getAllFilteredChilds, getChildByName, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getChilds, getChilds, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getDisplayName, getEditor, getElementType, getFilteredChilds, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getLock, getMetaXml, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getProject, getReferenceName, getReferences, getSortedChilds, getStore, getTreePermission, getWorkflowPermission, getWorkflowPermissions, getWriteLock, hasIncomingReferences, hasMetaXml, 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, setMetaXml, setPermission, setPermission, setPermission, setWorkflowPermission, setWorkflowPermissions, setWriteLock, toXml, toXml, toXml, unrelease, unrelease, update |
Methods inherited from interface de.espirit.firstspirit.access.store.IDProvider |
clone, contrastWith, getDisplayName, getId, getID, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isReleaseSupported, moveChild, moveChild, release, release, revert, setMeta, setMetaFormData, setUid |
Methods inherited from interface de.espirit.firstspirit.access.store.StoreElement |
appendChild, appendChildBefore, delete, exportStoreElement, getAllChilds, getAllFilteredChilds, getChildByName, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getChilds, getChilds, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getDisplayName, getEditor, getElementType, getFilteredChilds, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getLock, getMetaXml, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getProject, getReferenceName, getReferences, getSortedChilds, getStore, getTreePermission, getWorkflowPermission, getWorkflowPermissions, getWriteLock, hasIncomingReferences, hasMetaXml, 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, setMetaXml, setPermission, setPermission, setPermission, setWorkflowPermission, setWorkflowPermissions, setWriteLock, toXml, toXml, toXml, unrelease, unrelease, update |
Methods inherited from interface de.espirit.firstspirit.access.store.IDProvider |
clone, contrastWith, getDisplayName, getId, getID, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isReleaseSupported, moveChild, moveChild, release, release, revert, setMeta, setMetaFormData, setUid |
Methods inherited from interface de.espirit.firstspirit.access.store.StoreElement |
appendChild, appendChildBefore, delete, exportStoreElement, getAllChilds, getAllFilteredChilds, getChildByName, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getChilds, getChilds, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getDisplayName, getEditor, getElementType, getFilteredChilds, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getLock, getMetaXml, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getProject, getReferenceName, getReferences, getSortedChilds, getStore, getTreePermission, getWorkflowPermission, getWorkflowPermissions, getWriteLock, hasIncomingReferences, hasMetaXml, 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, setMetaXml, setPermission, setPermission, setPermission, setWorkflowPermission, setWorkflowPermissions, setWriteLock, toXml, toXml, toXml, unrelease, unrelease, update |
getTableTemplate
@NotNull
TableTemplate getTableTemplate()
throws ReferenceNotFoundException
- Returns:
- de.espirit.firstspirit.access.store.templatestore.TableTemplate
- Throws:
ReferenceNotFoundException
- if table template is missing- Since:
- 3.0
getTableName
String getTableName()
- Returns:
- java.lang.String
- Since:
- 3.0
getTemplate
@NotNull
TableTemplate getTemplate()
throws ReferenceNotFoundException
- Returns the template of this element.
- Specified by:
getTemplate
in interface Section<TableTemplate>
- Specified by:
getTemplate
in interface TemplateProvider<TableTemplate>
- Throws:
ReferenceNotFoundException
- if template is missing- Since:
- 3.0
getSectionTemplate
@Deprecated
@NotNull
TableTemplate getSectionTemplate()
throws ReferenceNotFoundException
- Deprecated. since 4.1.10 - use
Content2Section.getTemplate()
- Specified by:
getSectionTemplate
in interface Section<TableTemplate>
- Throws:
ReferenceNotFoundException
- Since:
- 3.0
setSectionTemplate
void setSectionTemplate(@NotNull
Template sectionTemplate)
throws UnsupportedOperationException
- Description copied from interface:
Section
- Set the Section-Template for the current section
- Specified by:
setSectionTemplate
in interface Section<TableTemplate>
- Parameters:
sectionTemplate
- new Section-Template as object
- Throws:
UnsupportedOperationException
- always- Since:
- 3.0
setTemplate
void setTemplate(@NotNull
TableTemplate template)
- Description copied from interface:
Section
- Set the template for this section.
- Specified by:
setTemplate
in interface Section<TableTemplate>
- Parameters:
template
- new template
- Throws:
UnsupportedOperationException
- always- Since:
- 4.1.25
setLifespan
void setLifespan(long from,
long to)
throws UnsupportedOperationException
- Content sections support no lifespan - will result in an
UnsupportedOperationException
.
- Specified by:
setLifespan
in interface Section<TableTemplate>
- Parameters:
from
- start date for lifespan (in milliseconds since 1.1.1970 0:00 UTC)to
- end date for lifespan (in milliseconds since 1.1.1970 0:00 UTC) or -1L
for no restriction
- Throws:
UnsupportedOperationException
- always- Since:
- 3.0
- See Also:
Section.getLifespan()
,
Section.removeLifespan()
,
Section.isInLifespan()
includeInOutput
void includeInOutput(Language language)
- Has no effect, no language can be excluded in the output of the generation.
- Specified by:
includeInOutput
in interface Section<TableTemplate>
- Parameters:
language
- the language to include this section for- Since:
- 3.0
excludeFromOutput
void excludeFromOutput(Language language)
throws UnsupportedOperationException
- A language cannot be excluded in the output of the generation, so every call will throw an exception.
- Specified by:
excludeFromOutput
in interface Section<TableTemplate>
- Parameters:
language
- the language to exclude for this section
- Throws:
UnsupportedOperationException
- always- Since:
- 3.0
isInOutputIncluded
boolean isInOutputIncluded(Language language)
- Description copied from interface:
Section
- Checks if this section is included in the output
for the given language.
- Specified by:
isInOutputIncluded
in interface Section<TableTemplate>
- Parameters:
language
- the language to check this section for
- Returns:
true
regardless of the parameter- Since:
- 3.0
getContent
@Deprecated
List<Entity> getContent()
throws IOException
- Deprecated. since 4.0.52 - This method delivers all entities of the rendered entity type, use
MultiPageParamsProvider.getMultiPageParams(de.espirit.firstspirit.access.Language)
which delivers one entity.
- Return a list containing
Entity
.
- Throws:
IOException
- Since:
- 4.0
getMultiPageParams
ContentMultiPageParams getMultiPageParams(@NotNull
Language language)
- Delivers a
ContentMultiPageParams
where
ContentMultiPageParams.getData()
delivers a
list with one entry.
- Specified by:
getMultiPageParams
in interface MultiPageParamsProvider
- Parameters:
language
- this parameter is ignored- Since:
- 4.0
Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480