Package org.jeyzer.publish
Class JzrActionContext
- java.lang.Object
-
- org.jeyzer.publish.JzrActionContext
-
-
Constructor Summary
Constructors Constructor Description JzrActionContext()The Jeyzer action context constructorJzrActionContext(String id, String user, String functionPrincipal, Map<String,String> params)The Jeyzer action context constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Map<String,String>getContextParams()Get the context parameters.StringgetFunctionPrincipal()Get the action function principal.StringgetId()Get the applicative action id.StringgetUser()Get the applicative user.voidsetContextParam(String key, String value)Set a context parametervoidsetContextParams(Map<String,String> params)Set the context parametersvoidsetFunctionPrincipal(String functionPrincipal)Set the action function principalvoidsetId(String id)Set the applicative action idvoidsetUser(String user)Set the applicative user
-
-
-
Constructor Detail
-
JzrActionContext
public JzrActionContext()
The Jeyzer action context constructor
-
JzrActionContext
public JzrActionContext(String id, String user, String functionPrincipal, Map<String,String> params)
The Jeyzer action context constructor- Parameters:
id- the applicative action id. Can be nulluser- the applicative user. Can be nullfunctionPrincipal- the action function principal. Can be nullparams- the context parameters. Can be null
-
-
Method Detail
-
getId
public String getId()
Get the applicative action id. Can be null- Returns:
- the applicative action id
-
setId
public void setId(String id)
Set the applicative action id- Parameters:
id- the applicative action id
-
getUser
public String getUser()
Get the applicative user. Can be null- Returns:
- the applicative user
-
setUser
public void setUser(String user)
Set the applicative user- Parameters:
user- the applicative user
-
getFunctionPrincipal
public String getFunctionPrincipal()
Get the action function principal. Can be null- Returns:
- the action function principal
-
setFunctionPrincipal
public void setFunctionPrincipal(String functionPrincipal)
Set the action function principal- Parameters:
functionPrincipal- the action function principal
-
getContextParams
public Map<String,String> getContextParams()
Get the context parameters. Can be null- Returns:
- the context parameters
-
setContextParams
public void setContextParams(Map<String,String> params)
Set the context parameters- Parameters:
params- context parameters
-
setContextParam
public void setContextParam(String key, String value)
Set a context parameter- Parameters:
key- the context parameter keyvalue- the context parameter value. Can be null
-
-