Package org.javlo.fields
Class FieldExternalLink
- java.lang.Object
-
- org.javlo.fields.Field
-
- org.javlo.fields.MetaField
-
- org.javlo.fields.FieldExternalLink
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classFieldExternalLink.ExternalLinkBean-
Nested classes/interfaces inherited from class org.javlo.fields.Field
Field.FieldBean
-
-
Field Summary
-
Fields inherited from class org.javlo.fields.Field
comp, DEFAULT_SEARCH_TYPE, globalContext, i18nAccess, LABEL_CSS, MESSAGE_ERROR, MESSAGE_INFO, properties, SMALL_PART_SIZE, SMALL_VALUE_SIZE, staticConfig, VALUE_SIZE
-
-
Constructor Summary
Constructors Constructor Description FieldExternalLink()
-
Method Summary
-
Methods inherited from class org.javlo.fields.Field
compareTo, createKey, defaultLabelDisplayed, fillRequest, getBean, getCloseRow, getContentAsMap, getCssClass, getCSSClass, getCurrentLocale, getDefaultLanguages, getDefaultPrefix, getDefaultSuffix, getDisplayValue, getEditLabelCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getFormatedValue, getGlobalContext, getHtml, getI18nAccess, getId, getInitValue, getInputName, getLabel, getLabel, getList, getMaxSize, getMessage, getMessageType, getMessageTypeCSSClass, getMetaData, getMetaData, getMinSize, getName, getOpenRow, getOrder, getPageDescription, getPlaceholder, getPropertyValue, getReference, getReferenceComponent, getReferenceFieldView, getReferenceFormatedValue, getReferenceValue, getRemplacementCode, getSearchEditXHTMLCode, getSearchLabel, getSearchType, getSize, getSpecialClass, getStaticConfig, getTag, getTranslation, getUnicName, getUnity, getUnity, getUserLabel, getUserLabel, getValue, getValue, getValues, getValues, getViewListXHTMLCode, getWidthEdit, getXHTMLValue, initContent, isDiplayedInList, isFirst, isI18n, isLabelDisplayed, isLabelEditable, isLast, isNeeded, isNeedRefresh, isReadOnly, isRealContent, isSearch, isTitle, isValid, isValueTranslatable, isViewDisplayed, main, newInstance, referenceEditCode, referenceViewCode, reload, renderSelect, search, setCurrentLocale, setFirst, setGlobalContext, setI18nAccess, setId, setLabel, setLabelValue, setLast, setMessage, setMessageType, setName, setNeedRefresh, setPlaceholder, setProperties, setReadOnly, setStaticConfig, setValue, setValue, setValues, toString, transflateFrom, validate
-
-
-
-
Method Detail
-
getLabelLabel
protected String getLabelLabel()
-
getLinkLabel
protected String getLinkLabel()
-
getInputLinkName
public String getInputLinkName()
-
getInputLabelName
public String getInputLabelName()
- Overrides:
getInputLabelNamein classField
-
getViewXHTMLCode
public String getViewXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getViewXHTMLCodein classMetaField- Throws:
Exception
-
getEditXHTMLCode
public String getEditXHTMLCode(ContentContext ctx, boolean search) throws Exception
- Overrides:
getEditXHTMLCodein classField- Throws:
Exception
-
process
public boolean process(ContentContext ctx)
Description copied from class:Fieldprocess the field
-
getCurrentLink
protected String getCurrentLink()
-
setCurrentLink
public void setCurrentLink(String link)
-
getCurrentLinkErrorMessage
protected String getCurrentLinkErrorMessage()
-
setCurrentLinkErrorMessage
protected void setCurrentLinkErrorMessage(String message)
-
getCurrentLabel
protected String getCurrentLabel()
-
setCurrentLabel
protected void setCurrentLabel(String label)
-
isPertinent
public boolean isPertinent(ContentContext ctx)
- Overrides:
isPertinentin classField
-
isContentCachable
public boolean isContentCachable()
- Overrides:
isContentCachablein classField
-
isPublished
public boolean isPublished(ContentContext ctx)
- Specified by:
isPublishedin classMetaField
-
getURL
public String getURL(ContentContext ctx) throws Exception
Description copied from interface:ILinkgenerate a URL or URI link with all elements to click on.
-
isLinkValid
public boolean isLinkValid(ContentContext ctx) throws Exception
Description copied from interface:ILinkreturn true if the link on the component is enabled- Specified by:
isLinkValidin interfaceILink- Returns:
- Throws:
Exception
-
newFieldBean
protected Field.FieldBean newFieldBean(ContentContext ctx)
- Overrides:
newFieldBeanin classField
-
setLatestValidDate
public void setLatestValidDate(Date date)
- Specified by:
setLatestValidDatein interfaceILink
-
getLatestValidDate
public Date getLatestValidDate()
- Specified by:
getLatestValidDatein interfaceILink
-
-