|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.links.business.Link
public class Link
This class represents business object Link
| Field Summary |
|---|
| Fields inherited from interface fr.paris.lutece.portal.business.XmlContent |
|---|
TAG_CHILD_PAGES_LIST, TAG_CURRENT_PAGE_ID, TAG_DISPLAY_PORTLET_TITLE, TAG_MENU, TAG_MENU_INDEX, TAG_MENU_LIST, TAG_MODE, TAG_PAGE, TAG_PAGE_DESCRIPTION, TAG_PAGE_ID, TAG_PAGE_IMAGE, TAG_PAGE_LEVEL, TAG_PAGE_NAME, TAG_PARENT_PAGE_ID, TAG_PLUGIN_NAME, TAG_PORTLET, TAG_PORTLET_ID, TAG_PORTLET_NAME, TAG_SUBLEVEL_INDEX, TAG_SUBLEVEL_MENU, TAG_SUBLEVEL_MENU_LIST |
| Constructor Summary | |
|---|---|
Link()
Creates a new Link object. |
|
| Method Summary | |
|---|---|
java.sql.Date |
getDate()
Returns the date of this link |
java.lang.String |
getDescription()
Returns the description of this link |
int |
getId()
Returns the Id of this link |
byte[] |
getImageContent()
Returns the ImageContent |
java.lang.String |
getImagePath()
Get the path of the image |
java.lang.String |
getMimeType()
Returns the MimeType |
java.lang.String |
getName()
Returns the name of this link |
java.lang.String |
getOptionalUrl(java.lang.String strHostKey)
get optional url associated with strHostKey if any |
fr.paris.lutece.util.ReferenceList |
getOptionalUrls()
get ReferenceList of optional urls |
java.lang.String |
getUrl()
Returns the url of this link |
java.lang.String |
getUrl(java.lang.String strHostKey)
Returns the url of this link according to the virtual host key |
java.lang.String |
getWorkgroup()
for methods AdminWorkgroupService.getAuthorizedCollection(Collection |
java.lang.String |
getWorkgroupKey()
Returns the WorkgroupKey |
java.lang.String |
getXml(javax.servlet.http.HttpServletRequest request)
Returns the xml of this link |
java.lang.String |
getXmlDocument(javax.servlet.http.HttpServletRequest request)
Returns the xml document of this link |
static void |
init()
Initialize the link |
void |
setDate(java.sql.Date date)
Sets the date of this link |
void |
setDescription(java.lang.String strDescription)
Sets the description of this link |
void |
setId(int nId)
Sets the Id of this link |
void |
setImageContent(byte[] content)
Sets the ImageContent |
void |
setMimeType(java.lang.String mimeType)
Sets the MimeType |
void |
setName(java.lang.String strName)
Sets the name of this link |
void |
setOptionalUrls(fr.paris.lutece.util.ReferenceList listUrls)
set optional urls from a referenceList |
void |
setUrl(java.lang.String strUrl)
Sets the url of this link |
void |
setWorkgroupKey(java.lang.String strWorkgroupKey)
Sets the WorkgroupKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Link()
| Method Detail |
|---|
public static void init()
public void setId(int nId)
nId - the new Idpublic int getId()
public void setUrl(java.lang.String strUrl)
strUrl - the new urlpublic java.lang.String getUrl()
public void setName(java.lang.String strName)
strName - the new namepublic java.lang.String getName()
public void setDescription(java.lang.String strDescription)
strDescription - the new namepublic java.lang.String getDescription()
public void setDate(java.sql.Date date)
date - The new datepublic java.sql.Date getDate()
public java.lang.String getXml(javax.servlet.http.HttpServletRequest request)
getXml in interface fr.paris.lutece.portal.business.XmlContentrequest - The HTTP Servlet request
public java.lang.String getImagePath()
public java.lang.String getOptionalUrl(java.lang.String strHostKey)
strHostKey - the key of the url host
public java.lang.String getUrl(java.lang.String strHostKey)
strHostKey - virtual host key or null for the default url
public java.lang.String getXmlDocument(javax.servlet.http.HttpServletRequest request)
getXmlDocument in interface fr.paris.lutece.portal.business.XmlContentrequest - The HTTP servlet request
public void setOptionalUrls(fr.paris.lutece.util.ReferenceList listUrls)
listUrls - list of (hostKey, url)public fr.paris.lutece.util.ReferenceList getOptionalUrls()
public byte[] getImageContent()
public void setImageContent(byte[] content)
content - The ImageContentpublic java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
mimeType - The MimeTypepublic java.lang.String getWorkgroup()
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResourcepublic java.lang.String getWorkgroupKey()
public void setWorkgroupKey(java.lang.String strWorkgroupKey)
strWorkgroupKey - The WorkgroupKey
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||