Class QueryBatchEditProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.editproviders.AbstractQueryWizardEditProvider
-
- com._1c.g5.v8.dt.qw.ui.editproviders.QueryBatchEditProvider
-
public class QueryBatchEditProvider extends AbstractQueryWizardEditProvider
Query batch edit provider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.qw.ui.editproviders.AbstractQueryWizardEditProvider
AbstractQueryWizardEditProvider.MoveType
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOWEDstatic intAUTOORDERstatic intOVERALLstatic intTEMP_TABLE_DROP_QUERY_NAME-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.editproviders.AbstractQueryWizardEditProvider
source
-
-
Constructor Summary
Constructors Constructor Description QueryBatchEditProvider(QueryWizardSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractQuerySchemaQueryadd(Object value)Add new valueObjectcopy(int index)Copy value at indexintindexOf(Object value)Looking index of valuebooleanmove(Object value, Object targetValue)Move itembooleanmoveDown(Object value)Move item downbooleanmoveUp(Object value)Move item upbooleanremove(Object value)Remove itembooleansetItemData(int itemFuture, Object item, Object newValue)-
Methods inherited from class com._1c.g5.v8.dt.qw.ui.editproviders.AbstractQueryWizardEditProvider
addAll, clearRemoveNodesAdapter, copy, get, getSource, isIndexValid, move, remove, removeAll, replace, set
-
-
-
-
Field Detail
-
ALLOWED
public static final int ALLOWED
- See Also:
- Constant Field Values
-
TEMP_TABLE_DROP_QUERY_NAME
public static final int TEMP_TABLE_DROP_QUERY_NAME
- See Also:
- Constant Field Values
-
AUTOORDER
public static final int AUTOORDER
- See Also:
- Constant Field Values
-
OVERALL
public static final int OVERALL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QueryBatchEditProvider
public QueryBatchEditProvider(QueryWizardSource source)
- Parameters:
source- - query wizard source
-
-
Method Detail
-
add
public AbstractQuerySchemaQuery add(Object value)
Description copied from class:AbstractQueryWizardEditProviderAdd new value- Overrides:
addin classAbstractQueryWizardEditProvider- Parameters:
value- - new value- Returns:
- - new added value
-
copy
public Object copy(int index)
Description copied from class:AbstractQueryWizardEditProviderCopy value at index- Overrides:
copyin classAbstractQueryWizardEditProvider- Parameters:
index- - index of value- Returns:
- new copied value
-
remove
public boolean remove(Object value)
Description copied from class:AbstractQueryWizardEditProviderRemove item- Overrides:
removein classAbstractQueryWizardEditProvider- Parameters:
value- - value which need to be removed- Returns:
- true if successfully else false
-
indexOf
public int indexOf(Object value)
Description copied from class:AbstractQueryWizardEditProviderLooking index of value- Overrides:
indexOfin classAbstractQueryWizardEditProvider- Parameters:
value- - value- Returns:
- index of value. Return -1 if value not found
-
move
public boolean move(Object value, Object targetValue)
Description copied from class:AbstractQueryWizardEditProviderMove item- Overrides:
movein classAbstractQueryWizardEditProvider- Parameters:
value- - value need to be movedtargetValue- - target value- Returns:
- true if successfully else false
-
moveUp
public boolean moveUp(Object value)
Description copied from class:AbstractQueryWizardEditProviderMove item up- Overrides:
moveUpin classAbstractQueryWizardEditProvider- Parameters:
value- - value need to be moved- Returns:
- true if successfully else false
-
moveDown
public boolean moveDown(Object value)
Description copied from class:AbstractQueryWizardEditProviderMove item down- Overrides:
moveDownin classAbstractQueryWizardEditProvider- Parameters:
value- - value need to be moved- Returns:
- true if successfully else false
-
setItemData
public boolean setItemData(int itemFuture, Object item, Object newValue)- Overrides:
setItemDatain classAbstractQueryWizardEditProvider- Parameters:
itemFuture- which item future changeitem- item at which data need to changednewValue- new future value- Returns:
- true if future was changed
-
-