public interface SchemaContainer extends IDProvider, StoreElementFolder
schemas
as children.IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
Modifier and Type | Method and Description |
---|---|
Schema |
createSchema(String name,
String layer)
|
Schema |
createSchema(String name,
String layer,
boolean unifyName) |
SchemaFolder |
createSchemaFolder(String name)
Same as
createSchemaFolder(name, false) . |
SchemaFolder |
createSchemaFolder(String name,
boolean unifyName)
Deprecated.
since 4.2.400 - SchemaFolder has no uid. use
createSchemaFolder(String, java.util.Map) |
SchemaFolder |
createSchemaFolder(String name,
Map<Language,String> lang2DisplayName)
Creates a new
SchemaFolder with the given name and displaynames as child of this SchemaContainer. |
String[] |
getLayerNames()
A layer encapsulates a server data source, ususally a relational database.
|
TableTemplate |
getTableTemplate(long ID)
Returns the table template specified by the given
IDProvider.getId()
or null if no table template with the given ID exists in this subtree |
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, getName, 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
SchemaFolder createSchemaFolder(String name) throws LockException, ElementDeletedException
createSchemaFolder(name, false)
.LockException
- on errorElementDeletedException
- on error@Deprecated SchemaFolder createSchemaFolder(String name, boolean unifyName) throws LockException, ElementDeletedException
createSchemaFolder(String, java.util.Map)
name
- for the folderunifyName
- should the schema folder name be unifiedLockException
- on errorElementDeletedException
- on errorSchemaFolder createSchemaFolder(String name, Map<Language,String> lang2DisplayName) throws LockException, ElementDeletedException
SchemaFolder
with the given name and displaynames as child of this SchemaContainer.name
- the name of the new folderlang2DisplayName
- mapping of language to language specific displayname; used to create LanguageInfo
nodesLockException
- if this folder is locked in another sessionElementDeletedException
- if this folder is already deleted on the serverSchema createSchema(String name, String layer) throws LockException, ElementDeletedException
ElementDeletedException
- on errorLockException
- on errorSchema createSchema(String name, String layer, boolean unifyName) throws LockException, ElementDeletedException
name
- the schema folder namelayer
- the layer name stringunifyName
- should the schema folder name be unifiedLockException
- on errorElementDeletedException
- on errorString[] getLayerNames()
TableTemplate getTableTemplate(long ID)
IDProvider.getId()
or null
if no table template with the given ID exists in this subtreeID
- the ID
of the table templatenull
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500