public interface FormatTemplateContainer extends IDProvider, StoreElementFolder
TemplateStore
,
a container for FormatTemplates
FormatTemplates
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
Modifier and Type | Method and Description |
---|---|
FormatTemplate |
createFormatTemplate(String uid,
Map<Language,String> lang2DisplayName,
boolean unifyUid)
Creates a new FormatTemplate as child of this FormatTemplateContainer
|
FormatTemplateFolder |
createFormatTemplateFolder(String name,
Map<Language,String> lang2DisplayName)
Creates a new
FormatTemplateFolder with the given name as child of this FormatTemplateContainer. |
StyleTemplate |
createStyleTemplate(String uid,
boolean unifyNameOnServer,
Map<Language,String> lang2DisplayName) |
TableFormatTemplate |
createTableFormatTemplate(String uid,
boolean unifyNameOnServer,
Map<Language,String> lang2DisplayName) |
FormatTemplate |
getFormatTemplate(String uid)
Search a FormatTemplate by given uid.
|
StyleTemplate |
getStyleTemplate(long id) |
TableFormatTemplate |
getTableFormatTemplate(String uid) |
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
FormatTemplate createFormatTemplate(String uid, Map<Language,String> lang2DisplayName, boolean unifyUid) throws LockException, DuplicateReferenceNameException, ElementDeletedException
uid
- the uid of the new FormatTemplatelang2DisplayName
- mapping of language
to language specific displayname; used to create LanguageInfo
nodesunifyUid
- if false
a DuplicateReferenceNameException
may be thrown , if
true
the name will be unified on the server if necessaryLockException
- if this format template container is locked in another sessionDuplicateReferenceNameException
- if unifyNameOnServer is false
and an element with the given uid in the same namescope already exits on the serverElementDeletedException
- if this folder is already deleted on the serverFormatTemplateFolder createFormatTemplateFolder(String name, Map<Language,String> lang2DisplayName) throws LockException, ElementDeletedException
FormatTemplateFolder
with the given name as child of this FormatTemplateContainer.name
- the name of the new FormatTemplateFolderlang2DisplayName
- mapping of language
to language specific displayname; used to create LanguageInfo
nodesLockException
- if this format template container is locked in another sessionElementDeletedException
- if this folder is already deleted on the serverFormatTemplate getFormatTemplate(String uid)
null
if no format template was found
with given uid or the format template is no child of this format template containeruid
- uid of the format-template to be foundnull
TableFormatTemplate createTableFormatTemplate(String uid, boolean unifyNameOnServer, @Nullable Map<Language,String> lang2DisplayName) throws LockException, DuplicateReferenceNameException, ElementDeletedException
LockException
DuplicateReferenceNameException
ElementDeletedException
TableFormatTemplate getTableFormatTemplate(String uid)
StyleTemplate createStyleTemplate(String uid, boolean unifyNameOnServer, @Nullable Map<Language,String> lang2DisplayName) throws LockException, DuplicateReferenceNameException, ElementDeletedException
LockException
DuplicateReferenceNameException
ElementDeletedException
StyleTemplate getStyleTemplate(long id)
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500