public interface TableTemplate extends SectionTemplate, DatasetProvider
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TableTemplate.Mapping
Type providing information on a mapping of a field to a column.
|
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidTypeHistoryProvider.RevisionProvider| Modifier and Type | Field and Description |
|---|---|
static TableTemplate.Mapping[] |
EMPTY_MAPPINGS |
static IDProvider.UidType |
UID_TYPE |
CONTENT_TEMPLATE, LINK_TEMPLATE, PAGE_TEMPLATE, SECTION_TEMPLATECHANGED, NEVER_RELEASED, RELEASEDALL_REVISIONS, EVER_SINCE, UNTIL_NOWBLOCKED, MODIFIED, UNMODIFIED| Modifier and Type | Method and Description |
|---|---|
EntityType |
getEntityType()
Get the entity type supported by this dataset provider.
|
TableTemplate.Mapping[] |
getMappings()
Shortcut for
getMappings(false) |
TableTemplate.Mapping[] |
getMappings(boolean release)
Provides an array of
TableTemplate.Mappings, whose entries are safe to change with no feedback to this template. |
TableTemplate.Mapping[] |
getMappings(TableTemplate.Mapping[] oldMappings,
GomEditorProvider gomProvider)
Convenience method for
getMappings(oldMappings, gomProvider, false). |
TableTemplate.Mapping[] |
getMappings(TableTemplate.Mapping[] oldMappings,
GomEditorProvider gomProvider,
boolean release)
Get the
TableTemplate.Mappings for this template based on the given GOM provider. |
String |
getRefKey() |
int |
getRowHeight()
Height of displayed rows (in line numbers).
|
Schema |
getSchema()
Get the schema the provider refers to.
|
long |
getTemplateId()
Get the project local id of this template.
|
IDProvider.UidType |
getUidType()
Returns
UID_TYPE. |
boolean |
isCopyAllowed()
Returns
true if the user is allowed to copy entities. |
void |
setCopyAllowed(boolean value) |
void |
setMappings(TableTemplate.Mapping[] mappings)
Set the
TableTemplate.Mappings for this template. |
void |
setRowHeight(int value) |
getExtensions, getPreviewPageRef, getTemplateExtension, hasMultiPageParamsProviderEditor, hasPreviewPageRef, setPreviewPageRefgetComment, getType, isHidden, setComment, setHiddengetReferenceNamegetDefaults, getFormDefaults, getGomProvider, getGomSource, setDefaults, setFormDefaults, setGomProvider, setGomSourcegetTemplateDocumentgetChannelSource, setChannelSourcecontrastWith, getDisplayName, getId, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, hasMeta, hasUid, isInReleaseStore, isReleased, isReleaseSupported, moveChild, moveChild, release, release, revert, setDisplayName, setMeta, setMetaFormData, setUidappendChild, 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, updategetColor, getTask, hasTask, removeTask, setColor, setTaskcompareToasRevisionProvider, getHistory, getHistorygetRulesetDefinition, setRulesetDefinitionaddToPackage, getChangeState, getPackage, getPackageName, isAddable, isChangeable, isPackageItem, isSubscribedItem, removeFromPackage, setChangeStategetSubRootInStoregetPreviewImage, setPreviewImagegetDataset, getDatasetstatic final IDProvider.UidType UID_TYPE
static final TableTemplate.Mapping[] EMPTY_MAPPINGS
@NotNull EntityType getEntityType() throws EntityTypeNotFoundException
DatasetProvidergetEntityType in interface DatasetProviderEntityTypeNotFoundExceptionEntityTypeNotFoundException - when a referenced entity type (database table) does not exist.String getRefKey()
@NotNull Schema getSchema()
DatasetProvidergetSchema in interface DatasetProvider@NotNull TableTemplate.Mapping[] getMappings()
getMappings(false)@NotNull TableTemplate.Mapping[] getMappings(boolean release)
TableTemplate.Mappings, whose entries are safe to change with no feedback to this template.TableTemplate.Mapping[] getMappings(TableTemplate.Mapping[] oldMappings, GomEditorProvider gomProvider) throws IOException
getMappings(oldMappings, gomProvider, false).IOExceptionTableTemplate.Mapping[] getMappings(TableTemplate.Mapping[] oldMappings, GomEditorProvider gomProvider, boolean release) throws IOException
TableTemplate.Mappings for this template based on the given GOM provider. The provided entries are safe
to change with no feedback to this template.oldMappings - The old mappings.gomProvider - The GOM provider object.release - If true, returns on release state.IOException - If the mappings could not be read.void setMappings(TableTemplate.Mapping[] mappings)
TableTemplate.Mappings for this template.@NotNull IDProvider.UidType getUidType()
UID_TYPE.getUidType in interface IDProviderUID_TYPEIDProvider.hasUid()int getRowHeight()
void setRowHeight(int value)
IllegalArgumentException - if provided value is below 1getRowHeight()boolean isCopyAllowed()
true if the user is allowed to copy entities.void setCopyAllowed(boolean value)
value - new stateisCopyAllowed()long getTemplateId()
getTemplateId in interface MasterTemplateCopyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408