/** * Creates the String specifying where which type of resource has to be created.<p> * * @param cms the CMS context * @param resType the resource type to create * @param creationSitemap the creation sitemap parameter * * @return The String identifying which type of resource has to be created where.<p> * * @see #createResource(CmsObject, String, Locale, String, String, String, String) */ private static String getNewLink(CmsObject cms, I_CmsResourceType resType, String creationSitemap) { String contextPath = getContextRootPath(cms, creationSitemap); StringBuffer newLink = new StringBuffer(NEW_LINK_IDENTIFIER); newLink.append('|'); newLink.append(contextPath); newLink.append('|'); newLink.append(resType.getTypeName()); return newLink.toString(); }