public class EditContext extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
ADMIN_USER_VIEW |
static int |
CONTENT_VIEW |
static int |
DATA_VIEW |
protected static Logger |
logger
create a static logger.
|
static int |
MAILING_VIEW |
static int |
STAT_VIEW |
static int |
STATIC_VIEW |
static String |
USER_ROLES_SEPARATOR |
static int |
USER_VIEW |
protected static Logger logger
public static final int CONTENT_VIEW
public static final int USER_VIEW
public static final int STAT_VIEW
public static final int STATIC_VIEW
public static final int MAILING_VIEW
public static final int ADMIN_USER_VIEW
public static final int DATA_VIEW
public static final String USER_ROLES_SEPARATOR
public static final EditContext getInstance(GlobalContext globalContext, javax.servlet.http.HttpSession session)
public String getActiveType()
public void setActiveType(String string)
string
- public String getTeasersDirectory()
public void setTeasersDirectory(String string)
string
- public String getFilter()
public void setFilter(String string)
string
- public ContentContext getContextForCopy(ContentContext ctx)
public void setPathForCopy(ContentContext ctx) throws Exception
string
- Exception
public int getCurrentAdminView()
public UserEditFilter getUserEditFilter()
public String[][] getViews()
public String[][] getAdminViews()
public String getDefaultViewLanguage()
public String[] getActions(GlobalContext globalContext)
public boolean haveLicence(String module)
public boolean hardLogin(String inUser, String inPassword)
inUser
- inPassword
- public boolean hardAutoLogin(String inUser)
inUser
- public void logout()
public Principal getUserPrincipal()
public String getEditTemplate()
public String getMessageTemplate()
public String getBoxTemplate()
public String getBreadcrumbsTemplate()
public void setMessageTemplate(String messageTemplate)
public String getLoginRenderer()
public void setLoginRenderer(String loginRenderer)
public String getAjaxRenderer()
public void setAjaxRenderer(String ajaxRenderer)
public UserEditFilter getAdminUserEditFilter()
public User getEditUser()
public void setEditUser(User editUser)
public boolean isMailing()
public void setMailing(boolean mailing)
public String getMainRenderer()
public void setMainRenderer(String mainRenderer)
public String getCommandRenderer()
public void setCommandRenderer(String commandRenderer)
public boolean isViewCommand()
public void setViewCommand(boolean viewCommand)
public boolean isViewComponent()
public void setViewComponent(boolean viewComponent)
public boolean isViewMode()
public void setViewMode(boolean viewMode)
public String getCurrentArea()
public void setCurrentArea(String currentArea)
public boolean isLightInterface()
public void setLightInterface(Boolean isLightInterface)
public boolean isPreviewEditionMode()
public void setPreviewEditionMode(boolean editPreview)
Copyright © 2012-2018. All Rights Reserved.