Interface EntityReferenceValueProvider


  • @Role
    @Deprecated
    public interface EntityReferenceValueProvider
    Deprecated.
    since 7.2M1, use EntityReferenceProvider instead
    Return default values for specified Entity Reference types. Useful when an Entity Reference value has not been specified and we need to find a default value for it (the default value returned will depend on the implementations, some will return default values defined in the XWiki configuration, others will return values taken from the current document reference, etc).
    Since:
    2.3M1
    Version:
    $Id: 705c813aa2e0e30fab46c0e6d579e6eb906e7614 $
    • Method Detail

      • getDefaultValue

        String getDefaultValue​(EntityType type)
        Deprecated.
        Parameters:
        type - the entity reference type for which to get the default value
        Returns:
        the default value for the passed type