Class 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.Cloneable
    This class represents a Quicklinks object.
    • Constructor Detail

      • Quicklinks

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

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

        public java.lang.String getResourceTypeCode()
        Get the resource type code
        Specified by:
        getResourceTypeCode in interface fr.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 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,
                               java.lang.String strNewName)
        Copy a Quicklinks
        Parameters:
        plugin - the Plugin
        strNewName - The new name
        Returns:
        The Quicklinks copy