public class UIChildAssociationEditor extends BaseAssociationEditor
BaseAssociationEditor.AssocEditorEventadded, associationName, availableOptions, availableOptionsSize, changingAssociation, disabled, highlightedRow, noSelectedItemsMsg, originalAssocs, removed, searchTerm, selectedItemsMsg, selectItemMsg, selectItemsMsg, showAvailable| Constructor and Description |
|---|
UIChildAssociationEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTarget(Node node,
java.lang.String[] toAdd)
Updates the component and node state to reflect an association being added
|
java.lang.String |
getFamily() |
protected void |
populateAssocationMaps(Node node,
org.alfresco.service.cmr.repository.NodeService nodeService)
Populates all the internal Maps with the appropriate association reference objects
|
protected void |
removeTarget(Node node,
java.lang.String childRef)
Updates the component and node state to reflect an association being removed
|
protected void |
renderExistingAssociations(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
org.alfresco.service.cmr.repository.NodeService nodeService,
boolean allowMany)
Renders the existing associations in an editable form
|
protected void |
renderReadOnlyAssociations(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
org.alfresco.service.cmr.repository.NodeService nodeService)
Renders the existing associations in a read-only form
|
broadcast, decode, encodeBegin, generateFormSubmit, getAssociationDefinition, getAssociationName, getAvailableOptions, getAvailableOptionsSize, getHiddenFieldName, getNoSelectedItemsMsg, getSelectedItemsMsg, getSelectItemMsg, getSelectItemsMsg, isDisabled, renderAvailableOptions, renderExistingAssociation, renderNone, renderSearchField, restoreState, saveState, setAssociationName, setAvailableOptionsSize, setDisabled, setNoSelectedItemsMsg, setSelectedItemsMsg, setSelectItemMsg, setSelectItemsMsgaddValidator, addValueChangeListener, compareValues, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValuegetConverter, getLocalValue, setConverteraddFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic java.lang.String getFamily()
getFamily in class javax.faces.component.UIInputUIComponent.getFamily()protected void populateAssocationMaps(Node node, org.alfresco.service.cmr.repository.NodeService nodeService)
BaseAssociationEditorpopulateAssocationMaps in class BaseAssociationEditornode - The Node we are dealing withnodeService - The NodeServiceBaseAssociationEditor.populateAssocationMaps(org.alfresco.web.bean.repository.Node, org.alfresco.service.cmr.repository.NodeService)protected void renderExistingAssociations(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
org.alfresco.service.cmr.repository.NodeService nodeService,
boolean allowMany)
throws java.io.IOException
BaseAssociationEditorrenderExistingAssociations in class BaseAssociationEditorcontext - FacesContextout - ResponseWriternodeService - The NodeServiceallowMany - Whether multiple associations are allowedjava.io.IOExceptionBaseAssociationEditor.renderExistingAssociations(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, org.alfresco.service.cmr.repository.NodeService, boolean)protected void renderReadOnlyAssociations(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
org.alfresco.service.cmr.repository.NodeService nodeService)
throws java.io.IOException
BaseAssociationEditorrenderReadOnlyAssociations in class BaseAssociationEditorcontext - FacesContextout - ResponseWriternodeService - The NodeServicejava.io.IOExceptionBaseAssociationEditor.renderReadOnlyAssociations(javax.faces.context.FacesContext, javax.faces.context.ResponseWriter, org.alfresco.service.cmr.repository.NodeService)protected void removeTarget(Node node, java.lang.String childRef)
BaseAssociationEditorremoveTarget in class BaseAssociationEditornode - The node we are dealing withchildRef - The noderef of the child to removeBaseAssociationEditor.removeTarget(org.alfresco.web.bean.repository.Node, java.lang.String)protected void addTarget(Node node, java.lang.String[] toAdd)
BaseAssociationEditoraddTarget in class BaseAssociationEditornode - The node we are dealing withtoAdd - The noderefs of the children to addBaseAssociationEditor.addTarget(org.alfresco.web.bean.repository.Node, java.lang.String[])Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.