Package org.javlo.context
Class UserInterfaceContext
- java.lang.Object
-
- org.javlo.context.UserInterfaceContext
-
public class UserInterfaceContext extends Object
-
-
Constructor Summary
Constructors Constructor Description UserInterfaceContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fromString(String content)
String
getCurrentModule()
static UserInterfaceContext
getInstance(javax.servlet.http.HttpSession session, GlobalContext globalContext)
static UserInterfaceContext
getInstance(ContentContext ctx)
boolean
isAdmin()
boolean
isComponentsList()
boolean
isContributor()
boolean
isIM()
boolean
isLight()
boolean
isMailing()
boolean
isMinimalInterface()
boolean
isMobilePreview()
boolean
isModel()
boolean
isNavigation()
boolean
isPreviewResourcesTab()
boolean
isSearch()
boolean
isSendMailing()
boolean
isTicket()
void
setAdmin(boolean admin)
void
setComponentsList(boolean componentList)
void
setCurrentModule(String context)
void
setMailing(boolean mailing)
void
setMinimalInterface(boolean minimalInterface)
void
setMobilePreview(boolean mobilePreview)
void
setModel(boolean model)
void
setNavigation(boolean navigation)
void
setSearch(boolean search)
void
setSendMailing(boolean sendMailing)
void
setTicket(boolean ticket)
String
toString()
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static final UserInterfaceContext getInstance(ContentContext ctx)
-
getInstance
public static final UserInterfaceContext getInstance(javax.servlet.http.HttpSession session, GlobalContext globalContext)
-
fromString
public void fromString(String content)
-
isComponentsList
public boolean isComponentsList()
-
setComponentsList
public void setComponentsList(boolean componentList) throws ContextException
- Throws:
ContextException
-
getCurrentModule
public String getCurrentModule()
-
setCurrentModule
public void setCurrentModule(String context) throws IOException
- Throws:
IOException
-
isLight
public boolean isLight()
-
isContributor
public boolean isContributor()
-
isMailing
public boolean isMailing()
-
setMailing
public void setMailing(boolean mailing)
-
isTicket
public boolean isTicket()
-
setTicket
public void setTicket(boolean ticket)
-
isPreviewResourcesTab
public boolean isPreviewResourcesTab()
-
isSendMailing
public boolean isSendMailing()
-
setSendMailing
public void setSendMailing(boolean sendMailing)
-
isSearch
public boolean isSearch()
-
setSearch
public void setSearch(boolean search)
-
isNavigation
public boolean isNavigation()
-
setNavigation
public void setNavigation(boolean navigation)
-
isModel
public boolean isModel()
-
setModel
public void setModel(boolean model)
-
isIM
public boolean isIM()
-
isMobilePreview
public boolean isMobilePreview()
-
setMobilePreview
public void setMobilePreview(boolean mobilePreview)
-
isMinimalInterface
public boolean isMinimalInterface()
-
setMinimalInterface
public void setMinimalInterface(boolean minimalInterface)
-
isAdmin
public boolean isAdmin()
-
setAdmin
public void setAdmin(boolean admin)
-
-