Class EntryUrl
java.lang.Object
fr.paris.lutece.plugins.quicklinks.business.Entry
fr.paris.lutece.plugins.quicklinks.business.EntryUrl
The class Entry Text
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone the entryvoidcreateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin) Create the specific parametersGet the HTML code of the entrybyte[]getImage()fr.paris.lutece.portal.service.image.ImageResourceGet the image resource for the entry urlGet the image UrlvoidgetSpecificParameters(jakarta.servlet.http.HttpServletRequest request, Map<String, Object> model, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get the specific parameters for the entryGet the targetgetTitle()getUrl()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) setSpecificParameters(jakarta.servlet.http.HttpServletRequest request) Set the specific parameters for the entryvoidSet the targetvoidvoidvoidupdateSpecificParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the specific parametersMethods inherited from class fr.paris.lutece.plugins.quicklinks.business.Entry
copy, copy, getChilds, getEntryType, getId, getIdOrder, getIdParent, getIdQuicklinks, getParent, setEntryType, setId, setIdOrder, setIdParent, setIdQuicklinks
-
Constructor Details
-
EntryUrl
public EntryUrl()
-
-
Method Details
-
setDescription
- Parameters:
strDescription- the _strDescription to set
-
getDescription
- Returns:
- the _strDescription
-
getUrl
- Returns:
- the url
-
setUrl
- 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
- Returns:
- the imageMimeType
-
setImageMimeType
- Parameters:
strImageMimeType- the imageMimeType to set
-
getEntryUrlDisplayProperties
- Returns:
- the entryUrlDisplayProperties
-
setEntryUrlDisplayProperties
- Parameters:
entryUrlDisplayProperties- the entryUrlDisplayProperties to set
-
getEntryUrlLinkProperties
- Returns:
- the entryUrlLinkProperties
-
setEntryUrlLinkProperties
- Parameters:
entryUrlLinkProperties- the entryUrlLinkProperties to set
-
clone
Description copied from class:EntryClone the entry- Specified by:
clonein interfaceIEntry- Overrides:
clonein classEntry- Returns:
- new entry
- Throws:
CloneNotSupportedException- exception
-
getHtml
Description copied from interface:IEntryGet the HTML code of the entry -
getTitle
-
setTitle
-
getTarget
Get the target- Returns:
- The target
-
setTarget
Set the target- Parameters:
strTarget- the target to set
-
setSpecificParameters
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(jakarta.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
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
-