public class SmartLink extends ComplexPropertiesLink implements ILink, IAction
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
HEADER_V1_0, LABEL_KEY, LINK_KEY, propertiesCACHE_KEY_SUFFIX_PARAM_NAME, COMPONENT_KEY, config, EDIT_CLASS, FORCE_COMPONENT_ID, HIDDEN, I18N_FILE, logger, NOT_EDIT_PREVIEW_PARAM_NAME, SCROLL_TO_COMP_ID_ATTRIBUTE_NAME, TIME_CACHE_NAME, VALUE_SEPARATORCOLORED_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| Constructor and Description |
|---|
SmartLink() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActionGroupName()
the group name of the action
|
protected String |
getBodyId() |
String |
getDate() |
String |
getDateInputName() |
String |
getDescription() |
String |
getDescriptionInputName() |
protected String |
getEditXHTMLCode(ContentContext ctx) |
String |
getImageInputName() |
String |
getImageURL() |
Date |
getLatestValidDate() |
String |
getTextForSearch(ContentContext ctx)
return a text represent the content of the component. sample all the
content :-)
|
Date |
getTime() |
String |
getTitle() |
String |
getTitleInputName() |
String |
getType()
return the type of the element.
|
String |
getURL() |
String |
getURL(ContentContext ctx)
generate a URL or URI link with all elements to click on.
|
String |
getURLInputName() |
String |
getViewXHTMLCode(ContentContext ctx) |
protected boolean |
isAutoDeletable() |
boolean |
isLinkValid(ContentContext ctx)
return true if the link on the component is enabled
|
boolean |
isListable()
you display the composant as a list (if you want)
|
boolean |
isRealContent(ContentContext ctx)
return true if component is considered as realContent and the page that
contain the component is also considered as real content.
|
String |
performEdit(ContentContext ctx)
action call when update the content page.
|
static String |
performLoadLink(RequestService rs,
ContentContext ctx,
javax.servlet.ServletContext application,
Module currentModule,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
void |
setDate(String date) |
void |
setDescription(String description) |
void |
setImageURL(String url) |
void |
setLatestValidDate(Date date) |
void |
setTitle(String title) |
void |
setURL(String url) |
equals, getField, getField, getFontAwesome, getLinkLabelName, getLinkName, init, isContentCachable, reloadProperties, setField, setValue, storePropertiesapplyReplacement, cleanValue, clearReplacement, clone, compareTo, contructViewStyle, countLine, delete, deleteMySelf, equals, executeCurrentRenderer, executeJSP, executeRenderer, executeRenderer, extractFieldsFromRenderer, getAjaxId, getArea, getAuthors, getBackgroundColor, getBaseHelpURL, getClassName, getComplexityLevel, getComponentBean, getComponentCSS, getComponentCssClass, getComponentId, getComponentLabel, getComponentPath, getConfig, getConfigMessage, getContainerPage, getContentAsMap, getContentAsText, getContentCache, getContentMessage, getContentName, getContentTimeCache, getCookiesDisplayStatus, getCreationDate, getCSSStyle, getCurrentPage, getCurrentRenderer, getDebugHeader, getDefaultHelpURI, getDefaultRenderer, getDeleteDate, getDescription, getDisplayAsInputName, getDisplayMessage, getEditorComplexity, getEditText, getEmptyCode, getEmptyXHTMLCode, getErrorMessage, getErrorMessage, getExternalResources, getFirstPrefix, getForcedId, getForcedPrefixViewXHTMLCode, getForcedSuffixViewXHTMLCode, getFormName, getHeaderContent, getHelpType, getHelpURI, getHelpURL, getHexColor, getI18nEditableKeys, getId, getImportFolderPath, getImportFolderPath, getInlineStyle, getInputName, getInputNameRenderer, getInputNameRendererTitle, getItalicAndStrongLanguageMarkerList, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListClass, getListGroup, getListItemTag, getListTag, getLock, getMarkerList, getMessage, getMirrorWrapper, getModificationDate, getNextComponent, getPage, getPageDescription, getPrefixViewXHTMLCode, getPreviewAttributes, getPreviewCssClass, getPreviewCssId, getPreviousComponent, getQuotationLanguageMarkerList, getRemplacement, getRenderer, getRendererTitle, getRenderes, getRequestComponent, getSearchLevel, getSelectRendererXHTML, getSpecialInputTag, getSpecialPreviewCssClass, getSpecialPreviewCssId, getSpecialTagTitle, getSpecialTagXHTML, getSpecificClass, getStyle, getStyleLabel, getStyleLabelList, getStyleList, getStyleTitle, getSuffixViewXHTMLCode, getTag, getTextColor, getTextLabel, getTextMessage, getTextTitle, getTitleLevel, getTypeInputName, getValue, getValue, getVersion, getViewData, getViewDataFile, getViewID, getViewText, getWidth, getWordCount, getXHTMLCode, getXHTMLConfig, haveRight, includeComponentJSP, includePage, init, initContent, insert, isAjaxWrapper, isAskWidth, isAutoRenderer, isBackgroundColored, isCanAddClass, isColored, isConfig, isContentCachableByQuery, isContentTimeCachable, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayable, isDisplayHidden, isEditOnCreate, isFirstElementOfRepeatSequence, isFirstRepeated, isFreeInputLayout, isHelpURL, isHiddable, isHidden, isHiddenInMode, isInline, isInsertable, isList, isMetaTitle, isMirroredByDefault, isMirrorWrapped, isModify, isNeedDelete, isNeedRefresh, isNeedRenderer, isNew, isNextSame, isNextSame, isNolink, isNoLinkable, isPreviousSame, isPreviousSame, isRepeat, isRepeatable, isRestMatch, isReversedLink, isUnique, isValueProperties, isValueTranslatable, isViewDataFile, isVisible, isVisible, isVisibleFromCookies, isWrapped, isXML, loadViewData, main, markAsNew, newInstance, next, onStyleChange, performConfig, performUpdate, prepareView, previous, processView, renderViewXHTMLCode, replaceAllInContent, replaceInContent, resetContentCache, resetViewData, setBackgroundColor, setComponentBean, setContainerPage, setContentCache, setContentTimeCache, setDisplayHidden, setForcedId, setHidden, setHiddenInMode, setList, setMessage, setMirrorWrapped, setModify, setNeedRefresh, setNextComponent, setNolink, setPage, setPreviousComponent, setRenderer, setRepeat, setStyle, setTextColor, setValid, setWidth, stored, storeViewData, stringToReader, stringToReader, stringToStream, textToXHTML, transflateFrompublic static final String TYPE
public String getURL(ContentContext ctx) throws Exception
ILinkpublic boolean isLinkValid(ContentContext ctx) throws Exception
ILinkisLinkValid in interface ILinkExceptionpublic String getType()
IContentVisualComponentgetType in interface IContentVisualComponentprotected String getBodyId()
public String getURLInputName()
public String getTitleInputName()
public String getDateInputName()
public String getDescriptionInputName()
public String getImageInputName()
public String getURL()
public void setURL(String url)
public String getDate()
public void setDate(String date)
public Date getTime()
public String getDescription()
public void setDescription(String description)
public String getTitle()
public void setTitle(String title)
public String getImageURL()
public void setImageURL(String url)
protected boolean isAutoDeletable()
isAutoDeletable in class AbstractVisualComponentpublic String getTextForSearch(ContentContext ctx)
IContentVisualComponentgetTextForSearch in interface IContentVisualComponentgetTextForSearch in class AbstractVisualComponentpublic String getViewXHTMLCode(ContentContext ctx) throws Exception
getViewXHTMLCode in class AbstractVisualComponentExceptionprotected String getEditXHTMLCode(ContentContext ctx) throws Exception
getEditXHTMLCode in class AbstractVisualComponentExceptionpublic static String performLoadLink(RequestService rs, ContentContext ctx, javax.servlet.ServletContext application, Module currentModule, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exceptionpublic String getActionGroupName()
IActiongetActionGroupName in interface IActionpublic String performEdit(ContentContext ctx) throws Exception
IContentVisualComponentperformEdit in interface IContentVisualComponentperformEdit in class AbstractVisualComponentExceptionpublic boolean isListable()
IContentVisualComponentisListable in interface IContentVisualComponentisListable in class AbstractVisualComponentpublic void setLatestValidDate(Date date)
setLatestValidDate in interface ILinkpublic Date getLatestValidDate()
getLatestValidDate in interface ILinkpublic boolean isRealContent(ContentContext ctx)
IContentVisualComponentisRealContent in interface IContentVisualComponentisRealContent in class ComplexPropertiesLinkctx - current contextCopyright © 2012-2018. All Rights Reserved.