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.
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
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.
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