Package org.javlo.fields
Interface IFieldContainer
-
- All Superinterfaces:
Comparable<IContentVisualComponent>,IContentVisualComponent,IRestItem
- All Known Implementing Classes:
DynamicComponent,MirrorComponent,ReactionComponent,StaticMapComponent
public interface IFieldContainer extends IContentVisualComponent
-
-
Field Summary
-
Fields inherited from interface org.javlo.component.core.IContentVisualComponent
COLORED_WRAPPER_CLASS, COMP_ID_REQUEST_PARAM, COMPLEXITY_ADMIN, COMPLEXITY_EASY, COMPLEXITY_STANDARD, CONTAINER_COLOR, DEFAULT_COLOR, DYN_COMP_COLOR, ECOM_COLOR, EDIT_ACTION_CSS_CLASS, GRAPHIC_COLOR, HIGH_LABEL_LEVEL, ID_SEPARATOR, LINK_COLOR, LOW_LABEL_LEVEL, META_COLOR, MIDDLE_LABEL_LEVEL, SEARCH_LEVEL_HIGH, SEARCH_LEVEL_LOW, SEARCH_LEVEL_MIDDLE, SEARCH_LEVEL_NONE, TEXT_COLOR, VIEW_DEFINITION_REQUEST_ID, WEB2_COLOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContainerType(ContentContext ctx)FieldgetField(ContentContext ctx, String name)List<Field>getFields(ContentContext ctx)List<String>getFieldsNames(ContentContext ctx)StringgetFieldValue(ContentContext ctx, String name)StringgetLabel(ContentContext ctx)Map<String,String>getList(ContentContext ctx, String listName)Map<String,String>getList(ContentContext ctx, String listName, Locale locale)MenuElementgetPage()get the page contains the componentStringgetViewListXHTMLCode(ContentContext ctx)StringgetViewXHTMLCode(ContentContext ctx)booleanisFieldContainer(ContentContext ctx)booleanisRealContent(ContentContext ctx)return true if component is considered as realContent and the page that contain the component is also considered as real content.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.javlo.component.core.IContentVisualComponent
cleanResources, clearReplacement, delete, equals, extractFieldsFromRenderer, forceInit, getArea, getAuthors, getClassName, getColumnSize, getColumnStyle, getComplexityLevel, getComponentBean, getComponentCssClass, getComponentLabel, getConfig, getConfigInValue, getConfigMessage, getContentAsText, getContentMessage, getContentName, getCreationDate, getCurrentRenderer, getDescription, getEditText, getEmptyXHTMLCode, getErrorMessage, getErrorMessage, getExternalModules, getExternalResources, getFirstPrefix, getFontAwesome, getGroup, getHeaderContent, getHelpText, getHelpURL, getHexColor, getI18nEditableKeys, getIcon, getId, getInputNameRenderer, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListGroup, getMarkerList, getMessage, getModificationDate, getNextComponent, getPageDescription, getPrefixViewXHTMLCode, getPreviousComponent, getReferenceComponent, getRenderer, getSearchLevel, getSpecialTagTitle, getSpecialTagXHTML, getStyle, getStyleLabel, getStyleLabelList, getStyleList, getStyleTitle, getSuffixViewXHTMLCode, getTextForSearch, getTextLabel, getTextMessage, getTextTitle, getTitleLevel, getType, getValue, getVersion, getViewText, getWordCount, getXHTMLCode, getXHTMLConfig, initContent, insert, isColumnable, isConfig, isContentCachable, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayable, isDisplayHidden, isEditOnCreate, isFirstRepeated, isHelpURL, isHidden, isHiddenInMode, isInline, isInsertable, isList, isListable, isMetaTitle, isMirroredByDefault, isModify, isNeedRefresh, isNew, isNolink, isRepeat, isRepeatable, isRestMatch, isUnique, isVisible, isVisible, isVisibleFromCookies, loadViewData, markAsNew, newInstance, next, performConfig, performEdit, prepareView, previous, replaceAllInContent, replaceInContent, resetViewData, setColumnSize, setContainerPage, setDisplayHidden, setGroup, setList, setNeedRefresh, setNextComponent, setPage, setPreviousComponent, setRenderer, setRepeat, setStyle, setValid, setValue, stored, transflateFrom
-
Methods inherited from interface org.javlo.data.rest.IRestItem
getContentAsMap
-
-
-
-
Method Detail
-
getContainerType
String getContainerType(ContentContext ctx)
-
getLabel
String getLabel(ContentContext ctx)
-
getFieldsNames
List<String> getFieldsNames(ContentContext ctx) throws Exception
- Throws:
Exception
-
getFields
List<Field> getFields(ContentContext ctx) throws Exception
- Throws:
Exception
-
getField
Field getField(ContentContext ctx, String name) throws Exception
- Throws:
Exception
-
getFieldValue
String getFieldValue(ContentContext ctx, String name) throws Exception
- Throws:
Exception
-
getList
Map<String,String> getList(ContentContext ctx, String listName, Locale locale) throws Exception
- Throws:
Exception
-
getList
Map<String,String> getList(ContentContext ctx, String listName) throws Exception
- Throws:
Exception
-
getViewXHTMLCode
String getViewXHTMLCode(ContentContext ctx) throws Exception
- Throws:
Exception
-
getViewListXHTMLCode
String getViewListXHTMLCode(ContentContext ctx) throws Exception
- Throws:
Exception
-
isRealContent
boolean isRealContent(ContentContext ctx)
Description copied from interface:IContentVisualComponentreturn true if component is considered as realContent and the page that contain the component is also considered as real content.- Specified by:
isRealContentin interfaceIContentVisualComponent- Parameters:
ctx- current context- Returns:
-
isFieldContainer
boolean isFieldContainer(ContentContext ctx)
-
getPage
MenuElement getPage()
Description copied from interface:IContentVisualComponentget the page contains the component- Specified by:
getPagein interfaceIContentVisualComponent- Returns:
- a page of the navigation
-
-