fr.paris.lutece.plugins.quicklinks.business
Class Quicklinks

java.lang.Object
  extended by 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.Cloneable

This class represents a Quicklinks object.


Field Summary
static java.lang.String RESOURCE_TYPE
           
static java.lang.String ROLE_NONE
           
 
Constructor Summary
Quicklinks()
           
 
Method Summary
protected  Quicklinks clone()
           
 Quicklinks copy(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Copy a Quicklinks
 Quicklinks copy(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String strNewName)
          Copy a Quicklinks
 java.lang.String getCssStyle()
           
 int getId()
           
 java.lang.String getResourceId()
          Get The resource Id
 java.lang.String getResourceTypeCode()
          Get the resource type code
 java.lang.String getRoleKey()
           
 java.lang.String getTitle()
           
 QuicklinksType getType()
           
 java.lang.String getWorkgroup()
           
 java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale)
          Get the XML code for Quicklinks
static void init()
          Initialize the Quicklinks
 boolean isEnabled()
           
 void setCssStyle(java.lang.String strCssStyle)
           
 void setEnabled(boolean bIsEnabled)
           
 void setId(int nId)
           
 void setRoleKey(java.lang.String strRoleKey)
           
 void setTitle(java.lang.String strTitle)
           
 void setType(QuicklinksType enumType)
           
 void setWorkgroup(java.lang.String strWorkgroupKey)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
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

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:
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

clone

protected Quicklinks clone()
                    throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.