mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-23 19:51:13 +00:00
o added -addQueryOperator:forKey:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19950 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9975463973
commit
ea7b7b8821
2 changed files with 14 additions and 2 deletions
|
@ -238,6 +238,8 @@
|
|||
- (void)setInQueryMode:(BOOL)flag;
|
||||
- (void)setInsertedObjectDefaultValues:(NSDictionary *)defaultValues;
|
||||
- (void)setQueryOperator:(NSDictionary*)qo;
|
||||
- (void)addQueryOperator:(NSString*)value
|
||||
forKey:(NSString*)operatorKey;
|
||||
- (void)setQueryKeyValueQualifierClassName:(NSDictionary*)qo;
|
||||
- (void)setLocalKeys:(NSArray *)keys;
|
||||
- (void)setMasterObject:(id)masterObject;
|
||||
|
|
|
@ -962,7 +962,7 @@ static BOOL globalDefaultForValidatesChangesImmediately = NO;
|
|||
-(id)displayBatchContainingSelectedObject
|
||||
{
|
||||
int newBatchIndex = 1;
|
||||
int selectionIndex;
|
||||
int selectionIndex = 0;
|
||||
|
||||
LOGObjectFnStart();
|
||||
|
||||
|
@ -2067,6 +2067,16 @@ of all Batches, not only the current one.
|
|||
[_queryOperator addEntriesFromDictionary:qo];
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
/** add a query operator **/
|
||||
- (void)addQueryOperator:(NSString*)value
|
||||
forKey:(NSString*)operatorKey
|
||||
{
|
||||
[_queryOperator setObject:value
|
||||
forKey:operatorKey];
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
-(void)setQueryKeyValueQualifierClassName:(NSDictionary*)qo
|
||||
{
|
||||
NSAssert1((!qo || [qo isKindOfClass:[NSDictionary class]]),
|
||||
|
@ -2467,7 +2477,7 @@ of all Batches, not only the current one.
|
|||
LOGObjectFnStart();
|
||||
if(_dataSource)
|
||||
{
|
||||
EOEditingContext* editingContext;
|
||||
EOEditingContext* editingContext = nil;
|
||||
// Set flags to detect customer dataSource
|
||||
_flags.isCustomDataSourceClass = [self _isCustomDataSourceClass:[_dataSource class]];
|
||||
|
||||
|
|
Loading…
Reference in a new issue