Class CompositeClassParticipant<PD extends D,PM extends M,D,DA,DR extends D,DP extends D,DC extends D,M,MA,MR extends M,MP extends M,MC extends M,C extends IProjectionContext<D,DA,DR,DP,DC,M,MA,MR,MP,MC>>
- java.lang.Object
-
- com._1c.g5.v8.dt.form.presentation.core.projection.extensible.CompositeClassParticipant<PD,PM,D,DA,DR,DP,DC,M,MA,MR,MP,MC,C>
-
- All Implemented Interfaces:
IClassParticipant<PD,PM,D,DA,DR,DP,DC,M,MA,MR,MP,MC,C>
,IObjectParticipant<PD,PM,D,DA,DR,DP,DC,M,MA,MR,MP,MC,C>
,IProjectionParticipant<PD,PM,D,DA,DR,DP,DC,M,MA,MR,MP,MC,C>
public class CompositeClassParticipant<PD extends D,PM extends M,D,DA,DR extends D,DP extends D,DC extends D,M,MA,MR extends M,MP extends M,MC extends M,C extends IProjectionContext<D,DA,DR,DP,DC,M,MA,MR,MP,MC>> extends Object implements IClassParticipant<PD,PM,D,DA,DR,DP,DC,M,MA,MR,MP,MC,C>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
attributeChanged(PD domain, PM model, AttributePath<DA> path, Object oldValue, Object newValue, C context)
PM
createModel(PD domain)
void
customMessageSent(IObjectTreeCustomMessage message, C context)
void
dispose()
void
disposeModel(PM model, C context)
Class<PD>
getDomainClass()
boolean
isProjectionSupported(PD domain)
Determines whether the domain model is supported by the participant or not.boolean
isProjectionValid(PD domain, PM model, C context)
boolean
listItemAdded(PD domain, PM model, AttributePath<DA> path, int index, Object item, C context)
boolean
listItemMoved(PD domain, PM model, AttributePath<DA> path, int oldIndex, int newIndex, Object item, C context)
boolean
listItemRemoved(PD domain, PM model, AttributePath<DA> path, int index, Object item, C context)
boolean
listItemReplaced(PD domain, PM model, AttributePath<DA> path, int index, Object oldItem, Object newItem, C context)
boolean
mapItemAdded(PD domain, PM model, AttributePath<DA> path, Object key, Object value, C context)
boolean
mapItemRemoved(PD domain, PM model, AttributePath<DA> path, Object key, Object value, C context)
void
prepareModel(PD domain, PM model, C context)
void
projectModel(PD domain, PM model, C context)
boolean
treeItemAdded(PD domain, PM model, int index, DC item, C context)
boolean
treeItemMoved(PD domain, PM model, int oldIndex, int newIndex, DC item, C context)
boolean
treeItemRemoved(PD parent, PM model, int index, DC item, C context)
boolean
treeItemReplaced(PD domain, PM model, int index, DC oldItem, DC newItem, C context)
-
-
-
Method Detail
-
isProjectionSupported
public boolean isProjectionSupported(PD domain)
Description copied from interface:IObjectParticipant
Determines whether the domain model is supported by the participant or not.- Specified by:
isProjectionSupported
in interfaceIObjectParticipant<PD extends D,PM extends M,D,DA,DR extends D,DP extends D,DC extends D,M,MA,MR extends M,MP extends M,MC extends M,C extends IProjectionContext<D,DA,DR,DP,DC,M,MA,MR,MP,MC>>
- Parameters:
domain
- the domain model, cannot benull
- Returns:
true
if it is supported by the participant.
-
customMessageSent
public void customMessageSent(IObjectTreeCustomMessage message, C context)
-
attributeChanged
public boolean attributeChanged(PD domain, PM model, AttributePath<DA> path, Object oldValue, Object newValue, C context)
-
listItemAdded
public boolean listItemAdded(PD domain, PM model, AttributePath<DA> path, int index, Object item, C context)
-
listItemMoved
public boolean listItemMoved(PD domain, PM model, AttributePath<DA> path, int oldIndex, int newIndex, Object item, C context)
-
listItemReplaced
public boolean listItemReplaced(PD domain, PM model, AttributePath<DA> path, int index, Object oldItem, Object newItem, C context)
-
listItemRemoved
public boolean listItemRemoved(PD domain, PM model, AttributePath<DA> path, int index, Object item, C context)
-
mapItemAdded
public boolean mapItemAdded(PD domain, PM model, AttributePath<DA> path, Object key, Object value, C context)
-
mapItemRemoved
public boolean mapItemRemoved(PD domain, PM model, AttributePath<DA> path, Object key, Object value, C context)
-
treeItemMoved
public boolean treeItemMoved(PD domain, PM model, int oldIndex, int newIndex, DC item, C context)
-
treeItemReplaced
public boolean treeItemReplaced(PD domain, PM model, int index, DC oldItem, DC newItem, C context)
-
dispose
public void dispose()
-
-