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 int
ALLOWED
static int
AUTOORDER
static int
OVERALL
static int
TEMP_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 AbstractQuerySchemaQuery
add(Object value)
Add new valueObject
copy(int index)
Copy value at indexint
indexOf(Object value)
Looking index of valueboolean
move(Object value, Object targetValue)
Move itemboolean
moveDown(Object value)
Move item downboolean
moveUp(Object value)
Move item upboolean
remove(Object value)
Remove itemboolean
setItemData(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:AbstractQueryWizardEditProvider
Add new value- Overrides:
add
in classAbstractQueryWizardEditProvider
- Parameters:
value
- - new value- Returns:
- - new added value
-
copy
public Object copy(int index)
Description copied from class:AbstractQueryWizardEditProvider
Copy value at index- Overrides:
copy
in classAbstractQueryWizardEditProvider
- Parameters:
index
- - index of value- Returns:
- new copied value
-
remove
public boolean remove(Object value)
Description copied from class:AbstractQueryWizardEditProvider
Remove item- Overrides:
remove
in 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:AbstractQueryWizardEditProvider
Looking index of value- Overrides:
indexOf
in 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:AbstractQueryWizardEditProvider
Move item- Overrides:
move
in 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:AbstractQueryWizardEditProvider
Move item up- Overrides:
moveUp
in classAbstractQueryWizardEditProvider
- Parameters:
value
- - value need to be moved- Returns:
- true if successfully else false
-
moveDown
public boolean moveDown(Object value)
Description copied from class:AbstractQueryWizardEditProvider
Move item down- Overrides:
moveDown
in 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:
setItemData
in classAbstractQueryWizardEditProvider
- Parameters:
itemFuture
- which item future changeitem
- item at which data need to changednewValue
- new future value- Returns:
- true if future was changed
-
-