Package io.jmix.dynattrflowui.impl
Class DynAttrFacetInfo
java.lang.Object
io.jmix.dynattrflowui.impl.DynAttrFacetInfo
@UIScope
@Order(1000)
@Component("dynattr_DynAttrFacetInfo")
public class DynAttrFacetInfo
extends Object
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Dom4jTools
protected final Metadata
protected final MetadataTools
protected final Resources
protected final ViewRegistry
-
Constructor Summary
ConstructorDescriptionDynAttrFacetInfo
(ViewRegistry viewRegistry, Resources resources, Dom4jTools dom4jTools, Metadata metadata, MetadataTools metadataTools) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.dom4j.Element
elementById
(org.dom4j.Element root, String elementId) getDynAttrViewIds
(MetaClass metaClass) getDynAttrViewTargetComponentIds
(MetaClass metaClass, String viewId) protected org.dom4j.Element
getWindowElement
(String src) protected boolean
isEntityAvailable
(org.dom4j.Element window, Class<?> entityClass) protected boolean
isEntityAvailableForClass
(Class<?> entityClass, String className) protected boolean
isEntityAvailableInDataElement
(Class<?> entityClass, org.dom4j.Element dataContainer) protected boolean
isEntityAvailableInDataElement
(Class<?> entityClass, org.dom4j.Element dataElement, String datasourceId) protected boolean
isFacetAvailable
(org.dom4j.Element window, List<String> facetNames)
-
Field Details
-
viewRegistry
-
resources
-
dom4jTools
-
metadata
-
metadataTools
-
-
Constructor Details
-
DynAttrFacetInfo
public DynAttrFacetInfo(ViewRegistry viewRegistry, Resources resources, Dom4jTools dom4jTools, Metadata metadata, MetadataTools metadataTools)
-
-
Method Details
-
isFacetAvailable
-
isEntityAvailable
-
isEntityAvailableForClass
-
isEntityAvailableInDataElement
protected boolean isEntityAvailableInDataElement(Class<?> entityClass, @Nullable org.dom4j.Element dataContainer) -
isEntityAvailableInDataElement
-
elementById
-
getDynAttrViewIds
-
getDynAttrViewTargetComponentIds
-
getWindowElement
- Throws:
FileNotFoundException
-