Package de.xima.fc.gui.common.utils.msg
Class AJSFContext
java.lang.Object
de.xima.fc.gui.common.utils.msg.I18nUtils
de.xima.fc.gui.common.utils.msg.MessageUtils
de.xima.fc.gui.common.utils.msg.AMessaging
de.xima.fc.gui.common.utils.msg.AJSFContext
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ABackendJSFContext,AContextBean,AppointmentFilterBean,AppointmentScheduleBean,CurrentViewBean,FeedbackBean,InboxFilterBean,InboxProfileBean,LoginBean,MenuTemplateBean,MetaFilterBean,NotificationBean,ProcessAttachmentBean,ProcessExportBean,ProcessHistoryBean,ProcessMoveBean,ProcessStateChangeBean,ProcessViewBean,ResourceContentBean,SearchFilterBean,SessionBean,SupportBean,ViewBean,ViewFilterBean
Deprecated.
Stellt globale Funktionalität zur Verfügung
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.Additional options forredirect(String, RedirectOptions).static classDeprecated. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroySessionBean(String name) Deprecated.Deprecated.static <T> Tstatic <T> Tstatic <T> TDeprecated.Finds the given bean in the current scope, creating a new bean instance if it does not exist yet.static <T> Tstatic <T> Tstatic <T> Tstatic <T> TfindBean(String beanName, Class<T> beanClass, javax.faces.context.FacesContext facesContext, boolean create) Deprecated.static UserContextDeprecated.protected StringgetBeanName(Class<?> beanClass) Deprecated.UseFacesHelper.getBeanName(Class, Annotation...)if required.protected StringgetBeanName(Object bean) Deprecated.protected StringDeprecated.Deprecated.Deprecated.protected javax.servlet.http.HttpServletRequestDeprecated.protected javax.servlet.http.HttpServletResponseDeprecated.javax.servlet.http.HttpSessionDeprecated.Methode zum Auslesen derHttpSessionjavax.servlet.http.HttpSessiongetSession(boolean create) Deprecated.protected ObjectgetSessionAttribute(String attribute) Deprecated.Methode zum Ermitteln eines Session-Attributsstatic booleanDeprecated.protected voidDeprecated.voidredirect(IViewModel view) Deprecated.voidredirect(IViewModel view, AJSFContext.RedirectOptions options) Deprecated.Redirects to the given view.voidDeprecated.voidredirect(String location, AJSFContext.RedirectOptions options) Deprecated.Performs a redirect to the given location.voidredirectToDashboard(Benutzer user) Deprecated.useredirectToDashboard(Mandant, RedirectOptions)instead.voidredirectToDashboard(Benutzer user, AJSFContext.RedirectOptions options) Deprecated.useredirectToDashboard(Mandant, RedirectOptions)instead.voidredirectToDashboard(Mandant client, AJSFContext.RedirectOptions options) Deprecated.voidsetLocaleBean(LocaleBean localeBean) Deprecated.protected voidsetSessionAttribute(String attribute, Object o) Deprecated.Methode zum Setzen eines Session-Attributsuc()Deprecated.Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msgMethods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Field Details
-
localeBean
Deprecated.
-
-
Constructor Details
-
AJSFContext
public AJSFContext()Deprecated.
-
-
Method Details
-
getLocaleBean
Deprecated. -
setLocaleBean
Deprecated. -
uc
Deprecated. -
destroySessionBean
Deprecated. -
loadLazy
Deprecated. -
getContext
Deprecated. -
getRequest
protected javax.servlet.http.HttpServletRequest getRequest()Deprecated. -
getResponse
protected javax.servlet.http.HttpServletResponse getResponse()Deprecated. -
getSession
public javax.servlet.http.HttpSession getSession()Deprecated.Methode zum Auslesen derHttpSession- Returns:
HttpSession
-
getSession
public javax.servlet.http.HttpSession getSession(boolean create) Deprecated. -
getSessionAttribute
Deprecated.Methode zum Ermitteln eines Session-Attributs -
setSessionAttribute
Deprecated.Methode zum Setzen eines Session-Attributs -
getBeanName
Deprecated. -
findUserContext
Deprecated. -
findBean
Deprecated.Finds the given bean in the current scope, creating a new bean instance if it does not exist yet.- Type Parameters:
T- Type of the bean- Parameters:
beanClass- Class of the beancontext- The current faces context.- Returns:
- The current instance of the bean, or
nullif the bean does not exist or could not be created..
-
isMasterServerContext
public static boolean isMasterServerContext()Deprecated. -
redirect
Deprecated. -
redirect
Deprecated.Performs a redirect to the given location. Optional settings may be given to add URL parameters etc.- Parameters:
location- Location to which to redirect. Must be a relative URL without the context path.options- Optional settings for modifying how the redirect is performed.
-
encodeURL
Deprecated. -
getCurrentViewBean
Deprecated. -
findCurrentView
Deprecated.- Returns:
- The current
EViews; ornullif it could not be determined.
-
findBean
@Deprecated public static <T> T findBean(Class<T> beanClass, javax.faces.context.FacesContext context, boolean create) Deprecated.Finds the given bean in the current scope.- Type Parameters:
T- Type of the bean- Parameters:
beanClass- Class of the beancontext- The current faces context.create-trueto create the bean if it does not exists yet,falseotherwise.- Returns:
- The current instance of the bean, or
nullif the bean does not exist or could not be created..
-
findBean
Deprecated.Finds the given bean in the current scope, creating a new bean instance if it does not exist yet.- Type Parameters:
T- Type of the bean- Parameters:
beanClass- Class of the bean- Returns:
- The current instance of the bean, or
nullif the bean does not exist or could not be created.
-
findBean
Deprecated.Finds the given bean in the current scope.- Type Parameters:
T- Type of the bean- Parameters:
beanClass- Class of the beancreate-trueto create the bean if it does not exists yet,falseotherwise.- Returns:
- The current instance of the bean, or
nullif the bean does not exist or could not be created..
-
findBean
Deprecated.Finds the given bean in the current scope, creating a new bean instance if it does not exist yet.- Type Parameters:
T- Type of the bean- Parameters:
beanName- Name of the beanbeanClass- Class of the bean- Returns:
- The current instance of the bean, or
nullif the bean does not exist or could not be created..
-
findBean
@Deprecated public static <T> T findBean(String beanName, Class<T> beanClass, javax.faces.context.FacesContext facesContext) Deprecated.Finds the given bean in the current scope.- Type Parameters:
T- Type of the bean- Parameters:
beanName- Name of the beanbeanClass- Class of the beanfacesContext- Current faces context- Returns:
- The current instance of the bean, or
nullif the bean does not exist or could not be created..
-
findBean
@Deprecated public static <T> T findBean(String beanName, Class<T> beanClass, javax.faces.context.FacesContext facesContext, boolean create) Deprecated.Finds the given bean in the current scope, creating a new bean instance if it does not exist yet.- Type Parameters:
T- Type of the bean- Parameters:
beanName- Name of the beanbeanClass- Class of the beanfacesContext- Current faces contextcreate-trueto create the bean if it does not exists yet,falseotherwise.- Returns:
- The current instance of the bean, or
nullif the bean does not exist or could not be created..
-
redirectToDashboard
Deprecated. -
redirect
Deprecated. -
redirect
Deprecated.Redirects to the given view. Optional settings may be given to add URL parameters etc.- Parameters:
view- View to which to redirect the user.options- Optional settings for modifying how the redirect is performed.
-
redirectToDashboard
Deprecated.useredirectToDashboard(Mandant, RedirectOptions)instead. -
redirectToDashboard
Deprecated.useredirectToDashboard(Mandant, RedirectOptions)instead.Redirects to the appropriate dashboard for the given user, ie. eitherEViews.DASHBOARDorEViews.ADMIN_DASHBOARD.- Parameters:
user- User that is to be redirected to their dashboard.options- Additional settings for modifying how the redirect is performed.
-
getBeanName
Deprecated.UseFacesHelper.getBeanName(Class, Annotation...)if required.- Parameters:
beanClass- Class of the bean to lookup.- Returns:
- The name of the bean.
-
@Inject, use helper classes and static methods directly.