Class Quicklinks
- java.lang.Object
-
- fr.paris.lutece.plugins.quicklinks.business.Quicklinks
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource,fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource,Cloneable
public class Quicklinks extends Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.rbac.RBACResource, Cloneable
This class represents a Quicklinks object.
-
-
Field Summary
Fields Modifier and Type Field Description static StringRESOURCE_TYPEstatic StringROLE_NONE
-
Constructor Summary
Constructors Constructor Description Quicklinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Quicklinkscopy(fr.paris.lutece.portal.service.plugin.Plugin plugin)Copy aQuicklinksQuicklinkscopy(fr.paris.lutece.portal.service.plugin.Plugin plugin, String strNewName)Copy aQuicklinksStringgetCssStyle()intgetId()StringgetResourceId()Get The resource IdStringgetResourceTypeCode()Get the resource type codeStringgetRoleKey()StringgetTitle()QuicklinksTypegetType()StringgetWorkgroup()StringBuffergetXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)Get the XML code forQuicklinksstatic voidinit()Initialize theQuicklinksbooleanisEnabled()voidsetCssStyle(String strCssStyle)voidsetEnabled(boolean bIsEnabled)voidsetId(int nId)voidsetRoleKey(String strRoleKey)voidsetTitle(String strTitle)voidsetType(QuicklinksType enumType)voidsetWorkgroup(String strWorkgroupKey)
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
ROLE_NONE
public static final String ROLE_NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCssStyle
public String getCssStyle()
- Returns:
- the _strCssStyle
-
setCssStyle
public void setCssStyle(String strCssStyle)
- Parameters:
strCssStyle- the _strCssStyle to set
-
init
public static void init()
Initialize theQuicklinks
-
getId
public int getId()
- Returns:
- the idQuicklinks
-
setId
public void setId(int nId)
- Parameters:
nId- the idQuicklinks to set
-
getTitle
public String getTitle()
- Returns:
- the _strTitle
-
setTitle
public void setTitle(String strTitle)
- Parameters:
strTitle- the _strTitle to set
-
getType
public QuicklinksType getType()
- Returns:
- the type
-
setType
public void setType(QuicklinksType enumType)
- Parameters:
enumType- the type to set
-
isEnabled
public boolean isEnabled()
- Returns:
- the isEnabled
-
setEnabled
public void setEnabled(boolean bIsEnabled)
- Parameters:
bIsEnabled- the isEnabled to set
-
getRoleKey
public String getRoleKey()
- Returns:
- the roleKey
-
setRoleKey
public void setRoleKey(String strRoleKey)
- Parameters:
strRoleKey- the roleKey to set
-
setWorkgroup
public void setWorkgroup(String strWorkgroupKey)
- Parameters:
strWorkgroupKey- the workgroupKey to set
-
getWorkgroup
public String getWorkgroup()
- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- the workgroupKey
-
getResourceId
public String getResourceId()
Get The resource Id- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceTypeCode
public String getResourceTypeCode()
Get the resource type code- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getXml
public StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)
Get the XML code forQuicklinks- Parameters:
plugin- ThePluginlocale- TheLocale- Returns:
- The HTML code
-
copy
public Quicklinks copy(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy aQuicklinks- Parameters:
plugin- thePlugin- Returns:
- The
Quicklinkscopy
-
copy
public Quicklinks copy(fr.paris.lutece.portal.service.plugin.Plugin plugin, String strNewName)
Copy aQuicklinks- Parameters:
plugin- thePluginstrNewName- The new name- Returns:
- The
Quicklinkscopy
-
-