@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)
DynamicAttributes
getCategoriesForMetaClass
in interface DynamicAttributes
public java.util.Collection<CategoryAttribute> getAttributesForMetaClass(MetaClass metaClass)
DynamicAttributes
getAttributesForMetaClass
in interface DynamicAttributes
@Nullable public CategoryAttribute getAttributeForMetaClass(MetaClass metaClass, java.lang.String code)
DynamicAttributes
getAttributeForMetaClass
in interface DynamicAttributes