@Component(value="cuba_RelatedEntitiesSecurity")
public final class RelatedEntitiesSecurity
extends java.lang.Object
RelatedEntities
component.Modifier and Type | Field and Description |
---|---|
protected MetadataTools |
metadataTools |
static java.lang.String |
NAME |
protected Security |
security |
Modifier and Type | Method and Description |
---|---|
boolean |
isSuitableProperty(MetaProperty metaProperty,
MetaClass effectiveMetaClass)
Checks suitable property for
RelatedEntities component. |
void |
setMetadataTools(MetadataTools metadataTools) |
void |
setSecurity(Security security) |
public static final java.lang.String NAME
protected MetadataTools metadataTools
protected Security security
@Inject public void setMetadataTools(MetadataTools metadataTools)
@Inject public void setSecurity(Security security)
public boolean isSuitableProperty(MetaProperty metaProperty, MetaClass effectiveMetaClass)
RelatedEntities
component.metaProperty
- added meta propertyeffectiveMetaClass
- meta class of entity from which we add property