Class AbstractPropertyUIList<C extends IJspUIContext,D extends IJspUIContext,I extends IUIListItem<D>>
java.lang.Object
com.jalios.jcms.member.profile.ui.AbstractPropertyUI<C>
com.jalios.jcms.member.profile.ui.AbstractPropertyUIList<C,D,I>
- Type Parameters:
C- type of List contextD- type of item contextI- type of item
public abstract class AbstractPropertyUIList<C extends IJspUIContext,D extends IJspUIContext,I extends IUIListItem<D>>
extends AbstractPropertyUI<C>
implements IUIList<C,D,I>
Convenient abstract holder of UI list.
- Since:
- jplatform-11
- Author:
- Sylvain Devaux
-
Field Summary
FieldsFields inherited from class com.jalios.jcms.member.profile.ui.AbstractPropertyUI
ENABLED_PROP_SUFFIX, ENABLED_REQ_ATTR, JSP_PROP_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPropertyUIList(AbstractPropertyUIList<C, D, I> other) AbstractPropertyUIList(String property, C context, D itemContext) -
Method Summary
Methods inherited from class com.jalios.jcms.member.profile.ui.AbstractPropertyUI
canInclude, canIncludeJsp, canIncludeJsp, disable, getBooleanPropertyValue, getContext, getId, getIntegerProperty, getJsp, getLabel, getLangProperty, getProperty, getProperty, getPropertyKey, getPropertyValue, getPropertyValue, getRealPath, isEnabled, isEnabled, logPrefix, setLabelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.jalios.jcms.member.profile.ui.IJspUI
canInclude, getContext, getId, getJsp
-
Field Details
-
LOGGER
protected static final org.apache.log4j.Logger LOGGER
-
-
Constructor Details
-
AbstractPropertyUIList
- Parameters:
property- common property prefix to resolve sub properties.eg: if property is
foo.ui.bar, then following sub properties will be resolvedfoo.ui.bar.*context- UI contextitemContext- UI item context
-
AbstractPropertyUIList
-
-
Method Details
-
getInstance
- Parameters:
property- the property key to map- Returns:
- a new instance of UI item
- See Also:
-
loadList
Internal. Load tabs based on standalone JProperties.- Returns:
- list of tabs. Does not return null, return empty collection instead.
-
getItemContext
- Returns:
- the item context
-
getItems
- Specified by:
getItemsin interfaceIUIList<C extends IJspUIContext,D extends IJspUIContext, I extends IUIListItem<D>> - Returns:
- list of enabled items
-
setItems
- Parameters:
items- the items to set
-
toString
- Overrides:
toStringin classAbstractPropertyUI<C extends IJspUIContext>
-