Class 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.
    • Constructor Detail

      • Quicklinks

        public Quicklinks()
    • 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 the Quicklinks
      • 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
      • 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:
        getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
        Returns:
        the workgroupKey
      • getResourceId

        public String getResourceId()
        Get The resource Id
        Specified by:
        getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
      • getResourceTypeCode

        public String getResourceTypeCode()
        Get the resource type code
        Specified by:
        getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
      • getXml

        public StringBuffer getXml​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                   Locale locale)
        Get the XML code for Quicklinks
        Parameters:
        plugin - The Plugin
        locale - The Locale
        Returns:
        The HTML code
      • copy

        public Quicklinks copy​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Copy a Quicklinks
        Parameters:
        plugin - the Plugin
        Returns:
        The Quicklinks copy
      • copy

        public Quicklinks copy​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                               String strNewName)
        Copy a Quicklinks
        Parameters:
        plugin - the Plugin
        strNewName - The new name
        Returns:
        The Quicklinks copy