fr.paris.lutece.plugins.contextinclude.business
Class Context

java.lang.Object
  extended by fr.paris.lutece.plugins.contextinclude.business.Context

public class Context
extends java.lang.Object

Context


Constructor Summary
Context()
           
 
Method Summary
 java.lang.String getHtml()
          Gets the html.
 int getIdContext()
          Gets the id context.
 java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMapParameters()
          Gets the map parameters.
 int getNbParams()
          Gets the nb params.
 int getPriority()
          Gets the priority.
 boolean isActive()
          Checks if is active.
 boolean isInvoked(javax.servlet.http.HttpServletRequest request)
          Check if this context is invoked.
 boolean isStrict()
          Checks if is strict.
 void setActive(boolean bActive)
          Sets the active.
 void setHtml(java.lang.String strHtml)
          Sets the html.
 void setIdContext(int nIdContext)
          Sets the id context.
 void setMapParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> mapParameters)
          Sets the map parameters.
 void setNbParams(int nNbParams)
          Sets the nb params.
 void setPriority(int nPriority)
          Sets the priority.
 void setStrict(boolean bStrict)
          Sets the strict.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context()
Method Detail

setIdContext

public void setIdContext(int nIdContext)
Sets the id context.

Parameters:
nIdContext - the _nIdContext to set

getIdContext

public int getIdContext()
Gets the id context.

Returns:
the _nIdContext

setHtml

public void setHtml(java.lang.String strHtml)
Sets the html.

Parameters:
strHtml - the _strHtml to set

getHtml

public java.lang.String getHtml()
Gets the html.

Returns:
the _strHtml

setNbParams

public void setNbParams(int nNbParams)
Sets the nb params.

Parameters:
nNbParams - the _nNbParams to set

getNbParams

public int getNbParams()
Gets the nb params.

Returns:
the _nNbParams

setPriority

public void setPriority(int nPriority)
Sets the priority.

Parameters:
nPriority - the _nPriority to set

getPriority

public int getPriority()
Gets the priority.

Returns:
the _nPriority

setStrict

public void setStrict(boolean bStrict)
Sets the strict.

Parameters:
bStrict - the _bStrict to set

isStrict

public boolean isStrict()
Checks if is strict.

Returns:
the _bStrict

setActive

public void setActive(boolean bActive)
Sets the active.

Parameters:
bActive - the _bActive to set

isActive

public boolean isActive()
Checks if is active.

Returns:
the _bActive

setMapParameters

public void setMapParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> mapParameters)
Sets the map parameters.

Parameters:
mapParameters - the mapParameters to set

getMapParameters

public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMapParameters()
Gets the map parameters.

Returns:
the mapParameters

isInvoked

public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
Check if this context is invoked.

Parameters:
request - the HTTP request
Returns:
true if it context, false otherwise


Copyright © 2012 Mairie de Paris. All Rights Reserved.