Class CallContext
- java.lang.Object
-
- net.anotheria.anodoc.util.context.CallContext
-
- All Implemented Interfaces:
java.io.Serializable
public abstract class CallContext extends java.lang.Object implements java.io.SerializableAbstract class for CallContext which is assigned to each thread and allows multilinguality support and more.- Version:
- $Id: $Id
- Author:
- another
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CallContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BrandConfiggetBrandConfig()Getter for the fieldbrandConfig.java.lang.StringgetCurrentAuthor()Getter for the fieldcurrentAuthor.java.lang.StringgetCurrentLanguage()Getter for the fieldcurrentLanguage.DBContextgetDbContext()Getter for the fielddbContext.abstract java.lang.StringgetDefaultLanguage()getDefaultLanguage.abstract java.util.List<java.lang.String>getSupportedLanguages()getSupportedLanguages.voidreset()reset.voidsetBrandConfig(BrandConfig brandConfig)Setter for the fieldbrandConfig.voidsetCurrentAuthor(java.lang.String currentAuthor)Setter for the fieldcurrentAuthor.voidsetCurrentLanguage(java.lang.String currentLanguage)Setter for the fieldcurrentLanguage.voidsetDbContext(DBContext aDbContent)Setter for the fielddbContext.
-
-
-
Method Detail
-
reset
public void reset()
reset.
-
getCurrentLanguage
public java.lang.String getCurrentLanguage()
Getter for the field
currentLanguage.- Returns:
- a
Stringobject.
-
setCurrentLanguage
public void setCurrentLanguage(java.lang.String currentLanguage)
Setter for the field
currentLanguage.- Parameters:
currentLanguage- aStringobject.
-
getDefaultLanguage
public abstract java.lang.String getDefaultLanguage()
getDefaultLanguage.
- Returns:
- a
Stringobject.
-
getSupportedLanguages
public abstract java.util.List<java.lang.String> getSupportedLanguages()
getSupportedLanguages.
- Returns:
- a
Listobject.
-
setDbContext
public void setDbContext(DBContext aDbContent)
Setter for the field
dbContext.- Parameters:
aDbContent- aDBContextobject.
-
getDbContext
public DBContext getDbContext()
Getter for the field
dbContext.- Returns:
- a
DBContextobject.
-
getCurrentAuthor
public java.lang.String getCurrentAuthor()
Getter for the field
currentAuthor.- Returns:
- a
Stringobject.
-
setCurrentAuthor
public void setCurrentAuthor(java.lang.String currentAuthor)
Setter for the field
currentAuthor.- Parameters:
currentAuthor- aStringobject.
-
getBrandConfig
public BrandConfig getBrandConfig()
Getter for the field
brandConfig.- Returns:
- a
BrandConfigobject.
-
setBrandConfig
public void setBrandConfig(BrandConfig brandConfig)
Setter for the field
brandConfig.- Parameters:
brandConfig- aBrandConfigobject.
-
-