Class XPageApplicationEntry
java.lang.Object
fr.paris.lutece.portal.web.xpages.XPageApplicationEntry
XPageApplication Entry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ClassNamegetId()Returns the IdGets the plugin instance associated to the applicationReturn the name of the plugingetRoles()Returns the RolesbooleanisEnable()Tells if the application is enable (plugin enabled)booleanTells if the XPageApplication is enabled, independently of the plugin's statusvoidsetClassName(String strClassName) Sets the ClassNamevoidsetEnabled(boolean bEnabled) Sets the enabled state of this XPageApplicationvoidSets the IdvoidsetPluginName(String strPluginName) Set the plugin name of the insert servicevoidSets the Roles
-
Constructor Details
-
XPageApplicationEntry
public XPageApplicationEntry()
-
-
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
-
getRoles
Returns the Roles- Returns:
- The Roles
-
setRoles
Sets the Roles- Parameters:
strRoles- The Roles
-
getPluginName
Return the name of the plugin- Returns:
- The name of the plugin
-
setPluginName
Set the plugin name of the insert service- Parameters:
strPluginName- the plugin name
-
isEnable
public boolean isEnable()Tells if the application is enable (plugin enabled)- Returns:
- True if the application is enable, otherwise false
-
isEnabled
public boolean isEnabled()Tells if the XPageApplication is enabled, independently of the plugin's status- Returns:
trueif this XPageApplication is enabled,falseotherwise- Since:
- 5.1
-
setEnabled
public void setEnabled(boolean bEnabled) Sets the enabled state of this XPageApplication- Parameters:
bEnabled-trueif this XPageApplication is enabled,falseotherwise- Since:
- 5.1
-
getPlugin
Gets the plugin instance associated to the application- Returns:
- the plugin
-