org.nuiton.wikitty.struts
Class WikittyFieldHandler
java.lang.Object
org.nuiton.wikitty.struts.WikittyFieldHandler
public class WikittyFieldHandler
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_EXTENSION_CAR
public static String ALL_EXTENSION_CAR
FIELD_SEPARATOR
public static String FIELD_SEPARATOR
wikittyId
protected String wikittyId
wikitty
protected Wikitty wikitty
businessEntity
protected BusinessEntity businessEntity
proxy
protected WikittyProxy proxy
include
protected String include
exclude
protected String exclude
order
protected String order
orderBefore
protected Boolean orderBefore
fieldAdded
protected Set<String> fieldAdded
excludeMap
protected Map<String,List<String>> excludeMap
includeMap
protected Map<String,List<String>> includeMap
includeEnable
protected boolean includeEnable
WIKITTY_STACK_KEY
public static final String WIKITTY_STACK_KEY
- See Also:
- Constant Field Values
WikittyFieldHandler
public WikittyFieldHandler()
getFieldAdded
public Set<String> getFieldAdded()
setFieldAdded
public void setFieldAdded(Set<String> fieldAdded)
getWikittyId
public String getWikittyId()
setWikittyId
public void setWikittyId(String wikittyId)
getWikitty
public Wikitty getWikitty()
setWikitty
public void setWikitty(Wikitty wikitty)
getBusinessEntity
public BusinessEntity getBusinessEntity()
setBusinessEntity
public void setBusinessEntity(BusinessEntity businessEntity)
getOrderBefore
public Boolean getOrderBefore()
setOrderBefore
public void setOrderBefore(Boolean orderBefore)
getProxy
public WikittyProxy getProxy()
setProxy
public void setProxy(WikittyProxy proxy)
getInclude
public String getInclude()
setInclude
public void setInclude(String include)
getExclude
public String getExclude()
setExclude
public void setExclude(String exclude)
getOrder
public String getOrder()
setOrder
public void setOrder(String order)
getWikittyField
public Collection<ExtensionFieldStrutsBean> getWikittyField()
getFieldOrderedBefore
protected Collection<ExtensionFieldStrutsBean> getFieldOrderedBefore()
constructIncludeExcludeMap
protected Map<String,List<String>> constructIncludeExcludeMap(String entry)
- construct map for exclude or include template
- Parameters:
entry - the attribut of the wikitty field tag exemple
include="machin.*, truc.bob, truc.tt"
- Returns:
- a map with key the string before the dot and a list with the
value after the dot example: [machin:[*], truc:[tt,bob]]
addAddedField
public void addAddedField(String field)
isIncluded
public boolean isIncluded(String fqFieldName)
isIncluded
public boolean isIncluded(String extName,
String fieldName)
constructExtensionFieldFromField
protected ExtensionFieldStrutsBean constructExtensionFieldFromField(String extName,
String fieldName)
Copyright © 2011-2012 CodeLutin. All Rights Reserved.