public class DocumentModelDeployer extends AbstractUserDashboardModelDeployer
Modifier and Type | Field and Description |
---|---|
protected com.edorasware.commons.core.any.AnyWorkObjectDefinitionService |
anyWorkObjectDefinitionService |
protected ContentService |
contentService |
protected com.edorasware.commons.core.identity.CurrentTenantService |
currentTenantService |
protected static org.slf4j.Logger |
LOG |
protected com.edorasware.gear.core.maintenance.MaintenanceService |
maintenanceService |
protected CloudWorkObjectDefinitionService |
workObjectDefinitionService |
Constructor and Description |
---|
DocumentModelDeployer() |
Modifier and Type | Method and Description |
---|---|
static ContentReference |
getContentReference(com.edorasware.commons.core.entity.WorkObjectDefinition<?,?> definition) |
protected com.edorasware.commons.core.any.AnyWorkObjectDefinition.Builder |
getDefinitionBuilder() |
protected com.google.common.collect.ImmutableSet<com.edorasware.commons.core.entity.Property> |
getDefinitionProperties(com.edorasware.commons.core.any.AnyWorkObject model,
boolean isSystemApp,
com.edorasware.commons.core.any.AnyWorkObjectDefinitionId appWorkItemDefinitionId) |
protected Collection<? extends com.edorasware.commons.core.entity.Property> |
getI18NProperties(com.edorasware.commons.core.any.AnyWorkObject workObject) |
protected String |
getMappedResourceString(com.edorasware.commons.core.any.AnyWorkObject workObject,
List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers,
List<StringReplacementTask> replacementTasks) |
protected static String |
getMappedResourceString(String resourceString,
com.edorasware.commons.core.any.AnyWorkObject workObject,
List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers,
List<StringReplacementTask> replacementTasks) |
protected com.edorasware.commons.core.entity.Property |
getModelIdProperty(com.edorasware.commons.core.any.AnyWorkObject modelWorkObject,
boolean isSystemApp) |
com.edorasware.commons.core.entity.Type |
getSupportedModelType()
Defines the model type that are supported by this instance.
|
protected boolean |
modelNeedsToBeDeployed(com.edorasware.commons.core.any.AnyWorkObject modelWorkObject) |
protected void |
removeOldSystemDefinition(com.edorasware.commons.core.any.AnyWorkObject modelWorkObject,
boolean isSystemApp) |
protected Collection<? extends com.edorasware.commons.core.entity.Property> |
toPropertyList(com.google.common.collect.ImmutableMap<String,String> flattenedI18nMap) |
deployDefinition, deployModel, getMappedProperties, setupDefinition
@Autowired protected ContentService contentService
protected static final org.slf4j.Logger LOG
@Autowired protected CloudWorkObjectDefinitionService workObjectDefinitionService
@Autowired protected com.edorasware.commons.core.any.AnyWorkObjectDefinitionService anyWorkObjectDefinitionService
@Autowired protected com.edorasware.commons.core.identity.CurrentTenantService currentTenantService
@Autowired protected com.edorasware.gear.core.maintenance.MaintenanceService maintenanceService
protected com.edorasware.commons.core.any.AnyWorkObjectDefinition.Builder getDefinitionBuilder()
getDefinitionBuilder
in class AbstractUserDashboardModelDeployer
protected com.google.common.collect.ImmutableSet<com.edorasware.commons.core.entity.Property> getDefinitionProperties(com.edorasware.commons.core.any.AnyWorkObject model, boolean isSystemApp, com.edorasware.commons.core.any.AnyWorkObjectDefinitionId appWorkItemDefinitionId)
getDefinitionProperties
in class AbstractUserDashboardModelDeployer
public static ContentReference getContentReference(com.edorasware.commons.core.entity.WorkObjectDefinition<?,?> definition)
public final com.edorasware.commons.core.entity.Type getSupportedModelType()
ModelDeployer
getSupportedModelType
in interface ModelDeployer
protected boolean modelNeedsToBeDeployed(com.edorasware.commons.core.any.AnyWorkObject modelWorkObject)
protected void removeOldSystemDefinition(com.edorasware.commons.core.any.AnyWorkObject modelWorkObject, boolean isSystemApp)
protected final String getMappedResourceString(com.edorasware.commons.core.any.AnyWorkObject workObject, List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers, List<StringReplacementTask> replacementTasks)
protected static String getMappedResourceString(String resourceString, com.edorasware.commons.core.any.AnyWorkObject workObject, List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers, List<StringReplacementTask> replacementTasks)
protected Collection<? extends com.edorasware.commons.core.entity.Property> getI18NProperties(com.edorasware.commons.core.any.AnyWorkObject workObject)
protected com.edorasware.commons.core.entity.Property getModelIdProperty(com.edorasware.commons.core.any.AnyWorkObject modelWorkObject, boolean isSystemApp)
protected Collection<? extends com.edorasware.commons.core.entity.Property> toPropertyList(com.google.common.collect.ImmutableMap<String,String> flattenedI18nMap)
Copyright © 2010 - 2015 edorasware ag. All Rights Reserved.