org.xwiki.model.reference
Interface EntityReferenceValueProvider
@ComponentRole
public interface EntityReferenceValueProvider
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$
getDefaultValue
String getDefaultValue(EntityType type)
- Parameters:
type - the entity reference type for which to get the default value
- Returns:
- the default value for the passed type
Copyright © 2004-2011 XWiki. All Rights Reserved.