class DatabaseActions {

    public NodeRepresentation createNode( Map<String,Object> properties, Label... labels )
            throws PropertyValueException
    {
        Node node = graphDb.createNode();
        propertySetter.setProperties( node, properties );
        if ( labels != null )
        {
            for ( Label label : labels )
            {
                node.addLabel( label );
            }
        }
        return new NodeRepresentation( node );
    }

    public  DatabaseActions( GraphDatabaseAPI graphDatabaseAPI );

}