Class PageIncludeEntry
- java.lang.Object
-
- fr.paris.lutece.portal.service.includes.PageIncludeEntry
-
public class PageIncludeEntry extends java.lang.ObjectPageInclude Entry used by XML plugin file
-
-
Constructor Summary
Constructors Constructor Description PageIncludeEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Returns the ClassNamejava.lang.StringgetId()Returns the IdPageIncludegetPageInclude()Gets the PageInclude objectPlugingetPlugin()Gets the plugin instance associated to the applicationjava.lang.StringgetPluginName()Return the name of the pluginbooleanisEnable()Tells if the PageInclude is enabled (plugin enabled and this particular PageInclude is enabled)booleanisEnabled()Tells if the PageInclude is enabled, independently of the plugin's statusvoidsetClassName(java.lang.String strClassName)Sets the ClassNamevoidsetEnabled(boolean enabled)Sets the enabled state of this PageIncludevoidsetId(java.lang.String strId)Sets the IdvoidsetPageInclude(PageInclude pageInclude)Sets the PageInclude objectvoidsetPluginName(java.lang.String strPluginName)Set the plugin name
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(java.lang.String strId)
Sets the Id- Parameters:
strId- The Id
-
getClassName
public java.lang.String getClassName()
Returns the ClassName- Returns:
- The ClassName
-
setClassName
public void setClassName(java.lang.String strClassName)
Sets the ClassName- Parameters:
strClassName- The ClassName
-
getPluginName
public java.lang.String getPluginName()
Return the name of the plugin- Returns:
- The name of the plugin
-
setPluginName
public void setPluginName(java.lang.String strPluginName)
Set the plugin name- Parameters:
strPluginName- the plugin name
-
setEnabled
public void setEnabled(boolean enabled)
Sets the enabled state of this PageInclude- Parameters:
enabled-trueif this PageInclude is enabled,falseotherwise- Since:
- 5.1
-
isEnabled
public boolean isEnabled()
Tells if the PageInclude is enabled, independently of the plugin's status- Returns:
trueif this PageInclude is enabled,falseotherwise- Since:
- 5.1
-
isEnable
public boolean isEnable()
Tells if the PageInclude is enabled (plugin enabled and this particular PageInclude is enabled)- Returns:
- True if the PageInclude is enabled, otherwise false
-
getPlugin
public Plugin getPlugin()
Gets the plugin instance associated to the application- Returns:
- the plugin
-
setPageInclude
public void setPageInclude(PageInclude pageInclude)
Sets the PageInclude object- Parameters:
pageInclude- the PageInclude object
-
getPageInclude
public PageInclude getPageInclude()
Gets the PageInclude object- Returns:
- The PageInclude object
-
-