@Component(value="cuba_PersistentAttributesLoadChecker") public class GlobalPersistentAttributesLoadChecker extends java.lang.Object implements PersistentAttributesLoadChecker
Modifier and Type | Class and Description |
---|---|
protected static class |
GlobalPersistentAttributesLoadChecker.PropertyLoadedState |
Modifier and Type | Field and Description |
---|---|
protected DynamicAttributes |
dynamicAttributes |
protected Metadata |
metadata |
protected MetadataTools |
metadataTools |
NAME
Constructor and Description |
---|
GlobalPersistentAttributesLoadChecker() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkIsLoadedWithGetter(java.lang.Object entity,
java.lang.String property) |
boolean |
isLoaded(java.lang.Object entity,
java.lang.String property) |
protected GlobalPersistentAttributesLoadChecker.PropertyLoadedState |
isLoadedByFetchGroup(java.lang.Object entity,
java.lang.String property) |
protected GlobalPersistentAttributesLoadChecker.PropertyLoadedState |
isLoadedCommonCheck(java.lang.Object entity,
java.lang.String property) |
protected boolean |
isLoadedSpecificCheck(java.lang.Object entity,
java.lang.String property,
MetaClass metaClass,
MetaProperty metaProperty) |
@Inject protected MetadataTools metadataTools
@Inject protected Metadata metadata
@Inject protected DynamicAttributes dynamicAttributes
public GlobalPersistentAttributesLoadChecker()
public boolean isLoaded(java.lang.Object entity, java.lang.String property)
isLoaded
in interface PersistentAttributesLoadChecker
protected GlobalPersistentAttributesLoadChecker.PropertyLoadedState isLoadedCommonCheck(java.lang.Object entity, java.lang.String property)
protected GlobalPersistentAttributesLoadChecker.PropertyLoadedState isLoadedByFetchGroup(java.lang.Object entity, java.lang.String property)
protected boolean isLoadedSpecificCheck(java.lang.Object entity, java.lang.String property, MetaClass metaClass, MetaProperty metaProperty)
protected boolean checkIsLoadedWithGetter(java.lang.Object entity, java.lang.String property)