public interface Content2Section extends Section<TableTemplate>, MultiPageParamsProvider
TableTemplate
,
Content2Params
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
OPEN_ENDED
BLOCKED, MODIFIED, UNMODIFIED
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
Modifier and Type | Method and Description |
---|---|
void |
excludeFromOutput(Language language)
A language cannot be excluded in the output of the generation, so every call will throw an exception.
|
ContentMultiPageParams |
getMultiPageParams(Language language)
Delivers a
ContentMultiPageParams where
ContentMultiPageParams.getData() delivers a
list with one entry. |
String |
getTableName()
Returns the
name of the entity type this content section belongs to. |
TableTemplate |
getTableTemplate()
Returns the
table template this content section belongs to. |
TableTemplate |
getTemplate()
Returns the template of this element.
|
void |
includeInOutput(Language language)
Has no effect, no language can be excluded in the output of the generation.
|
boolean |
isInOutputIncluded(Language language)
Checks if this section is included in the output
for the given language.
|
void |
setLifespan(long from,
long to)
Content sections support no lifespan - will result in an
UnsupportedOperationException . |
void |
setTemplate(TableTemplate template)
Set the template for this section.
|
getLifespan, getName, isInLifespan, isInLifespan, isReference, removeLifespan, setName
clearCachedData, getData, getFormData, setData, setFormData
addToPackage, getChangeState, getPackage, getPackageName, isAddable, isChangeable, isPackageItem, isSubscribedItem, removeFromPackage, setChangeState
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, getNextSibling, getOutgoingReferences, 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
asRevisionProvider, getHistory, getHistory
@NotNull TableTemplate getTableTemplate() throws ReferenceNotFoundException
table template
this content section belongs to.ReferenceNotFoundException
- if table template is missingString getTableName()
name
of the entity type
this content section belongs to.@NotNull TableTemplate getTemplate() throws ReferenceNotFoundException
getTemplate
in interface Section<TableTemplate>
getTemplate
in interface TemplateProvider<TableTemplate>
ReferenceNotFoundException
- if template is missingvoid setTemplate(@NotNull TableTemplate template)
Section
setTemplate
in interface Section<TableTemplate>
template
- new templateUnsupportedOperationException
- alwaysvoid setLifespan(long from, long to) throws UnsupportedOperationException
UnsupportedOperationException
.setLifespan
in interface Section<TableTemplate>
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 restrictionUnsupportedOperationException
- alwaysSection.getLifespan()
,
Section.removeLifespan()
,
Section.isInLifespan()
void includeInOutput(Language language)
includeInOutput
in interface Section<TableTemplate>
language
- the language to include this section forvoid excludeFromOutput(Language language) throws UnsupportedOperationException
excludeFromOutput
in interface Section<TableTemplate>
language
- the language to exclude for this sectionUnsupportedOperationException
- alwaysboolean isInOutputIncluded(Language language)
Section
isInOutputIncluded
in interface Section<TableTemplate>
language
- the language to check this section fortrue
regardless of the parameterContentMultiPageParams getMultiPageParams(@NotNull Language language)
ContentMultiPageParams
where
ContentMultiPageParams.getData()
delivers a
list with one entry.getMultiPageParams
in interface MultiPageParamsProvider
language
- this parameter is ignoredCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500