org.alfresco.web.config
Class PropertySheetConfigElement

java.lang.Object
  extended by org.springframework.extensions.config.element.ConfigElementAdapter
      extended by org.alfresco.web.config.PropertySheetConfigElement
All Implemented Interfaces:
java.io.Serializable, org.springframework.extensions.config.ConfigElement

public class PropertySheetConfigElement
extends org.springframework.extensions.config.element.ConfigElementAdapter

Custom config element that represents the config data for a property sheet

See Also:
Serialized Form

Nested Class Summary
 class PropertySheetConfigElement.AssociationConfig
          Inner class to represent a configured association
 class PropertySheetConfigElement.ChildAssociationConfig
          Inner class to represent a configured child association
 class PropertySheetConfigElement.ItemConfig
          Inner class to represent a configured property sheet item
 class PropertySheetConfigElement.PropertyConfig
          Inner class to represent a configured property
 class PropertySheetConfigElement.SeparatorConfig
          Inner class to represent a configured separator
 
Field Summary
static java.lang.String CONFIG_ELEMENT_ID
           
protected  java.util.Map editableItems
           
protected  java.util.Map items
           
protected  java.util.Map viewableItems
           
 
Fields inherited from class org.springframework.extensions.config.element.ConfigElementAdapter
attributes, children, name, value
 
Constructor Summary
PropertySheetConfigElement()
          Default constructor
PropertySheetConfigElement(java.lang.String name)
          Constructor
 
Method Summary
 org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
           
 java.util.List getChildren()
           
 java.util.List getEditableItemNamesToShow()
           
 java.util.Map getEditableItemsToShow()
           
 java.util.List getItemNamesToShow()
           
 java.util.Map getItems()
           
 java.util.Map getItemsToShow()
           
 
Methods inherited from class org.springframework.extensions.config.element.ConfigElementAdapter
getAttribute, getAttributeCount, getAttributes, getChild, getChildCount, getChildren, getChildrenMap, getChildValue, getName, getValue, hasAttribute, hasChildren, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONFIG_ELEMENT_ID

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

items

protected java.util.Map items

viewableItems

protected java.util.Map viewableItems

editableItems

protected java.util.Map editableItems
Constructor Detail

PropertySheetConfigElement

public PropertySheetConfigElement()
Default constructor


PropertySheetConfigElement

public PropertySheetConfigElement(java.lang.String name)
Constructor

Parameters:
name - Name of the element this config element represents
Method Detail

getChildren

public java.util.List getChildren()
Specified by:
getChildren in interface org.springframework.extensions.config.ConfigElement
Overrides:
getChildren in class org.springframework.extensions.config.element.ConfigElementAdapter
See Also:
org.alfresco.config.ConfigElement#getChildren()

combine

public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
Specified by:
combine in interface org.springframework.extensions.config.ConfigElement
Specified by:
combine in class org.springframework.extensions.config.element.ConfigElementAdapter
See Also:
org.alfresco.config.ConfigElement#combine(org.alfresco.config.ConfigElement)

getItems

public java.util.Map getItems()
Returns:
Returns a map of the all the items

getItemNamesToShow

public java.util.List getItemNamesToShow()
Returns:
Returns a list of item names to display

getItemsToShow

public java.util.Map getItemsToShow()
Returns:
Returns a map of the item names to show

getEditableItemNamesToShow

public java.util.List getEditableItemNamesToShow()
Returns:
Returns a list of item names to display

getEditableItemsToShow

public java.util.Map getEditableItemsToShow()
Returns:
Returns a map of the item names to show


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