Class PageIncludeEntry
java.lang.Object
fr.paris.lutece.portal.service.includes.PageIncludeEntry
PageInclude Entry used by XML plugin file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ClassNamegetId()Returns the IdGets the PageInclude objectGets the plugin instance associated to the applicationReturn the name of the pluginbooleanisEnable()Tells if the PageInclude is enabled (plugin enabled and this particular PageInclude is enabled)booleanTells if the PageInclude is enabled, independently of the plugin's statusvoidsetClassName(String strClassName) Sets the ClassNamevoidsetEnabled(boolean enabled) Sets the enabled state of this PageIncludevoidSets the IdvoidsetPageInclude(PageInclude pageInclude) Sets the PageInclude objectvoidsetPluginName(String strPluginName) Set the plugin name
-
Constructor Details
-
PageIncludeEntry
public PageIncludeEntry()
-
-
Method Details
-
getId
Returns the Id- Returns:
- The Id
-
setId
Sets the Id- Parameters:
strId- The Id
-
getClassName
Returns the ClassName- Returns:
- The ClassName
-
setClassName
Sets the ClassName- Parameters:
strClassName- The ClassName
-
getPluginName
Return the name of the plugin- Returns:
- The name of the plugin
-
setPluginName
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
Gets the plugin instance associated to the application- Returns:
- the plugin
-
setPageInclude
Sets the PageInclude object- Parameters:
pageInclude- the PageInclude object
-
getPageInclude
Gets the PageInclude object- Returns:
- The PageInclude object
-