com.fatwire.cs.ui.view.renderer
Interface AttributeDataBinding


public interface AttributeDataBinding

This interface defines dynamic bindings associated with an attribut's rendered data.


Method Summary
 java.lang.String getAddNewMethodBinding()
          Method binding associated with the 'AddNew' functionality in case of multi-valued attributes.
 java.lang.String getAddSelectedItemMethodBinding()
          Method binding for adding the selected items from the search results or tree.
 java.lang.String getAuxillaryBindingPattern()
          Returns an auxillary binding to AttributeData for use by attribute renderers when they require more control than the simple asset data binding.
 java.lang.String getCreateNewMethodBinding()
          Method binding for creating asset of the appropriate type.
 java.lang.String getDataBindingPattern()
          Returns the data binding pattern associated with the attribute data.
 java.lang.String getMoveDownMethodBinding()
          Method binding associated with the 'move down' functionality in case of multi-valued attributes.
 java.lang.String getMoveUpMethodBinding()
          Method binding associated with the 'move up' functionality in case of multi-valued attributes.
 java.lang.String getPopUpSearchBinding()
          Used by the search button in the pop up search results layer.(shown when the show assets button is clicked)
 java.lang.String getRemoteItemMethodBinding()
          Method binding associated with the 'Remove item' functionality in case of multi-valued attributes.
 java.lang.String getShowAssetMethodBinding()
          Method binding for displaying appropriate items from the search results or tree.
 java.lang.String getTextAreaLinksBinding()
          Used by TextArea renderer to embed the appropriate asset
 

Method Detail

getDataBindingPattern

java.lang.String getDataBindingPattern()
Returns the data binding pattern associated with the attribute data. The binding for an attribute is to a List and the pattern has a placeholder character (@) where the index of the List is meant to be replaced. The AttributeDataRenderer uses this pattern to resolve the actual data binding.

Returns:
Binding pattern for an attribute data.

getAddNewMethodBinding

java.lang.String getAddNewMethodBinding()
Method binding associated with the 'AddNew' functionality in case of multi-valued attributes.

Returns:
Method binding associated with 'AddNew' link

getMoveUpMethodBinding

java.lang.String getMoveUpMethodBinding()
Method binding associated with the 'move up' functionality in case of multi-valued attributes.

Returns:
Method binding associated with 'move up' link

getMoveDownMethodBinding

java.lang.String getMoveDownMethodBinding()
Method binding associated with the 'move down' functionality in case of multi-valued attributes.

Returns:
Method binding associated with 'move down' link

getRemoteItemMethodBinding

java.lang.String getRemoteItemMethodBinding()
Method binding associated with the 'Remove item' functionality in case of multi-valued attributes.

Returns:
Method binding associated with 'Remove item' link

getAuxillaryBindingPattern

java.lang.String getAuxillaryBindingPattern()
Returns an auxillary binding to AttributeData for use by attribute renderers when they require more control than the simple asset data binding. Implementations of AttributeRenderers are expected to define local naming conventions to use this binding. The binding is to a Map instance stored as a part of AttributeData.

Returns:
String representing the auxillary binding

getAddSelectedItemMethodBinding

java.lang.String getAddSelectedItemMethodBinding()
Method binding for adding the selected items from the search results or tree. Used for named and unnamed associations

Returns:
method name in AInspect.java associated with Add Selected Items link

getShowAssetMethodBinding

java.lang.String getShowAssetMethodBinding()
Method binding for displaying appropriate items from the search results or tree. Used for named and unnamed associations

Returns:
method name in AInspect.java associated with Add Selected Items link

getCreateNewMethodBinding

java.lang.String getCreateNewMethodBinding()
Method binding for creating asset of the appropriate type. Used for parent association and named associations

Returns:
method name in AInspect.java associated with Add Selected Items link

getTextAreaLinksBinding

java.lang.String getTextAreaLinksBinding()
Used by TextArea renderer to embed the appropriate asset

Returns:

getPopUpSearchBinding

java.lang.String getPopUpSearchBinding()
Used by the search button in the pop up search results layer.(shown when the show assets button is clicked)

Returns:


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.