@@ -1608,18 +1608,6 @@ public <T> DocumentEntity<T> updateDocument(
16081608 keepNull );
16091609 }
16101610
1611- /**
1612- * This method returns all document handles from a collection.
1613- *
1614- * @param collectionId
1615- * The collection id.
1616- * @return List<String> - The list of document handles
1617- * @throws ArangoException
1618- */
1619- public List <String > getDocuments (long collectionId ) throws ArangoException {
1620- return getDocuments (String .valueOf (collectionId ), false );
1621- }
1622-
16231611 /**
16241612 * This method returns all document handles from a collection.
16251613 *
@@ -1629,35 +1617,7 @@ public List<String> getDocuments(long collectionId) throws ArangoException {
16291617 * @throws ArangoException
16301618 */
16311619 public List <String > getDocuments (String collectionName ) throws ArangoException {
1632- return documentDriver .getDocuments (getDefaultDatabase (), collectionName , false );
1633- }
1634-
1635- /**
1636- * This method returns all document handles from a collection.
1637- *
1638- * @param collectionId
1639- * The collection id.
1640- * @param handleConvert
1641- * if set to true only the document identifiers are returned
1642- * @return List<String> - The list of document handles
1643- * @throws ArangoException
1644- */
1645- public List <String > getDocuments (long collectionId , boolean handleConvert ) throws ArangoException {
1646- return getDocuments (String .valueOf (collectionId ), handleConvert );
1647- }
1648-
1649- /**
1650- * This method returns all document handles from a collection.
1651- *
1652- * @param collectionName
1653- * The collection name.
1654- * @param handleConvert
1655- * if set to true only the document identifiers are returned
1656- * @return List<String> - The list of document handles
1657- * @throws ArangoException
1658- */
1659- public List <String > getDocuments (String collectionName , boolean handleConvert ) throws ArangoException {
1660- return documentDriver .getDocuments (getDefaultDatabase (), collectionName , handleConvert );
1620+ return documentDriver .getDocuments (getDefaultDatabase (), collectionName );
16611621 }
16621622
16631623 /**
@@ -3713,36 +3673,29 @@ public List<UserEntity> getUsers() throws ArangoException {
37133673 *
37143674 * @param collection
37153675 * the collection as a string
3716- * @param createCollection
3717- * if set to true the collection is created if it does not exist
37183676 * @param values
37193677 * a list of Objects that will be stored as documents
37203678 * @return ImportResultEntity
37213679 * @throws ArangoException
37223680 */
3723- public ImportResultEntity importDocuments (String collection , Boolean createCollection , Collection <?> values )
3724- throws ArangoException {
3725- return importDriver .importDocuments (getDefaultDatabase (), collection , createCollection , values );
3681+ public ImportResultEntity importDocuments (String collection , Collection <?> values ) throws ArangoException {
3682+ return importDriver .importDocuments (getDefaultDatabase (), collection , values );
37263683 }
37273684
37283685 /**
37293686 * Creates documents in the collection.
37303687 *
37313688 * @param collection
37323689 * the collection as a string
3733- * @param createCollection
3734- * if set to true the collection is created if it does not exist
37353690 * @param headerValues
37363691 * a list of lists that will be stored as documents
37373692 * @return ImportResultEntity
37383693 * @throws ArangoException
37393694 */
37403695 public ImportResultEntity importDocumentsByHeaderValues (
37413696 String collection ,
3742- Boolean createCollection ,
37433697 Collection <? extends Collection <?>> headerValues ) throws ArangoException {
3744- return importDriver .importDocumentsByHeaderValues (getDefaultDatabase (), collection , createCollection ,
3745- headerValues );
3698+ return importDriver .importDocumentsByHeaderValues (getDefaultDatabase (), collection , headerValues );
37463699 }
37473700
37483701 /**
0 commit comments