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,java.lang.Cloneable
public class Quicklinks extends java.lang.Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.rbac.RBACResource, java.lang.CloneableThis class represents a Quicklinks object.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESOURCE_TYPEstatic java.lang.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, java.lang.String strNewName)Copy aQuicklinksjava.lang.StringgetCssStyle()intgetId()java.lang.StringgetResourceId()Get The resource Idjava.lang.StringgetResourceTypeCode()Get the resource type codejava.lang.StringgetRoleKey()java.lang.StringgetTitle()QuicklinksTypegetType()java.lang.StringgetWorkgroup()java.lang.StringBuffergetXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale)Get the XML code forQuicklinksstatic voidinit()Initialize theQuicklinksbooleanisEnabled()voidsetCssStyle(java.lang.String strCssStyle)voidsetEnabled(boolean bIsEnabled)voidsetId(int nId)voidsetRoleKey(java.lang.String strRoleKey)voidsetTitle(java.lang.String strTitle)voidsetType(QuicklinksType enumType)voidsetWorkgroup(java.lang.String strWorkgroupKey)
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
ROLE_NONE
public static final java.lang.String ROLE_NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCssStyle
public java.lang.String getCssStyle()
- Returns:
- the _strCssStyle
-
setCssStyle
public void setCssStyle(java.lang.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 java.lang.String getTitle()
- Returns:
- the _strTitle
-
setTitle
public void setTitle(java.lang.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 java.lang.String getRoleKey()
- Returns:
- the roleKey
-
setRoleKey
public void setRoleKey(java.lang.String strRoleKey)
- Parameters:
strRoleKey- the roleKey to set
-
setWorkgroup
public void setWorkgroup(java.lang.String strWorkgroupKey)
- Parameters:
strWorkgroupKey- the workgroupKey to set
-
getWorkgroup
public java.lang.String getWorkgroup()
- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- the workgroupKey
-
getResourceId
public java.lang.String getResourceId()
Get The resource Id- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceTypeCode
public java.lang.String getResourceTypeCode()
Get the resource type code- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getXml
public java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.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, java.lang.String strNewName)
Copy aQuicklinks- Parameters:
plugin- thePluginstrNewName- The new name- Returns:
- The
Quicklinkscopy
-
-