Package org.adempiere.model
Class ZoomInfoFactory
java.lang.Object
org.adempiere.model.ZoomInfoFactory
Static factory methods for zoom info
- Author:
- Tobias Schoeneberg, www.metas.de - FR [ 2897194 ] Advanced Zoom and RelationTypes
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Simple class that contains zoom information. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ZoomInfoFactory.ZoomInfo>
retrieveZoomInfos
(PO po, int windowID)
-
Constructor Details
-
ZoomInfoFactory
public ZoomInfoFactory()
-
-
Method Details
-
retrieveZoomInfos
AddsZoomInfoFactory.ZoomInfo
instances fromMRelationType
s andGenericZoomProvider
.First it looks for matching
MRelationType
instances and adds theirMRelationType.retrieveZoomInfos(PO)
results. Then it adds theGenericZoomProvider
's results unless there is already one from a MRelationType that has an qualsZoomInfoFactory.ZoomInfo.destinationDisplay
value.- Parameters:
po
-windowID
-- Returns:
- matching zoom info records
-