Class RelationClassDocumentInitializer

  • All Implemented Interfaces:
    com.xpn.xwiki.doc.MandatoryDocumentInitializer, org.xwiki.component.phase.Initializable

    @Component
    @Named("ProjectManagement.Code.RelationClass")
    @Singleton
    public class RelationClassDocumentInitializer
    extends com.xpn.xwiki.doc.AbstractMandatoryClassInitializer
    Initializes the work package link xclass.
    Since:
    1.2.0-rc-1
    Version:
    $Id$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.xwiki.model.reference.LocalDocumentReference CLASS_REFERENCE
      The reference identifying the created XClass.
      • Fields inherited from class com.xpn.xwiki.doc.AbstractMandatoryDocumentInitializer

        documentSheetBinder, resolver, wikiDescriptorManager
      • Fields inherited from interface com.xpn.xwiki.doc.MandatoryDocumentInitializer

        DEFAULT_PRIORITY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void createClass​(com.xpn.xwiki.objects.classes.BaseClass xclass)  
      • Methods inherited from class com.xpn.xwiki.doc.AbstractMandatoryClassInitializer

        updateClassDocumentFields, updateDocument, updateDocumentSheet
      • Methods inherited from class com.xpn.xwiki.doc.AbstractMandatoryDocumentInitializer

        getDocumentReference, getTitle, initialize, intFromBoolean, isMainWikiOnly, updateDocumentFields, updateTitle
    • Field Detail

      • CLASS_REFERENCE

        public static final org.xwiki.model.reference.LocalDocumentReference CLASS_REFERENCE
        The reference identifying the created XClass.
    • Constructor Detail

      • RelationClassDocumentInitializer

        public RelationClassDocumentInitializer()
        Default constructor.
    • Method Detail

      • createClass

        protected void createClass​(com.xpn.xwiki.objects.classes.BaseClass xclass)
        Overrides:
        createClass in class com.xpn.xwiki.doc.AbstractMandatoryClassInitializer