@Component(value="cuba_RelatedEntities") public class RelatedEntitiesBean extends java.lang.Object implements RelatedEntitiesAPI
RelatedEntitiesAPI.RelatedScreenDescriptorNAME| Constructor and Description |
|---|
RelatedEntitiesBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
openRelatedScreen(java.util.Collection<? extends Entity> selectedEntities,
MetaClass metaClass,
MetaProperty metaProperty)
Shows found related entities in default browse screen.
|
void |
openRelatedScreen(java.util.Collection<? extends Entity> selectedEntities,
MetaClass metaClass,
MetaProperty metaProperty,
RelatedEntitiesAPI.RelatedScreenDescriptor descriptor)
Shows found related entities in chosen screen.
|
<T extends Entity> |
openRelatedScreen(java.util.Collection<T> selectedEntities,
java.lang.Class<T> clazz,
java.lang.String property)
Shows found related entities in default browse screen.
|
<T extends Entity> |
openRelatedScreen(java.util.Collection<T> selectedEntities,
java.lang.Class<T> clazz,
java.lang.String property,
RelatedEntitiesAPI.RelatedScreenDescriptor descriptor)
Shows found related entities in chosen screen.
|
public void openRelatedScreen(java.util.Collection<? extends Entity> selectedEntities, MetaClass metaClass, MetaProperty metaProperty)
RelatedEntitiesAPIopenRelatedScreen in interface RelatedEntitiesAPIselectedEntities - set of entities which represents one side of relationmetaClass - metaClass of single entity from selectedEntitiesmetaProperty - chosen field to find related entities. Can be obtained from metaClasspublic void openRelatedScreen(java.util.Collection<? extends Entity> selectedEntities, MetaClass metaClass, MetaProperty metaProperty, RelatedEntitiesAPI.RelatedScreenDescriptor descriptor)
RelatedEntitiesAPIopenRelatedScreen in interface RelatedEntitiesAPIselectedEntities - set of entities which represents one side of relationmetaClass - metaClass of single entity from selectedEntitiesmetaProperty - chosen field to find related entities. Can be obtained from metaClassdescriptor - descriptor contains screen id, WindowManager.OpenType and
generated filter captionpublic <T extends Entity> void openRelatedScreen(java.util.Collection<T> selectedEntities, java.lang.Class<T> clazz, java.lang.String property)
RelatedEntitiesAPIopenRelatedScreen in interface RelatedEntitiesAPIselectedEntities - set of entities which represents one side of relationclazz - class of single entity from selectedEntitiesproperty - chosen field to find related entitiespublic <T extends Entity> void openRelatedScreen(java.util.Collection<T> selectedEntities, java.lang.Class<T> clazz, java.lang.String property, RelatedEntitiesAPI.RelatedScreenDescriptor descriptor)
RelatedEntitiesAPIopenRelatedScreen in interface RelatedEntitiesAPIselectedEntities - set of entities which represents one side of relationclazz - class of single entity from selectedEntitiesproperty - chosen field to find related entitiesdescriptor - descriptor contains screen id, WindowManager.OpenType and
generated filter caption