public void replaceCreationTemplate(CreationTemplate template,Guid orgGuid) throws UMSException {
  if (template == null) {
    return;
  }
  String templateName=template.getName();
  if (templateName == null) {
    String msg=i18n.getString(IUMSConstants.MISSING_TEMPL_NAME);
    throw new IllegalArgumentException(msg);
  }
  AttrSet attrSet=toAttrSet(template);
  try {
    m_configManager.replaceCreationTemplate(orgGuid,templateName,attrSet);
  }
 catch (  ConfigManagerException e) {
    throw new UMSException(e.getMessage());
  }
}

public void replaceCreationTemplate ( CreationTemplate template , Guid orgGuid ) throws UMSException { if ( template == null ) { return ; } String templateName = template . getName ( ) ; if ( templateName == null ) { String msg = i18n . getString ( IUMSConstants . MISSING_TEMPL_NAME ) ; throw new IllegalArgumentException ( msg ) ; } AttrSet attrSet = toAttrSet ( template ) ; try { m_configManager . replaceCreationTemplate ( orgGuid , templateName , attrSet ) ; } catch ( ConfigManagerException e ) { throw new UMSException ( e . getMessage ( ) ) ; } }
replaces an existing creationtemplate with the one specified .
