Class RelationClassDocumentInitializer

java.lang.Object
com.xpn.xwiki.doc.AbstractMandatoryDocumentInitializer
com.xpn.xwiki.doc.AbstractMandatoryClassInitializer
com.xwiki.projectmanagement.relations.store.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 final org.xwiki.model.reference.LocalDocumentReference
    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
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CLASS_REFERENCE

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

    • RelationClassDocumentInitializer

      public RelationClassDocumentInitializer()
      Default constructor.
  • Method Details

    • createClass

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