Class XPageApplicationEntry
- java.lang.Object
-
- fr.paris.lutece.portal.web.xpages.XPageApplicationEntry
-
public class XPageApplicationEntry extends java.lang.ObjectXPageApplication Entry
-
-
Constructor Summary
Constructors Constructor Description XPageApplicationEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Returns the ClassNamejava.lang.StringgetId()Returns the IdPlugingetPlugin()Gets the plugin instance associated to the applicationjava.lang.StringgetPluginName()Return the name of the pluginjava.util.List<java.lang.String>getRoles()Returns the RolesbooleanisEnable()Tells if the application is enable (plugin enabled)booleanisEnabled()Tells if the XPageApplication is enabled, independently of the plugin's statusvoidsetClassName(java.lang.String strClassName)Sets the ClassNamevoidsetEnabled(boolean bEnabled)Sets the enabled state of this XPageApplicationvoidsetId(java.lang.String strId)Sets the IdvoidsetPluginName(java.lang.String strPluginName)Set the plugin name of the insert servicevoidsetRoles(java.lang.String strRoles)Sets the Roles
-
-
-
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
-
getRoles
public java.util.List<java.lang.String> getRoles()
Returns the Roles- Returns:
- The Roles
-
setRoles
public void setRoles(java.lang.String strRoles)
Sets the Roles- Parameters:
strRoles- The Roles
-
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 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
public Plugin getPlugin()
Gets the plugin instance associated to the application- Returns:
- the plugin
-
-