@@ -52,15 +52,11 @@ public interface Neo4JDatabaseManager extends DatabaseManager {
5252
5353 /**
5454 * A specialized {@link DatabaseManager
55- * <p>
56- * /**
5755 * Executes a custom Cypher query with parameters and returns a stream of {@link CommunicationEntity}.
58- *
5956 * @param cypher the Cypher query to execute.
6057 * @param parameters the parameters to bind to the query.
6158 * @return a stream of {@link CommunicationEntity} matching the query result.
62- * @throws NullPointerException if any of the arguments are {@code null}.
63- * @throws CypherException if there is an issue with the Cypher syntax.
59+ * @throws NullPointerException if any of the arguments are null
6460 */
6561 Stream <CommunicationEntity > executeQuery (String cypher , Map <String , Object > parameters );
6662
@@ -71,7 +67,7 @@ public interface Neo4JDatabaseManager extends DatabaseManager {
7167 * @param relationship the type of relationship to traverse.
7268 * @param depth the traversal depth limit.
7369 * @return a stream of {@link CommunicationEntity} representing related nodes.
74- * @throws NullPointerException if any of the arguments are {@code null} .
70+ * @throws NullPointerException if any of the arguments are null.
7571 */
7672 Stream <CommunicationEntity > traverse (String startNodeId , String relationship , int depth );
7773
@@ -82,7 +78,7 @@ public interface Neo4JDatabaseManager extends DatabaseManager {
8278 * @param target the target entity.
8379 * @param relationshipType the type of relationship to create.
8480 * @throws EdgeCommunicationException if either the source or target entity does not exist in the database.
85- * @throws NullPointerException if any of the arguments are {@code null} .
81+ * @throws NullPointerException if any of the arguments are null.
8682 */
8783 void edge (CommunicationEntity source , String relationshipType , CommunicationEntity target );
8884
@@ -93,7 +89,7 @@ public interface Neo4JDatabaseManager extends DatabaseManager {
9389 * @param target the target entity, which must already exist in the database.
9490 * @param relationshipType the type of relationship to remove.
9591 * @throws EdgeCommunicationException if either the source or target entity does not exist in the database.
96- * @throws NullPointerException if any of the arguments are {@code null} .
92+ * @throws NullPointerException if any of the arguments are null.
9793 */
9894 void remove (CommunicationEntity source , String relationshipType , CommunicationEntity target );
9995}
0 commit comments