Package de.xima.fc.prompt.mgmt.gui.model
Class PromptQueryBeanEnvironment
- java.lang.Object
-
- de.xima.fc.prompt.mgmt.gui.model.PromptQueryBeanEnvironment
-
- All Implemented Interfaces:
Serializable,AutoCloseable
public final class PromptQueryBeanEnvironment extends Object implements Serializable, AutoCloseable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPromptQueryBeanEnvironment.Builder
-
Constructor Summary
Constructors Constructor Description PromptQueryBeanEnvironment(PromptQueryBeanEnvironment.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PromptQueryBeanEnvironment.Builderbuilder()voidclose()PromptConnectionOptionsconnectionOptions()GuiBeanCache<String,IPromptQueryBean<?,?>,IPluginPromptService,IPluginPromptQueryBean>guiBeanCache()Localelocale()IPromptManagementServicemanagementService()ProjektprojectEntity()LongprojectId()PromptScopescope()Gets the entity of the tenant scope.PromptTempFolderManagertempFolderManager()MandanttenantEntity()LongtenantId()IPromptTypeServicetypeService()IUseruser()
-
-
-
Constructor Detail
-
PromptQueryBeanEnvironment
public PromptQueryBeanEnvironment(PromptQueryBeanEnvironment.Builder builder)
-
-
Method Detail
-
tenantEntity
public Mandant tenantEntity()
-
tenantId
public Long tenantId()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
connectionOptions
public PromptConnectionOptions connectionOptions()
-
guiBeanCache
public GuiBeanCache<String,IPromptQueryBean<?,?>,IPluginPromptService,IPluginPromptQueryBean> guiBeanCache()
-
locale
public Locale locale()
-
managementService
public IPromptManagementService managementService()
-
projectEntity
public Projekt projectEntity()
-
projectId
public Long projectId()
-
scope
public PromptScope scope()
Gets the entity of the tenant scope. This will be removed in the future, as a different domain should not have access to the internal entity objects. But for now, this is needed, as e.g. the placeholder replacer needs the tenant entity.- Returns:
- The tenant entity.
-
tempFolderManager
public PromptTempFolderManager tempFolderManager()
-
typeService
public IPromptTypeService typeService()
-
user
public IUser user()
-
builder
public static PromptQueryBeanEnvironment.Builder builder()
-
-