@Named @ApplicationScoped public class SetupController extends ConfigController
The item 'properties' managed by the 'BASIC' configuration entity is also used by the MartyConfigSource to provide optional config parameters.
Since version 4.5.1 the SetupController provides a list of fixed UserGroups.
AccessRoleController,
PropertiesConfigSource,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_NAME |
static int |
DEFAULT_PORTLET_SIZE |
protected org.imixs.workflow.engine.DocumentService |
documentService |
protected PropertiesLoader |
martyPropertyLoader |
protected ModelController |
modelController |
protected org.imixs.workflow.engine.ModelService |
modelService |
protected org.imixs.marty.profile.ProfileService |
profileService |
protected org.imixs.marty.team.TeamController |
teamController |
| Constructor and Description |
|---|
SetupController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName()
Returns the EAR application name.
|
String |
getModuleName()
Returns the Web module name.
|
int |
getPortletSize()
Returns the max count of entries for a front-end protlet
|
String |
getSortBy()
Returns the sortBy criteria form the config workitem or the default value
'$modified' if not yet defined.
|
boolean |
getSortReverse()
Returns the sortorder form the config workitem or the default value 'true' if
not yet defined.
|
void |
init()
This method loads the config entity.
|
void |
reset()
This method resets the propertyService and modelController
|
void |
save()
After save the application property cache is reset automatically.
|
getName, getSelectItems, getWorkitem, loadConfiguration, setNamepublic static final String CONFIGURATION_NAME
public static final int DEFAULT_PORTLET_SIZE
@Inject protected ModelController modelController
@Inject protected org.imixs.marty.team.TeamController teamController
protected org.imixs.workflow.engine.DocumentService documentService
protected org.imixs.workflow.engine.ModelService modelService
protected PropertiesLoader martyPropertyLoader
protected org.imixs.marty.profile.ProfileService profileService
@PostConstruct public void init()
init in class ConfigControllerpublic String getSortBy()
public int getPortletSize()
public boolean getSortReverse()
public String getAppName()
public String getModuleName()
public void reset()
event - Exceptionpublic void save()
throws org.imixs.workflow.exceptions.AccessDeniedException
save in class ConfigControllerorg.imixs.workflow.exceptions.AccessDeniedExceptionCopyright © 2016–2022 Imixs Software Solutions GmbH. All rights reserved.