|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.alfresco.web.ui.repo.component.AbstractItemSelector
org.alfresco.web.ui.repo.component.UIWebProjectFolderSelector
public class UIWebProjectFolderSelector
Selector component for folders within a Web Project.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.alfresco.web.ui.repo.component.AbstractItemSelector |
---|
AbstractItemSelector.ItemSelectorEvent |
Field Summary |
---|
Fields inherited from class org.alfresco.web.ui.repo.component.AbstractItemSelector |
---|
avmStore, disabled, initialSelectionId, label, mode, MODE_BEFORE_SELECTION, MODE_CANCEL_SELECTION, MODE_CONFIRM_SELECTION, MODE_DRILLDOWN_SELECTION, MODE_INITIAL_SELECTION, navigationId, OPTION, spacing |
Fields inherited from class javax.faces.component.UIInput |
---|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Constructor Summary | |
---|---|
UIWebProjectFolderSelector()
|
Method Summary | |
---|---|
protected void |
addChildrenForPath(javax.faces.context.FacesContext context,
java.lang.String path,
java.util.List children)
Adds any child folders of the given path to the given list of children |
java.util.Collection |
getChildrenForNode(javax.faces.context.FacesContext context)
Returns a collection of child associations for the current navigation node |
java.lang.String |
getDefaultLabel()
Retrieves the default label to show if none has been defined and nothing has been selected |
java.lang.String |
getFamily()
|
java.lang.String |
getItemIcon(javax.faces.context.FacesContext context,
org.alfresco.service.cmr.repository.NodeRef ref)
|
java.lang.String |
getParentNodeId(javax.faces.context.FacesContext context)
Retrieves the id of the parent node of the current navigation node |
java.util.Collection |
getRootChildren(javax.faces.context.FacesContext context)
Returns a collection of child associations of the root |
Methods inherited from class org.alfresco.web.ui.repo.component.AbstractItemSelector |
---|
broadcast, decode, encodeBegin, encodeFieldValues, getDictionaryService, getFastNodeService, getHiddenFieldName, getInitialSelection, getLabel, getNodeService, getSpacing, isDisabled, renderNodeLink, restoreState, saveState, setDisabled, setInitialSelection, setLabel, setSpacing |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, 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, validateValue |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, 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, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, setConverter |
Constructor Detail |
---|
public UIWebProjectFolderSelector()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class AbstractItemSelector
UIComponent.getFamily()
public java.lang.String getDefaultLabel()
AbstractItemSelector
getDefaultLabel
in class AbstractItemSelector
public java.lang.String getParentNodeId(javax.faces.context.FacesContext context)
AbstractItemSelector
getParentNodeId
in class AbstractItemSelector
context
- The Faces context
public java.util.Collection getChildrenForNode(javax.faces.context.FacesContext context)
AbstractItemSelector
getChildrenForNode
in class AbstractItemSelector
context
- The Faces context
public java.util.Collection getRootChildren(javax.faces.context.FacesContext context)
AbstractItemSelector
getRootChildren
in class AbstractItemSelector
context
- The Faces context
public java.lang.String getItemIcon(javax.faces.context.FacesContext context, org.alfresco.service.cmr.repository.NodeRef ref)
getItemIcon
in class AbstractItemSelector
ref
- NodeRef to the item to get the icon for
protected void addChildrenForPath(javax.faces.context.FacesContext context, java.lang.String path, java.util.List children)
context
- Faces contextpath
- The path to get children ofchildren
- The list of child folders
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |