Class EntryUrl
- java.lang.Object
-
- fr.paris.lutece.plugins.quicklinks.business.Entry
-
- fr.paris.lutece.plugins.quicklinks.business.EntryUrl
-
-
Constructor Summary
Constructors Constructor Description EntryUrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntryUrlclone()Clone the entryvoidcreateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)Create the specific parametersStringgetDescription()EntryUrlDisplayPropertiesgetEntryUrlDisplayProperties()EntryUrlLinkPropertiesgetEntryUrlLinkProperties()StringgetHtml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)Get the HTML code of the entrybyte[]getImage()StringgetImageMimeType()fr.paris.lutece.portal.service.image.ImageResourcegetImageResource()Get the image resource for the entry urlStringgetImageUrl()Get the image UrlvoidgetSpecificParameters(javax.servlet.http.HttpServletRequest request, Map<String,Object> model, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the specific parameters for the entryStringgetTarget()Get the targetStringgetTitle()StringgetUrl()voidloadSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the specific parametersvoidremoveSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the specific parametersvoidsetDescription(String strDescription)voidsetEntryUrlDisplayProperties(EntryUrlDisplayProperties entryUrlDisplayProperties)voidsetEntryUrlLinkProperties(EntryUrlLinkProperties entryUrlLinkProperties)voidsetImage(byte[] image)voidsetImageMimeType(String strImageMimeType)StringsetSpecificParameters(javax.servlet.http.HttpServletRequest request)Set the specific parameters for the entryvoidsetTarget(String strTarget)Set the targetvoidsetTitle(String strTitle)voidsetUrl(String strUrl)voidupdateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the specific parameters-
Methods inherited from class fr.paris.lutece.plugins.quicklinks.business.Entry
copy, copy, getChilds, getEntryType, getId, getIdOrder, getIdParent, getIdQuicklinks, getParent, setEntryType, setId, setIdOrder, setIdParent, setIdQuicklinks
-
-
-
-
Method Detail
-
setDescription
public void setDescription(String strDescription)
- Parameters:
strDescription- the _strDescription to set
-
getDescription
public String getDescription()
- Returns:
- the _strDescription
-
getUrl
public String getUrl()
- Returns:
- the url
-
setUrl
public void setUrl(String strUrl)
- Parameters:
strUrl- the url to set
-
getImage
public byte[] getImage()
- Returns:
- the image
-
setImage
public void setImage(byte[] image)
- Parameters:
image- the image to set
-
getImageMimeType
public String getImageMimeType()
- Returns:
- the imageMimeType
-
setImageMimeType
public void setImageMimeType(String strImageMimeType)
- Parameters:
strImageMimeType- the imageMimeType to set
-
getEntryUrlDisplayProperties
public EntryUrlDisplayProperties getEntryUrlDisplayProperties()
- Returns:
- the entryUrlDisplayProperties
-
setEntryUrlDisplayProperties
public void setEntryUrlDisplayProperties(EntryUrlDisplayProperties entryUrlDisplayProperties)
- Parameters:
entryUrlDisplayProperties- the entryUrlDisplayProperties to set
-
getEntryUrlLinkProperties
public EntryUrlLinkProperties getEntryUrlLinkProperties()
- Returns:
- the entryUrlLinkProperties
-
setEntryUrlLinkProperties
public void setEntryUrlLinkProperties(EntryUrlLinkProperties entryUrlLinkProperties)
- Parameters:
entryUrlLinkProperties- the entryUrlLinkProperties to set
-
clone
public EntryUrl clone() throws CloneNotSupportedException
Description copied from class:EntryClone the entry- Specified by:
clonein interfaceIEntry- Overrides:
clonein classEntry- Returns:
- new entry
- Throws:
CloneNotSupportedException- exception
-
getHtml
public String getHtml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)
Description copied from interface:IEntryGet the HTML code of the entry
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String strTitle)
-
getTarget
public String getTarget()
Get the target- Returns:
- The target
-
setTarget
public void setTarget(String strTarget)
Set the target- Parameters:
strTarget- the target to set
-
setSpecificParameters
public String setSpecificParameters(javax.servlet.http.HttpServletRequest request)
Description copied from class:EntrySet the specific parameters for the entry- Specified by:
setSpecificParametersin interfaceIEntry- Overrides:
setSpecificParametersin classEntry- Parameters:
request- theHttpServletRequest- Returns:
- The i18n message if error occurs, null else
-
getSpecificParameters
public void getSpecificParameters(javax.servlet.http.HttpServletRequest request, Map<String,Object> model, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from class:EntryGet the specific parameters for the entry- Specified by:
getSpecificParametersin interfaceIEntry- Overrides:
getSpecificParametersin classEntry- Parameters:
request- theHttpServletRequestmodel- TheHashMapmodelplugin- ThePlugin
-
getImageResource
public fr.paris.lutece.portal.service.image.ImageResource getImageResource()
Get the image resource for the entry url- Returns:
- The
ImageResourceobject
-
getImageUrl
public String getImageUrl()
Get the image Url- Returns:
- The image Url
-
createSpecificParameters
public void createSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from class:EntryCreate the specific parameters- Specified by:
createSpecificParametersin interfaceIEntry- Overrides:
createSpecificParametersin classEntry- Parameters:
plugin- ThePlugin
-
loadSpecificParameters
public void loadSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from class:EntryLoad the specific parameters- Specified by:
loadSpecificParametersin interfaceIEntry- Overrides:
loadSpecificParametersin classEntry- Parameters:
plugin- ThePlugin
-
removeSpecificParameters
public void removeSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from class:EntryRemove the specific parameters- Specified by:
removeSpecificParametersin interfaceIEntry- Overrides:
removeSpecificParametersin classEntry- Parameters:
plugin- ThePlugin
-
updateSpecificParameters
public void updateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from class:EntryUpdate the specific parameters- Specified by:
updateSpecificParametersin interfaceIEntry- Overrides:
updateSpecificParametersin classEntry- Parameters:
plugin- ThePlugin
-
-