Method Summary
All Methods Instance Methods Abstract Methods
Create a new template in this folder.
Create a new template in this folder.
Create a new template in this folder.
Create a new sub-folder in this folder
Create a new sub-folder in this folder
Returns page template with the given uid or null
.
Generic type information of the template type this template container may hold.
void
Setting the name has no effect, calls will be ignored.
Methods inherited from interface de.espirit.firstspirit.access.store.IDProvider
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 , setDisplayName , setMeta , setMetaFormData , setUid
Methods inherited from interface de.espirit.firstspirit.access.store.StoreElement
appendChild , appendChildBefore , delete , exportStoreElement , getChildCount , getChildIndex , getChildren , getChildren , getChildren , getChildren , getCreateWorkflowPermission , getDefinedPrincipalPermissions , getEditor , getElementType , getFirstChild , getIncomingReferences , getInheritedPrincipalPermissions , getLastChanged , getName , getNextSibling , getOutgoingReferences , getPermission , getPermission , getPermission , getPreviousSibling , 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
Method Details
setName
Setting the name has no effect, calls will be ignored.
Since:
3.0
getTemplateType
Generic type information of the template type this template container may hold.
Specified by:
getTemplateType
in interface TemplateContainer <SectionTemplate >
Returns:
the template type this template container may hold
Since:
4.1.24
createTemplate
Create a new template in this folder. The given uid is used as suggestion if
unifyNameOnServer == true
and will be unified on the server if it is necessary.
Specified by:
createTemplate
in interface TemplateContainer <SectionTemplate >
Parameters:
uid
- the uid
of the new template
unifyNamesOnServer
- if true
the given uid will be unified on server if necessary, otherwise a
DuplicateReferenceNameException
will be thrown, if a template with the given uid already exist
Returns:
the new created template
Throws:
LockException
- if this template container is locked in another session
DuplicateReferenceNameException
- if a template with the given uid
already exists on the server and unifyNamesOnServer == false
ElementDeletedException
Since:
4.0
createTemplate
Create a new template in this folder. The given uid is used as suggestion if
unifyNameOnServer == true
and will be unified on the server if it is necessary.
Specified by:
createTemplate
in interface TemplateContainer <SectionTemplate >
Parameters:
uid
- the uid
of the new template
lang2DisplayName
- mapping of language to language specific displayname; used to create
LanguageInfo
nodes
unifyNamesOnServer
- if true
the given uid will be unified on server if necessary, otherwise a
DuplicateReferenceNameException
will be thrown, if a template with the given uid already exist
Returns:
the new created template
Throws:
LockException
- if this template container is locked in another session
DuplicateReferenceNameException
- if a template with the given uid
already exists on the server and unifyNamesOnServer == false
ElementDeletedException
Since:
4.0.120
getTemplate
Returns page template with the given uid or null
.
Specified by:
getTemplate
in interface TemplateContainer <SectionTemplate >
Parameters:
uid
- unique identifier without type prefix.
Returns:
page template with the given uid or null
.
Since:
4.0
See Also: