Class ObjectParticipant.Participant
- java.lang.Object
-
- com._1c.g5.v8.dt.form.presentation.core.projection.extensible.ObjectParticipant.Participant
-
- All Implemented Interfaces:
IProjectionParticipant<PD,PM,D,DA,DR,DP,DC,M,MA,MR,MP,MC,C>
- Enclosing class:
- ObjectParticipant<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>>
protected abstract class ObjectParticipant.Participant extends Object implements IProjectionParticipant<PD,PM,D,DA,DR,DP,DC,M,MA,MR,MP,MC,C>
-
-
Constructor Summary
Constructors Constructor Description Participant(AttributePath<DA> domainPath, AttributePath<MA> modelPath)
-
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)
Object
convertValue(com._1c.g5.v8.dt.form.internal.presentation.PentaFunction convertor, PD domain, PM model, D holder, Object value, Object defaultValue, C context)
void
customMessageSent(IObjectTreeCustomMessage message, C context)
void
dispose()
void
disposeModel(PM model, C context)
AttributePath<DA>
getDomainPath()
D
getHolder(PD domain, C context)
DA
getHolderAttribute()
M
getModel(PM model, C context)
MA
getModelAttribute()
AttributePath<MA>
getModelPath()
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)
Object
readHolderAttribute(PD domain, PM model, Object defaultValue, com._1c.g5.v8.dt.form.internal.presentation.PentaFunction convertor, 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.form.presentation.core.projection.extensible.IProjectionParticipant
projectModel
-
-
-
-
Constructor Detail
-
Participant
public Participant(AttributePath<DA> domainPath, AttributePath<MA> modelPath)
-
-
Method Detail
-
getDomainPath
public AttributePath<DA> getDomainPath()
-
getModelPath
public AttributePath<MA> getModelPath()
-
getHolderAttribute
public DA getHolderAttribute()
-
getModelAttribute
public MA getModelAttribute()
-
readHolderAttribute
public Object readHolderAttribute(PD domain, PM model, Object defaultValue, com._1c.g5.v8.dt.form.internal.presentation.PentaFunction convertor, C context)
-
convertValue
public Object convertValue(com._1c.g5.v8.dt.form.internal.presentation.PentaFunction convertor, PD domain, PM model, D holder, Object value, Object defaultValue, C context)
-
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)
-
-