@Component(value="cuba_DynamicAttributesService") public class DynamicAttributesImpl extends java.lang.Object implements DynamicAttributes
Modifier and Type | Field and Description |
---|---|
protected DynamicAttributesManagerAPI |
dynamicAttributesManagerAPI |
NAME
Constructor and Description |
---|
DynamicAttributesImpl() |
Modifier and Type | Method and Description |
---|---|
CategoryAttribute |
getAttributeForMetaClass(com.haulmont.chile.core.model.MetaClass metaClass,
java.lang.String code)
Get certain category attribute for metaClass by attribute's code
|
java.util.Collection<CategoryAttribute> |
getAttributesForMetaClass(com.haulmont.chile.core.model.MetaClass metaClass)
Get all categories attributes for metaClass from cache
|
java.util.Collection<Category> |
getCategoriesForMetaClass(com.haulmont.chile.core.model.MetaClass metaClass)
Get all categories linked with metaClass from cache
|
@Inject protected DynamicAttributesManagerAPI dynamicAttributesManagerAPI
public java.util.Collection<Category> getCategoriesForMetaClass(com.haulmont.chile.core.model.MetaClass metaClass)
DynamicAttributes
getCategoriesForMetaClass
in interface DynamicAttributes
public java.util.Collection<CategoryAttribute> getAttributesForMetaClass(com.haulmont.chile.core.model.MetaClass metaClass)
DynamicAttributes
getAttributesForMetaClass
in interface DynamicAttributes
@Nullable public CategoryAttribute getAttributeForMetaClass(com.haulmont.chile.core.model.MetaClass metaClass, java.lang.String code)
DynamicAttributes
getAttributeForMetaClass
in interface DynamicAttributes