org.alfresco.web.ui.repo.component
Class UISearchCustomProperties

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
              extended by org.alfresco.web.ui.repo.component.UISearchCustomProperties
All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder

public class UISearchCustomProperties
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
implements javax.faces.component.NamingContainer


Field Summary
static java.lang.String PREFIX_DATE_FROM
           
static java.lang.String PREFIX_DATE_TO
           
static java.lang.String PREFIX_LOV_ITEM
           
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
UISearchCustomProperties()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context)
           
 java.lang.String getFamily()
           
protected  org.alfresco.repo.dictionary.constraint.ListOfValuesConstraint getListOfValuesConstraint(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef)
          Retrieves the list of values constraint for the item, if it has one
 
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
outputAttribute
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX_DATE_TO

public static final java.lang.String PREFIX_DATE_TO
See Also:
Constant Field Values

PREFIX_DATE_FROM

public static final java.lang.String PREFIX_DATE_FROM
See Also:
Constant Field Values

PREFIX_LOV_ITEM

public static final java.lang.String PREFIX_LOV_ITEM
See Also:
Constant Field Values
Constructor Detail

UISearchCustomProperties

public UISearchCustomProperties()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent
See Also:
UIComponent.getFamily()

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException
See Also:
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)

getListOfValuesConstraint

protected org.alfresco.repo.dictionary.constraint.ListOfValuesConstraint getListOfValuesConstraint(org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef)
Retrieves the list of values constraint for the item, if it has one

Parameters:
PropertyDefinition - The property definition for the constraint
Returns:
The constraint if the item has one, null otherwise


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.