Class LinkedValueAutoCompletePlugin

java.lang.Object
fr.becpg.repo.autocomplete.impl.plugins.TargetAssocAutoCompletePlugin
fr.becpg.repo.autocomplete.impl.plugins.LinkedValueAutoCompletePlugin
All Implemented Interfaces:
AutoCompletePlugin

@Service("linkedValueAutoCompletePlugin") @BeCPGPublicApi public class LinkedValueAutoCompletePlugin extends TargetAssocAutoCompletePlugin

LinkedValueAutoCompletePlugin class.

Version:
$Id: $Id Autocomplete plugin to retrieve linked values ( hierachy) Example:
 
	<control template="/org/alfresco/components/form/controls/autocomplete.ftl">
		<control-param name="ds">becpg/autocomplete/linkedvalue/values/System/QualityLists/bcpg:entityLists/claimOrigin_Hierarchy</control-param>
		<control-param name="parent">qa_claimOriginHierarchy1</control-param>
	</control>

	<control template="/org/alfresco/components/form/controls/autocomplete.ftl">
		<control-param name="ds">becpg/autocomplete/allLinkedvalue/values/System/ProductHierarchy/bcpg:entityLists?extra.depthLevel=1&amp;extra.paths=finishedProduct_Hierarchy,semiFinishedProduct_Hierarchy,rawMaterialProduct_Hierarchy
		</control-param>
	</control>
 
 
Datasources: ds: becpg/autocomplete/linkedvalue/values/{path} param : {path} return hierarchy at depth level 0 control-param: {parent} return hierarchy with parent ds: becpg/autocomplete/allLinkedvalue/values/{path}?extra.depthLevel={depthLevel?}&extra.paths={paths?}&extra.list={lists?} param : {path} return all hierarchy starting at depth level path url-param: {paths} look hierachy in coma separated paths url-param: {depthLevel} specify start depth-level url-param: {list} look hierachy in spefic list in the current entity
Author:
matthieu