blob: 0d5ebd997670e6ec50b7df7704dea530c70ed4a0 [file] [log] [blame]
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
#import <Foundation/Foundation.h>
#import "CMISEnums.h"
#import "CMISExtensionData.h"
@protocol CMISBinding;
/**
* Class to hold the result of executing a query
*/
@interface CMISObjectList : CMISExtensionData
/**
* Array of CMISObjectData, representing a result of some query
*/
@property (nonatomic, strong) NSArray *objects;
/**
* TRUE if the Repository contains additional items after those contained in the response.
* FALSE otherwise. If TRUE, a request with a larger skipCount or larger maxItems is expected
* to return additional results (unless the contents of the repository has changed).
*/
@property BOOL hasMoreItems;
/**
* If the repository knows the total number of items in a result set, the repository SHOULD include the number here.
* If the repository does not know the number of items in a result set, this parameter SHOULD not be set.
* The value in the parameter MAY NOT be accurate the next time the client retrieves the result set
* or the next page in the result set.
*/
@property int numItems;
@end