Class NewsletterTreeViewProvider
java.lang.Object
ch.tocco.nice2.dms.spi.tree.ui.AbstractContentTreeViewProvider
ch.tocco.nice2.optional.newsletter.impl.tree.NewsletterTreeViewProvider
- All Implemented Interfaces:
EntityTreeViewProvider
@Component
@Deprecated
public class NewsletterTreeViewProvider
extends AbstractContentTreeViewProvider
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.netui.api.tree.entity.EntityTreeViewProvider
EntityTreeViewProvider.EntityTreeViewProviderDescriptor, EntityTreeViewProvider.Icon, EntityTreeViewProvider.NotInTreeException -
Field Summary
Fields inherited from class ch.tocco.nice2.dms.spi.tree.ui.AbstractContentTreeViewProvider
contentTreeContext, contentTreeService, context, entityTreeNodeFactory, permissionEvaluatorService, queryBuilderFactory -
Constructor Summary
ConstructorsConstructorDescriptionNewsletterTreeViewProvider(ContentTreeService contentTreeService, Context context, EntityTreeNodeFactory entityTreeNodeFactory, QueryBuilderFactory queryBuilderFactory, ContentTreeNodePermissionEvaluatorService permissionEvaluatorService) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns a table containing relations linking entities represented in the tree when creating new entities.Deprecated.Deprecated.protected QueryBuildergetRootChildrenQuery(TreeContext treeContext) Deprecated.Deprecated.Allowed config properties are those ofExt.TreePaneland additionally the following:openAsRoot:[ true | false ]set opened entity as root of the treedataRegistry: Map with dataregistry settings (optional):enabled: true / falseentityModels: Array of Strings containing names of entity models to be tracked by dataregistrysearchByRelation: the methodEntityTreeViewProvider.getSearchResult(ch.tocco.nice2.persist.core.api.entity.Entity)is never used, it is rather searched by using related-by queries according to the relations between the involved entities as specified inEntityTreeViewProvider.getCreateRelationMap().Methods inherited from class ch.tocco.nice2.dms.spi.tree.ui.AbstractContentTreeViewProvider
getChildren, getPath, getRoot, getRootChildren, getSearchResult, getTreeNode, moveAbove, moveBelow, moveInto
-
Constructor Details
-
NewsletterTreeViewProvider
public NewsletterTreeViewProvider(ContentTreeService contentTreeService, Context context, EntityTreeNodeFactory entityTreeNodeFactory, QueryBuilderFactory queryBuilderFactory, ContentTreeNodePermissionEvaluatorService permissionEvaluatorService) Deprecated.
-
-
Method Details
-
getIconMap
Deprecated. -
getDescriptor
Deprecated. -
getTreeConfig
Deprecated.Description copied from interface:EntityTreeViewProviderAllowed config properties are those ofExt.TreePaneland additionally the following:openAsRoot:[ true | false ]set opened entity as root of the treedataRegistry: Map with dataregistry settings (optional):enabled: true / falseentityModels: Array of Strings containing names of entity models to be tracked by dataregistry
-
searchByRelation: the methodEntityTreeViewProvider.getSearchResult(ch.tocco.nice2.persist.core.api.entity.Entity)is never used, it is rather searched by using related-by queries according to the relations between the involved entities as specified inEntityTreeViewProvider.getCreateRelationMap().
- Specified by:
getTreeConfigin interfaceEntityTreeViewProvider- Overrides:
getTreeConfigin classAbstractContentTreeViewProvider- Returns:
- a map containing additional settings for the DwrTreePanel
-
getCreateRelationMap
Deprecated.Description copied from interface:EntityTreeViewProviderReturns a table containing relations linking entities represented in the tree when creating new entities.{entity_to_be_created: { entity_selected_in_tree: "relation from entity_selected_in_tree to entity_to_be_created" } }If there's no entry in the table for a specific combination, there is no relation filled in the create form.- Returns:
- create relation table
-
getRootChildrenQuery
Deprecated.- Overrides:
getRootChildrenQueryin classAbstractContentTreeViewProvider- Throws:
PersistException
-