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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy(fr.paris.lutece.portal.service.plugin.Plugin plugin) Copy aQuicklinksCopy aQuicklinksintgetId()Get The resource IdGet the resource type codegetTitle()getType()Get the XML code forQuicklinksbooleanvoidsetCssStyle(String strCssStyle) voidsetEnabled(boolean bIsEnabled) voidsetId(int nId) voidsetRoleKey(String strRoleKey) voidvoidsetType(QuicklinksType enumType) voidsetWorkgroup(String strWorkgroupKey)
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
ROLE_NONE
- See Also:
-
-
Constructor Details
-
Quicklinks
public Quicklinks()
-
-
Method Details
-
getCssStyle
- Returns:
- the _strCssStyle
-
setCssStyle
- Parameters:
strCssStyle- the _strCssStyle to set
-
getId
public int getId()- Returns:
- the idQuicklinks
-
setId
public void setId(int nId) - Parameters:
nId- the idQuicklinks to set
-
getTitle
- Returns:
- the _strTitle
-
setTitle
- Parameters:
strTitle- the _strTitle to set
-
getType
- Returns:
- the type
-
setType
- 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
- Returns:
- the roleKey
-
setRoleKey
- Parameters:
strRoleKey- the roleKey to set
-
setWorkgroup
- Parameters:
strWorkgroupKey- the workgroupKey to set
-
getWorkgroup
- Specified by:
getWorkgroupin interfacefr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource- Returns:
- the workgroupKey
-
getResourceId
Get The resource Id- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceTypeCode
Get the resource type code- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getXml
Get the XML code forQuicklinks- Parameters:
plugin- ThePluginlocale- TheLocale- Returns:
- The HTML code
-
copy
Copy aQuicklinks- Parameters:
plugin- thePlugin- Returns:
- The
Quicklinkscopy
-
copy
Copy aQuicklinks- Parameters:
plugin- thePluginstrNewName- The new name- Returns:
- The
Quicklinkscopy
-