@Component(value="cuba_DynamicAttributesService") public class DynamicAttributesClientImpl extends java.lang.Object implements DynamicAttributes
NAME| Constructor and Description |
|---|
DynamicAttributesClientImpl() |
| Modifier and Type | Method and Description |
|---|---|
CategoryAttribute |
getAttributeForMetaClass(MetaClass metaClass,
java.lang.String code)
Get certain category attribute for metaClass by attribute's code
|
java.util.Collection<CategoryAttribute> |
getAttributesForMetaClass(MetaClass metaClass)
Get all categories attributes for metaClass from cache
|
java.util.Collection<Category> |
getCategoriesForMetaClass(MetaClass metaClass)
Get all categories linked with metaClass from cache
|
public java.util.Collection<Category> getCategoriesForMetaClass(MetaClass metaClass)
DynamicAttributesgetCategoriesForMetaClass in interface DynamicAttributespublic java.util.Collection<CategoryAttribute> getAttributesForMetaClass(MetaClass metaClass)
DynamicAttributesgetAttributesForMetaClass in interface DynamicAttributes@Nullable public CategoryAttribute getAttributeForMetaClass(MetaClass metaClass, java.lang.String code)
DynamicAttributesgetAttributeForMetaClass in interface DynamicAttributes