@@ -0,0 +1,1274 @@
+package com.celements.pagetype.classcollection;%0A%0Aimport org.apache.commons.logging.Log;%0Aimport org.apache.commons.logging.LogFactory;%0Aimport org.xwiki.component.annotation.Component;%0Aimport org.xwiki.model.reference.DocumentReference;%0A%0Aimport com.celements.common.classes.AbstractClassCollection;%0Aimport com.xpn.xwiki.XWikiException;%0A%0A@Component(%22com.celements.pagetype.classcollection%22)%0Apublic class PageTypeClassCollection extends AbstractClassCollection %7B%0A%0A  public static final String PAGE_TYPE_CLASS_DOC = %22PageType%22;%0A  public static final String PAGE_TYPE_CLASS_SPACE = %22Celements2%22;%0A  public static final String PAGE_TYPE_CLASSNAME = PAGE_TYPE_CLASS_SPACE + %22.%22%0A       + PAGE_TYPE_CLASS_DOC;%0A  public static final String PAGE_TYPE_FIELD = %22page_type%22;%0A%0A  private static Log LOGGER = LogFactory.getFactory().getInstance(%0A      PageTypeClassCollection.class);%0A%0A  @Override%0A  protected Log getLogger() %7B%0A    return LOGGER;%0A  %7D%0A%0A  @Override%0A  protected void initClasses() throws XWikiException %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  public String getConfigName() %7B%0A    return %22celPageType%22;%0A  %7D%0A%0A  public DocumentReference getPageTypeClassRef(String wikiName) %7B%0A    return new DocumentReference(wikiName, PAGE_TYPE_CLASS_SPACE, PAGE_TYPE_CLASS_DOC);%0A  %7D%0A%0A%7D%0A

add PageTypeClassCollection