public class UIAssociationEditor extends BaseAssociationEditor
BaseAssociationEditor.AssocEditorEvent| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MSG_WARN_CANNOT_VIEW_TARGET_DETAILS |
static java.lang.String |
MSG_WARN_USER_WAS_DELETED |
added, associationName, availableOptions, availableOptionsSize, changingAssociation, disabled, highlightedRow, noSelectedItemsMsg, originalAssocs, removed, searchTerm, selectedItemsMsg, selectItemMsg, selectItemsMsg, showAvailable| Constructor and Description |
|---|
UIAssociationEditor() |
| 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 targetRef)
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 allowManyChildren)
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 static final java.lang.String MSG_WARN_CANNOT_VIEW_TARGET_DETAILS
public static final java.lang.String MSG_WARN_USER_WAS_DELETED
public 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 allowManyChildren)
throws java.io.IOException
BaseAssociationEditorrenderExistingAssociations in class BaseAssociationEditorcontext - FacesContextout - ResponseWriternodeService - The NodeServiceallowManyChildren - 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 targetRef)
removeTarget in class BaseAssociationEditornode - The node we are dealing withtargetRef - The noderef of the child to removeprotected void addTarget(Node node, java.lang.String[] toAdd)
addTarget in class BaseAssociationEditornode - The node we are dealing withtoAdd - The noderefs of the children to addCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.