Class PubChooserContext
- java.lang.Object
-
- com.jalios.jcms.handler.pubchooser.provider.PubChooserContext
-
public class PubChooserContext extends java.lang.Object
Represent the context provided toPubChooserProvider
- Since:
- jcms-10.0.8
-
-
Constructor Summary
Constructors Constructor Description PubChooserContext(PubChooserDisplayMode displayMode, PubChooserMode mode, Member member, Workspace workspace, JcmsJspContext jcmsContext, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getAttribute(java.lang.String key)
PubChooserDisplayMode
getDisplayMode()
JcmsJspContext
getJcmsContext()
java.lang.String
getKey()
Member
getMember()
PubChooserMode
getMode()
java.lang.String
getUserLang()
java.util.Locale
getUserLocale()
Workspace
getWorkspace()
void
setAttribute(java.lang.String key, java.lang.Object value)
void
setDisplayMode(PubChooserDisplayMode displayMode)
void
setKey(java.lang.String key)
void
setMode(PubChooserMode mode)
void
setWorkspace(Workspace workspace)
-
-
-
Constructor Detail
-
PubChooserContext
public PubChooserContext(PubChooserDisplayMode displayMode, PubChooserMode mode, Member member, Workspace workspace, JcmsJspContext jcmsContext, java.lang.String key)
- Parameters:
displayMode
- thePubChooserDisplayMode
mode
- thePubChooserMode
member
- the loggedMember
jcmsContext
- theJcmsJspContext
key
- the suffix key
-
-
Method Detail
-
getMember
public Member getMember()
-
getJcmsContext
public JcmsJspContext getJcmsContext()
-
setAttribute
public void setAttribute(java.lang.String key, java.lang.Object value)
-
getAttribute
public java.lang.Object getAttribute(java.lang.String key)
-
getKey
public java.lang.String getKey()
-
setKey
public void setKey(java.lang.String key)
-
getUserLang
public java.lang.String getUserLang()
-
getUserLocale
public java.util.Locale getUserLocale()
-
getDisplayMode
public PubChooserDisplayMode getDisplayMode()
-
setDisplayMode
public void setDisplayMode(PubChooserDisplayMode displayMode)
-
getMode
public PubChooserMode getMode()
-
setMode
public void setMode(PubChooserMode mode)
-
getWorkspace
public Workspace getWorkspace()
-
setWorkspace
public void setWorkspace(Workspace workspace)
-
-